当前位置:网站首页>Yarn: unable to load file c:\users\xxx\appdata\roaming\npm\yarn PS1 because running scripts is prohibited on this system

Yarn: unable to load file c:\users\xxx\appdata\roaming\npm\yarn PS1 because running scripts is prohibited on this system

2022-06-25 02:29:00 Gongsun yuaner

Solution
Start searching in the menu PowerShell Open as administrator
 Insert picture description here
perform :set-ExecutionPolicy RemoteSigned choice y
 Insert picture description here
View execution policy :get-ExecutionPolicy See if it's RemoteSigned
 Insert picture description here
complete !

原网站

版权声明
本文为[Gongsun yuaner]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206242246240777.html