I just used nvm to install a version 6.10.2. After nvm use 6.10.2, access is denied when checking node-v. Please help me solve it
歡迎選擇我的課程,讓我們一起見證您的進步~~
Delete it and reinstall it. It turned out to be solved this way. It’s very painful
The access denial should be due to lack of permission. It is probably because the location where nvm-windows installed the node is in a place where your current account does not have permission.
You can take a look at this issue.
It feels like the node path installed by nvm is not in the environment variable? I'm not sure, you can restart the shell first and then if you still have this problem, try this command.
sudo chmod 755 $(which node)