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
Install a project with a clean slate (npm ci) fails with NPM 7 #15095
Comments
I assume this could be an npm issue. I don't observe anything suspicious in the package config there. @fluiddot Have you tried to report the issue to NPM itself? |
Thanks @mykola-mokhnach for checking it!
Yeah most likely. This issue is very similar to another one that was reported a couple months ago (#14901). Looks like NPM 7 has a bug regarding how the symlinks are created as explained in this comment.
Yeah, it's already reported in this issue in |
I assume the workaround would be to downgrade NPM to v6 Closed as third party issue |
Yes, downgrading to NPM v6 is for now the best option. |
The problem
I'm trying to run
npm ci
(Install a project with a clean slate) with NPM version7.5.3
and it's giving the following error:Project directory has been replaced in the logs with
<PROJECT_DIR>
.Environment
Details
It can be reproduced by running the following commands in a project folder:
npm install -g npm@7.5.3
npm install appium
npm ci
After this the following runs of
npm install
fail with the error described above.The text was updated successfully, but these errors were encountered: