它给出了错误/ vue :文件C:\Users\ASUS\AppData\Roaming\npm\vue.ps1无法加载,因为在此系统上禁用了运行脚本。有关更多信息,请参见https:/go.microsoft.com/fwlink/?LinkID=135170.的about_Execution_Policies
npm install @vue/cli
发布于 2022-06-20 19:54:27
这是中的一个问题,但是如果您使用gitbash的话。看起来不错。但是,如果您想使用powershell。将其放入终端,而不使用它作为管理员。
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
https://stackoverflow.com/questions/72694990
复制