当前位置:网站首页>111. solve the problem of prohibiting scripts from running on vs code. For more information, see error reporting

111. solve the problem of prohibiting scripts from running on vs code. For more information, see error reporting

2022-06-21 09:17:00 @Upwind smile code dog

solve vs code Scripts are not allowed to run on . For more information , see also Report errors

Input

cnpm i element-ui -S

Report errors

 Insert picture description here

resolvent :

1. stay win10 Search box in the system Input Windows PowerShell, choice Run as Administrator
 Insert picture description here

2. Use ,win+R Open the powershell After the command line , Input set-ExecutionPolicy RemoteSigned, Then change the permissions to A, Finally through get-ExecutionPolicy View current status

 Insert picture description here

原网站

版权声明
本文为[@Upwind smile code dog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221445473538.html