[BUG] Interdependent local dependencies broken between 8.19.3 and 9.1.1 #5868
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When referencing a dependency via a local path, which itself references another local path dependency,
npm install
fails. This was working correctly up to npm 8.19.3, and fails with npm 9.1.1 and npm 9.1.2.Expected Behavior
npm install
should work without error, as it does with npm 8.19.3.Steps To Reproduce
With the following setup:
/home/myuser/npm-bug/package.json
:/home/myuser/npm-bug/myorg/mylib/package.json
:/home/myuser/npm-bug/myorg/my-other-lib/package.json
npm install
in/home/myuser/npm-bug
fails when using npm 9.1.1 and 9.1.2 withEnvironment
The text was updated successfully, but these errors were encountered: