-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 10.xinstall-linked-strategy
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
Get an error when try to install dependencies for specific workspace using "linked" strategy
mk bar \
&& pushd bar \
&& npm init -y \
&& npm init -y -w foo-1 \
&& npm install --install-strategy=linked -w foo-1Expected Behavior
Install dependencies only for passed workspace using "linked" strategy
Steps To Reproduce
Darwin 23.2.0
node v20.9.0
npm v10.1.0
- Run
mk /tmp/bar \
&& pushd /tmp/bar \
&& npm init -y \
&& npm init -y -w foo-1 \
&& npm install --install-strategy=linked -w foo-1- See error:
npm ERR! this.idealTree.children.get is not a function
Environment
- npm: v10.1.0
- Node.js: v20.9.0
- OS Name: Darwin 23.2.0
- System Model Name: MacBook Air
- npm config:
; node bin location = /Users/maksimrv/.nvm/versions/node/v20.9.0/bin/node
; node version = v20.9.0
; npm local prefix = /private/tmp/bar
; npm version = 10.1.0
; cwd = /private/tmp/bar
; HOME = /Users/maksimrv
; Run `npm config ls -l` to show all defaults.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 10.xinstall-linked-strategy