win10 使用yarn安装vue-cli失败

238 阅读1分钟

win10 使用yarn安装vue-cli失败

## 无法加载文件 C:\Users\Admin\AppData\Roaming\npm\yarn.ps1,因为在此系统因为在此系统上禁止运行脚本

1,搜索powershell,以管理员方式运行powershell

2,set-ExecutionPolicy RemoteSigned, 执行Y