If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
[ ] Windows Server 2016
[ ] My Windows installation is non-English.
Should activate Node v8.15.0
After running nvm use 8.15.0
and approving session elevation I got a pop up error Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
Back in the terminal, it shows message Now using node v8.15.0 (64-bit)
but when I run nvm list
I don't see an asterisk on 8.15.0
. Also, running node
and npm
returns an error that they don't exist.
nvm install 8.15.0
nvm use 8.15.0
My root path doesn't contain any white space. This is a problem I'd likely need to debug (an excuse to try out Go)
Are you also seeing this?
No, what I see is exactly as how I described it. No elevation or VB error.
I have something similar here, not sure if it's the exact same issue though.
nvm use 8.15.0
Execution of the Windows Script Host Failed. (Access is denied.)
I am the admin.
Thanks.
I'm not able to reproduce on my machine.
Is it possible due to a custom installation path on the C drive as the root instead of installing NVM in the default AppData directory? My NVM path is C:\Users\brian\AppData\Roaming\nvm
.
I'm on Windows 10 64 Bit German.
I have to use "surun" for the installation because I don't have admin rights and no admin account in this corporate network.
Installed nvm 1.1.7 into "C:\Programme Meine\nvm".
During installation did set node path "C:\Programme Meinenode".
Called "nvm install 0.8.22".
Calling "nvm use 0.8.22" gives me the following error:
exit status 1: Der Befehl "C:\Programme" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Rougly translated from German:
exit status 1: The command "C:\Programme" is written wrong or could not be found."
It probably is related to the whitespace in one of the path names. After a full uninstallation I did the installation again, but with "C:\Programme-Meine" (no whitespace!) and it seems to work now.
I'm sorry if this should not be related to this issue.
Like PyrateAkananto, I installed both node and nvm in C:\Program Files\
, and the space is not handled when doing nvm use
, and you get the error 'C:\Program' is not recognized...
To fix, I edited the settings.txt file;
root: C:\Progra~1\nvm
path: C:\Progra~1\nodejs
Most helpful comment
I have something similar here, not sure if it's the exact same issue though.
nvm use 8.15.0
Execution of the Windows Script Host Failed. (Access is denied.)
I am the admin.
Thanks.