Reputation: 933
nvm (for windows https://github.com/coreybutler/nvm-windows)
I have downloaded the nvm-setup and installed it, but whenever it runs it gives an error message.
I've tried to reinstall the nvm, reset the PATH environment variable and install version 1.1.6, and non of it seems to be working.
NVM_HOME points to my nvm file correctly and it's in the PATH.
C:\Users>nvm --version
Running version 1.1.7.
C:\Users>nvm list
12.3.1
C:\Users>nvm use 12.3.1
exit status 1: 'D:\Program' ���O�����Υ~���R�O�B�i���檺�{���Χ妸�ɡC
Upvotes: 0
Views: 6836
Reputation: 21
In my case, I also had to install the node in another location without spaces in path
C:\Program Files\nodejs -> C:\nodejs
Upvotes: 2
Reputation: 1004
This happend when you install nvm in a directory that have spaces in the name, for example: C:\Program Files
Change the install directory for nvm and it solved.
Upvotes: 2