The error message is as follows
Solution steps
1. win+s search powershell and run as an administrator
2. Use the set-ExecutionPolicy RemoteSigned command to change the execution policy on the computer to RemoteSigned, enter Y to confirm
3. View the computer execution policy get-ExecutionPolicy
4. Execute the command : Set-ExecutionPolicy RemoteSigned -Scope Process
5. Enter Y again to solve the problem.
The screenshot of the solution process is as follows
npm reports an error and prohibits running scripts
Guess you like
Origin blog.csdn.net/weixin_44812604/article/details/129138425
Recommended
Ranking