[BUG] Workspaces - bundledDependencies not installed #2207
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
When running
npm install
to install dependencies in the root of a npm workspace dependencies that are specified in thebundledDependencies
property of a child workspace are not installed on the disk.Expected Behavior:
The dependency should be installed in a local
node_modules
folder (be it in the root or at the child package level). As far as I understandbundledDependencies
should only affect npm when publishing modules so I'm not sure why this is changing npm's behavior when installing dependencies.Steps To Reproduce:
npm install
in the root of the repositoryls node_modules
->
import-from
is missing in thenode_modules
folder, althoughpackages/a
declares it as a dependency.Environment:
OS: macOS 11.0.1
Node: 14.15.1
npm: 7.0.12
The text was updated successfully, but these errors were encountered: