vue : 无法加载文件 C:\Users\ui61895076\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

说白了就是这个编辑器不能用罢了

执行以下代码

1.鼠标右击以管理员身份运行vscode;
2. 执行:get-ExecutionPolicy,显示Restricted,表示状态是禁止的;
3. 执行:set-ExecutionPolicy RemoteSigned;

最后 再输出vue -V

posted on 2020-07-16 14:48  挚情  阅读(0)  评论(0)    收藏  举报

导航