node.jswindows

Access Denied issue with NVM in Windows 10


I'm getting 'access is denied' when I'm using nvm -v command in windows 10. I have got the similar issue here NVM is Access Denied

But he himself gave a solution which is not working for me.

Is there any solution for this problem?


Solution

  • I encountered the same issue and solved it as follows:

    1. Uninstall "NVM for Windows 1.1.7"
    2. Run the installer nvm-setup.exe as Administrator
    3. Open an elevated Command Prompt (with Administrator privileges) and run

    Now running node -v in a non-elevated Command Prompt works without issue.