当前的npm安装位置需要管理员权限

时间:2019-05-15 14:49:37

标签: npm windows-10 visual-studio-cordova

我正在尝试在Visual Studio 2015中构建我的cordova应用,但出现此错误

The current npm install location C:\Users\{users}\AppData\Roaming\npm requires admin privileges to install a package. To resolve the issue, either change the ACL for C:\Users\{users}\AppData\Roaming\npm or change the install path by running 'npm config set prefix %AppData%\npm' and restarting Visual Studio in order to build without being an admin.

使用Windows 10时发生

0 个答案:

没有答案
相关问题