-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Current Behavior:
When running npm install
to install dependencies in the root of a npm workspace dependencies that are specified in the bundledDependencies
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 understand bundledDependencies
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:
- Clone this sample repository
- Ensure you are running npm >= 7
- Run
npm install
in the root of the repository - Run
ls node_modules
-> import-from
is missing in the node_modules
folder, although packages/a
declares it as a dependency.
Environment:
OS: macOS 11.0.1
Node: 14.15.1
npm: 7.0.12
IanSun, t1m0thyj, bajtos and antoniosZ
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release