vue: Could not load file C:\Program Files\nodejs\node_global\vue.ps1 because running scripts is prohibited on this system

1. An error is reported when the command box is installed or some operations are performed. Mine is Vue installed. Check the version of Vue and report an error

ss

2. Solution: Enter set-ExecutionPolicy RemoteSigned in the command box 

Input in PowerShell will appear as shown below, just select y or a

in cmd there is no output

 

Guess you like

Origin blog.csdn.net/miao_yf/article/details/103610578