-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 cli never gets installed #476
Comments
I suspect this is because npm has moved their repository from https://github.com/npm/npm to https://github.com/npm/cli. When nvm attempts to download NPM it points to the old URL and fails. I was able to work around this by manually downloading the npm release and copying it into the appropriate node_modules folder called Then I copied the files After that run |
Thanks @shiitake. That's what I am doing too but it defeats the purpose of nvm. |
I personally give up. This is just too much. I am resorting to using Chocolately to mange my node installs on my Windows machine. I'll use Windows sandbox (Win10 1903 and above) if I want to experiment with a different version of node. |
In my case it was the network firewall of my company, which blocked the npm download URL. COnnecting mu PC to a personal network fixed the issue for me. |
NPM moved their repo, but version 1.1.7 addressed this. There are also occasions where the Node/npm install files are unavailable (Github outage, etc). I've opened #495 to address these concerns. |
Having the same problem, but I don't think this is caused by the install files being unavailable.
|
I have exactly the same issue ^. Installation passes without any errors but the npm folder is always empty. I followed the instructions and removed every instance of node/npm from my computer but it still doesn't work. I am behind a firewall but shouldn't we get an error if |
Any follow ups on that? I'm having exactly the same problem. |
Why is this ticket closed? This is still an issue. |
You're right, @coreybutler can you have another look at this please? |
The error exists, without nvm works correctly |
I have the same issue. I'm also on nvm 1.1.7 trying to get node 12.18.2 (LTS at the moment):
The folder "C:\Program Files\nodejs\node_modules" is totally empty. |
Same thing here! I swear this has been happening to me since last night. |
There are many reasons why this can occur, ranging form sources to permissions. This issue was closed because it was being caused when npm changed the name of the repo. Please open a new issue if it's still happening. Furthermore, run |
I am running version 1.1.7 and no matter what version of node I install the npm cli never get's installed. I can see that node files but when I go to
node_modules
it's empty.The text was updated successfully, but these errors were encountered: