vscode 终端无法运行npm指令 错误信息: 1 2 3 4 5 6 npm : 无法加载文件,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID =135170 中的 about_Execution_Policies。 所在位置 行:1 字符: 1 + npm install + ~~~ + CategoryInfo : SecurityError: (:) [],P...
所在位置 行:1字符:1+npm install+~~~+CategoryInfo:SecurityError:(:)[],PSSecurityException+FullyQualifiedErrorId:UnauthorizedAccess 1. 2. 3. 4. 5. 6. 解决方法: 管理员模式打开Window PowerShell,输入指令: set-ExecutionPolicy RemoteSigned 1. 回车后输入a即可...