在安装完nodemon后使用报错
nodemon : 无法加载文件 C:\Users\xiaomu\AppData\Roaming\npm\nodemon.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的about_Execution_Policies。
解决方案
1、打开运行窗口: Windows + R 组合键
2、打开Windows PowerShell,输入:powershell
3、切换管理员身份,输入:Start-Process powershell -Verb runAs
4、管理员身份运行命令:set-ExecutionPolicy RemoteSigned
5、选择Y 或者A输入即可