【发布时间】:2022-02-01 17:55:20
【问题描述】:
无法在 windows powershell 上运行 npm 脚本
【问题讨论】:
-
错误信息告诉你你需要知道的一切:follow the guidance in the
about_Execution_Policieshelp file
标签: powershell
无法在 windows powershell 上运行 npm 脚本
【问题讨论】:
about_Execution_Policies help file
标签: powershell
以管理员身份运行 powershell,然后
【讨论】:
RemoteSigned 是更安全的选择。还值得一提的是,没有严格的提升(以管理员身份运行)的需要,这并不总是一个选项 - 也可以在每个用户的基础上设置执行策略,-Scope CurrentUser