1.在wind10搜索框里输入 Windows PowerShell
进入这个界面
![](https://img.haomeiwen.com/i7764460/ae2c7f7540a79438.png)
2.打开Windows PowerShell 之后
输入命令:get-executionpolicy
然后:set-executionpolicy remotesigned
然后更改权限为 A
然后命令:get-executionpolicy
1.在wind10搜索框里输入 Windows PowerShell
进入这个界面
2.打开Windows PowerShell 之后
输入命令:get-executionpolicy
然后:set-executionpolicy remotesigned
然后更改权限为 A
然后命令:get-executionpolicy
本文标题:vscode 终端无法执行cnpm命令的解决办法
本文链接:https://www.haomeiwen.com/subject/petpsktx.html
网友评论