问题:
vue : 无法加载文件 F:\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本。
打开PowerShell
查看策略 Get-ExecutionPolicy 返回 Restricted
修改策略 Set-ExecutionPolicy -Scope CurrentUser 回车 输入 RemoteSigned 回车 输入 Y
重新查询 Get-ExecutionPolicy 返回 RemoteSigned
问题:
vue : 无法加载文件 F:\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本。
打开PowerShell
查看策略 Get-ExecutionPolicy 返回 Restricted
修改策略 Set-ExecutionPolicy -Scope CurrentUser 回车 输入 RemoteSigned 回车 输入 Y
重新查询 Get-ExecutionPolicy 返回 RemoteSigned