NVM 被拒绝访问 [英] NVM is Access Denied
本文介绍了NVM 被拒绝访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在使用 nvm 来管理多个节点版本.但在尝试安装对 Angular 5 应用程序的错误依赖后,它停止工作.我试图安装 ng-redux 而不是 ng2-redux.
I have been using nvm to manage multiple node version. but it stopped working after trying to install a wrong dependency on Angular 5 app. I was trying to install ng-redux instead of ng2-redux.
我无法弄清楚问题所在.提前感谢您的帮助
I am unable to figure out the issue. Thanks for your help in advance
错误:
nvm ls
Program 'nvm.exe' failed to run: Access is deniedAt line:1 char:1
+ nvm ls
+ ~~~~~~.
At line:1 char:1
+ nvm ls
+ ~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
推荐答案
这个问题在重新安装nvm-setup.exe后修复
This issue is fixed after reinstalling nvm-setup.exe
这篇关于NVM 被拒绝访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文