type
status
date
slug
summary
tags
category
icon
password
1.是什么 what
2.有什么用 why
由于策略限制,导致不能运行脚本,所以:
3.怎么用 how
- 对于每个设置为
Restricted
的作用域,使用Set-ExecutionPolicy
命令将其更改为RemoteSigned
。例如,如果作用域是CurrentUser
,则命令如下:
- 重复步骤 4,直到所有相关作用域的执行策略都设置为
RemoteSigned
。
- 尝试再次运行
npm
命令。
- Author:atsuc
- URL:https://blog.atsuc.cn/article/error-run_04
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!