安装了nodemon自动重新启动工具在VsCode中使用发生了这样的错误:
这是电脑禁止了该脚本的运行
解决方式:
WIN + R 输入 powershell 点击回车
输入转到管路员模式:
Start-Process powershell -Verb runAs
输入set-ExecutionPolicy RemoteSigned
去VsCode重试就可以了
安装了nodemon自动重新启动工具在VsCode中使用发生了这样的错误:
这是电脑禁止了该脚本的运行
解决方式:
WIN + R 输入 powershell 点击回车
输入转到管路员模式:
Start-Process powershell -Verb runAs
输入set-ExecutionPolicy RemoteSigned
去VsCode重试就可以了