cnpm - 解决 " cnpm : 无法加载文件 C:\Users\93457\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息 。。。 "
1.在win10 系统中搜索框 输入 Windos PowerShell选择 管理员身份运行
1.在win10 系统中搜索框 输入 Windos PowerShell
选择 管理员身份运行
set-ExecutionPolicy RemoteSigned
然后更改权限为A
最后通过 get-ExecutionPolicy 查看当前的状态
标签: npm
评论:
2020-10-17 01:01