子舒 @zishu 2025年4月17日 无法加载文件,因为在此系统上禁止运行脚本 ```shell 无法加载文件 D:\Code\xxx\npm.ps1,因为在此系统上禁止运行脚本 ``` 偶尔会遇到这个问题,修改下电脑的策略就可以了。 在管理员终端输入下面的指令: ```shell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned ``` 技术 Windows终端