开发者

Solving VScode Angular installation issue

开发者 https://www.devze.com 2022-12-07 18:16 出处:网络
ng : File C:\\Users\\unknown\\AppData\\Roaming\\npm\\ng.ps1 cannot be loaded. The file C:\\Users\\unknown\\AppData\\Roaming\\npm\\ng.ps1 is not digitall开发者_JAVA百科y signed. You cannot run this scr
ng : File C:\Users\unknown\AppData\Roaming\npm\ng.ps1 cannot be loaded. The file C:\Users\unknown\AppData\Roaming\npm\ng.ps1 is not digitall开发者_JAVA百科y signed. You cannot run this script on the current         
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ ng
+ ~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

//execute the above command and restart the VSCode again, and retry, it should work well

0

精彩评论

暂无评论...
验证码 换一张
取 消