-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] npm install -g npm
may break npm installation
#555
Comments
This is because you probably installed npm with |
I installed
❓ How can this be resolved? |
Once npm is broken, you have to reinstall node. |
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. |
I got this notification (on git commit, I'm not sure how exactly, maybe pre-commit hook in package.json or some shell integration)
So I tried to upgrade npm globally...
First run:
Partially failed, partially succeeded.
Let's test it:
Uh-oh, it's broken now :(
Surely it's an artefact of my installation being somehow half-assed in the first place, but this is a bummer...
The text was updated successfully, but these errors were encountered: