操作系统 win10
vue -g npminstall-g @vue/cli
安装成功之后,在某个文件夹新建文件:App.vue

执行命令:vue serve,报错:

解决方案:右键点击左下角,以管理员身份打开powerShell

执行:set-ExecutionPolicy RemoteSigned
成功。
操作系统 win10
vue -g npminstall-g @vue/cli
安装成功之后,在某个文件夹新建文件:App.vue
执行命令:vue serve,报错:
解决方案:右键点击左下角,以管理员身份打开powerShell
执行:set-ExecutionPolicy RemoteSigned
成功。
本文标题:vue 踩坑之路1-无法运行脚本
本文链接:https://www.haomeiwen.com/subject/hodaxhtx.html
网友评论