New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] local transitive dependencies cannot be installed with --install-links=true #5733
Comments
The default behavior in npm9 is to install linked deps instead of creating symlinks. If you want your |
can confirm, worked with |
now that
|
|
A possible fix for this is being tracked in #5820. |
as discussed with team , it seems this will require more effort on the fix and testing |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
cannot install my project which has local transitive dependencies.
npm install
crashes with an error messageExpected Behavior
i can install my project which has local transitive dependencies, all local packages are symlinked into the "node_modules" dir.
Steps To Reproduce
i am using this dummy project: https://github.com/CycloneDX/cyclonedx-node-npm/tree/main/demo/local-dependencies/project
demo/local-dependencies/project
npm i
Environment
additionally i had the reproducible steps running in a matrix:
see https://github.com/CycloneDX/cyclonedx-node-npm/actions/runs/3306123198
This setup worked as expected in a test matrix of npm{6,7,8} {windows,macos,ubuntu} node{14,16,18} (=27 passes)
This setup failed with a matrix of npm{9} {windows,macos,ubuntu} node{16,18} (=6 fails)
The text was updated successfully, but these errors were encountered: