原文链接: https://blog.51cto.com/u_15127677/4302520?b=totalstatistic
1、在系统搜索框中 输入 Windos PowerShell
2、点击“管理员身份运行”
3、输入“ set-ExecutionPolicy RemoteSigned”回车
4、之后输入A,回车
5、再次回到项目中执行cnpm -v,执行成功。
原文链接: https://blog.51cto.com/u_15127677/4302520?b=totalstatistic
1、在系统搜索框中 输入 Windos PowerShell
2、点击“管理员身份运行”
3、输入“ set-ExecutionPolicy RemoteSigned”回车
4、之后输入A,回车
5、再次回到项目中执行cnpm -v,执行成功。