Description
Details
In another issue I've noted that nesting certain node.js projects can break them. This is because the parent folders are in the import path, and this can cause incompatible versions of packages to be loaded.
This is a problem in the case of Docusaurus. Docusaurus needs to be able to read the contents of your main project to generate documentation. It would mess up folder structures to require that submodule to be a sibling of the main package.
Using bind mounts is also not a good solution because I'm working inside a docker container.
Node.js version
Not applicable. (happens on both 16.x and 18.x)
Example code
No response
Operating system
Windows 11/ WSL2/Docker linux stack.
Linux 921bd0682d97 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux
Scope
Installation, importing.
Module and version
Not applicable. (the conflicting module happens to be @mdx-js/react
)