nvm-windows: access denied Node v12.18.1

Make sure you have reviewed the common issues and existing issues before submitting a new issue.

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.

My Environment

  • Windows 7 or below (not truly supported due to EOL - see wiki for details)

  • Windows 8

  • Windows 8.1

  • [○] 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:

Run nvm version if you don’t know.

1.1.7

I have already…

  • [○] read the README to be aware of npm gotchas & antivirus issues.
  • [○] reviewed the wiki to make sure my issue hasn’t already been resolved.
  • [○] verified I’m using an account with administrative privileges.
  • searched the issues (open and closed) to make sure this isn’t a duplicate.
  • made sure this isn’t a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

  • settings.txt
  • proxy support (Have you tried version 1.1.0+?)
  • 32 or 64 bit support (Have you tried version 1.1.3+?)
  • Character escaping (Have you tried version 1.1.6+?)
  • A standard shell environment (terminal/powershell)
  • A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Steps to reproduce the problem:

maybe same this issue https://stackoverflow.com/questions/50563188/access-denied-issue-with-nvm-in-windows-10?noredirect=1&lq=1 .

> nvm install 12.18.1 64
> nvm use 12.18.1
Now using node v12.18.1 (64-bit)
> nvm list
12.18.1

it does’t mark current version.

Then, access denied node and npm command.

> node -v
access denied

accessdenied

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 25 (7 by maintainers)

Most upvoted comments

I fix it!! first uninstall node version that not work. in my case: nvm uninstall 16.13.0 then run cmd/shell as administrator and change my directory to : C:\ then install node again nvm install 16.13.0 and use it as current nvm use 16.13.0 all done! nvm list

Have you tried this? https://stackoverflow.com/questions/50563188/access-denied-issue-with-nvm-in-windows-10

access denied means the user account does not have privileges to run the executable.

I cannot recreate the problem.

image