VS-Code用vue create 创建项目出现 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本

解决方法就是:

Win7在下面图片中搜索 PowerShell 

然后就是打开windows PowerShell

然后在windows PowerShell输入set-ExecutionPolicy RemoteSigned 

 接着输入Y就能解决这个问题啦

猜你喜欢

转载自blog.csdn.net/qq_25972233/article/details/122851517