车子网站,珠海网站建设建站模板,装修设计怎么学,天津网站开发建设公司1、运行 vue -- version 报错 2、在cmd 命令行 执行 vue --version 正常 3、在终端中输入 get-ExecutionPolicy#xff0c;查看当前权限 4、执行 set-executionpolicy remotesigned 命令设置为可用模式#xff0c;但是报错 5、使用管理员打开power shell 执行 G…1、运行 vue -- version 报错 2、在cmd 命令行 执行 vue --version 正常 3、在终端中输入 get-ExecutionPolicy查看当前权限 4、执行 set-executionpolicy remotesigned 命令设置为可用模式但是报错 5、使用管理员打开power shell 执行 Get-ExecutionPolicy -List 6、首先设置 CurrentUser 执行命令 Set-ExecutionPolicy -Scope CurrentUser
然后按照提示输入接着我们把此策略RemoteSigned输入进去然后按照提示输入 y 7、 接着 执行 Get-ExecutionPolicy -List 查看设置是否成功 8、然后设置 LocalMachine 执行命令 Set-ExecutionPolicy -Scope LocalMachine 按照提示先后输入RemoteSigned 然后是输入y 9、设置好以后在执行 vue --version 就可以看见vuecli得版本号 10、在VScode 中执行也是一样得结果报错问题解决。