Open kumarharsh opened 7 years ago
Try updating NVM4W. Alot of fixes happened after v1.1.1.
Same issue with NVM4W v1.1.6. The downloading fails and the file is broken, but shown as installed.
I think it should be downloaded as a temporary file and renamed to node.exe
only if downloaded successfully. Currently even the file is broken, it's named node.js
and prevents a re-installation.
My Environment
[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)
[ ] Windows 8
[ ] Windows 8.1
[x] Windows 10
[ ] Windows 10 IoT Core
[ ] Windows Server 2012
[ ] Windows Server 2012 R2
[ ] Windows Server 2016
[ ] My Windows installation is non-English.
I'm using NVM4W version:
I have already...
My issue is related to (check only those which apply):
I tried upgrading node to 8.5.0 today on my nvm1.1.1 + powershell + Windows10 Creators Update machine. I put in
nvm install 8.5.0
in the terminal. Incidentally, my net connection was acting up, so the laptop dropped the connection just when I pressed enter. NVM showed an error after some time:After that, I ran the install script again, and got a little surprise:
What?
Then, I tried switching to this version of node, and check it's version:
So, I go to the nvm cache folder in
C:\Users\kumar\AppData\Roaming\nvm\v8.5.0
, and it seems that thenode.exe
file is only 1MB, whereas the actual node.exe filesize for 7.8.0 is about 20MB. Seems like a borked installation.Expected Behavior
NVM should gracefully handle failed installs.
Actual Behavior
Broken node version installed.
Steps to reproduce the problem:
nvm install x.x.x