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?
Type CMD in Start Search, right click result to Run as Admin. If that doesn't help make sure you're running an Admin account in Settings > Accounts > Your Info. Also check in Step 3 here you're account is set to Admin: https://www.windowscentral.com/how-change-user-... I hope this helps.
Download the nvm-setup.Once downloaded, open the zip file, then open the nvm-setup.exe file. The Setup-NVM-for-Windows installation wizard will walk you through the setup steps, including choosing the directory where both nvm-windows and Node. js will be installed. Install the latest stable LTS release of Node.
Cause An "Access Denied" error message can occur for one or more of the following reasons: The folder ownership has changed. You do not have the appropriate permissions. The file is encrypted.
I encountered the same issue and solved it as follows:
nvm-setup.exe
as AdministratorOpen an elevated Command Prompt (with Administrator privileges) and run
nvm install 8.12.0
nvm use 8.12.0
Now running node -v
in a non-elevated Command Prompt works without issue. Hope this helps!
Not like the other comments, you don't have to run the installer nvm-setup.exe
as Administrator
. Just install it like a normal software.
Make sure that when you run nvm use xxx
, you run it in Command Prompt
with Administrator
privilege.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With