-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] npm install as root fails with lots of ENOENT, when node_modules is owned by different user on 6.11-6.13.0 #286
Comments
npm@6.12.1 fails |
Same behaviour seems to occur, if node_modules directory already exists, but is owned by different user. |
This seems to be combination of:
|
Having the same issue |
I have the same issue. My case:
npm < 6.11 works fine. This issue may be related to this commit 8b85eaa |
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
What / Why
npm 6.13.0 spews a lot of ENOENT when node_modules directory does not exist, it also fails to download private packages from git
When
Where
How
Current Behavior
Steps to Reproduce
rm -rf node_modules; npm install
Expected Behavior
npm install
runs the same no matter if there is no node_modules or empty node_modules directoryWho
References
The text was updated successfully, but these errors were encountered: