vue : 无法加载文件 C:\Users\15\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
原因:因为在此系统上禁止运行脚本
解决方案:
(1)在搜索框中搜索 powerShell,并以管理员身份运行
(2)输入 set-ExecutionPolicy RemoteSigned,然后回车
(3)输入 Y,回车
(4)输入 vue -V 检查vue版本
参考于:https://blog.csdn.net/weixin_35773751/article/details/104415617?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight