-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
npm install not working #5039
Comments
I have the same issue since yesterday evening. Environment
Other observationsThe first time I run Running |
I fixed it: When working around #4989 I somehow manage to write the following into
The
|
@pitAlex |
@fritzy I could swear it wasn't working before I went and edited the .npmrc and added those lines (package-lock=true, package-lock-only=true). Didn't even know it existed until I started having this problem and looked for answers and learned about it. Anyway, after removing them - npm ci worked, as in it created the node_modules, and that's good enough for me. Thanks. |
@pitAlex |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm install is not creating node_modules, not creating package-lock.json, not downloading anything it simply does some checks and then finishes as if everything is fine.
Expected Behavior
should install the project's dependencies.
Steps To Reproduce
After upgrading from node 12 and npm 6 to node 16 and npm 8, npm install stopped working. It just won't install anything and I am forced to use yarn for everything.
Environment
The text was updated successfully, but these errors were encountered: