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

被折叠的 条评论
为什么被折叠?



