node.js - node -v access denied
天蓬老师
天蓬老师 2017-05-16 13:37:13
0
3
1881

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

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
大家讲道理

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)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!