-
Notifications
You must be signed in to change notification settings - Fork 220
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
The first test nukes NPM #27
Comments
Did you execute On OS X, because a global install modifies /usr/local/lib, you need root permissions to install globally. Thus, when you try to install npm globally with npm without privilege, it removes your version and goes to get the new one, only to find it can't install it globally (doesn't have adequate permissions). The easy fix is to instead run |
Eric, Each time that I ran how-to-npm verify, npm would vanish from my system. I had to rerun the node dpkg installer to get npm back after attempting the first test. |
Eric - I had this problem as well - nuked my node installation when I tried to npm install npm -g I didn't do sudo, but I've installed plenty of other npm modules without using sudo. Why is this different? |
+1, happened to me also. Luckily I had just installed 4.0.0 😁 |
I ran how-to-npm verify for the very first test. When the tool/test found that I have an out of date version, it reported it as so. Of course, after that, I could not find npm on bash. I can verify that npm was installed, because that's how I installed how-to-npm in the first place. sudo or not, it nukes my npm install every time.
I had to reinstall node each time get things working again. Thanks a lot, how-to-npm!
My system details
OS X 10.10.3
Node v0.12.4
The text was updated successfully, but these errors were encountered: