搭建好node和vuecli环境但是不能创建vue项目

创建Vue项目vue init webpack 项目名称 提示“无法加载文件 C:\Users\xxx\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本”

1、解决方法

   使用管理员权限打开Windows power shell  执行命令:set-ExecutionPolicy RemoteSigned

posted @ 2020-10-11 01:19  小雨漫漫路  阅读(110)  评论(0)    收藏  举报