This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm install with local packages and symlinks - ENOENT ... #21197
Comments
Can you try downgrading to npm 5? |
|
Please try deleting the node_modules directory and try it again. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm opening this issue because:
What's going wrong?
A lot of ENOENTS for files not being found while doing npm install.
See full output and npm debug log:
https://gist.github.com/MrSpider/883b1ef97bd099e07ae5d48954ddb117
My current workaround is the following
Deleting the package-lock.json in the server directory allows npm install to finish without errors, but is obviously not practical for daily use.
How can the CLI team reproduce the problem?
https://github.com/MrSpider/npm-bugsample
Note: For reproducing this error on Windows you have to enable symlinks in git for windows or create the symlink manually after cloning with either
mklink
orln
in WSL.supporting information:
npm -v
prints: 6.1.0node -v
prints: 8.9.4npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: