因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

idea 或者 phpstorm vscode 等等遇到:因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。执行不了命令解决方案

PS D:\work\vue3> get-ExecutionPolicy//是因为PowerShell执行策略的问题。 获取策略状态set 重新设置一下即可。下面贴图
Restricted
PS D:\work\vue3> set-ExecutionPolicy RemoteSigned;
PS D:\work\vue3>
PS D:\work\vue3> get-ExecutionPolicy
RemoteSigned
PS D:\work\vue3> vue ui
�  Starting GUI...
�  Ready on http://localhost:8001

因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

原创文章,作者:星辰,如若转载,请注明出处:https://www.z88j.com/394.html

(18)
打赏 微信扫一扫 微信扫一扫
上一篇 2021年8月18日 上午11:58
下一篇 2021年8月27日 下午3:06

相关推荐

发表回复

登录后才能评论

Warning: error_log(/www/wwwroot/www.z88j.com/wp-content/plugins/spider-analyser/#log/log-2422.txt): failed to open stream: No such file or directory in /www/wwwroot/www.z88j.com/wp-content/plugins/spider-analyser/spider.class.php on line 2900