1. 2.执行 set-ExecutionPolicy RemoteSigned 执行完后 get-ExecutionPolicy 查看为RemoteSigned即可 重启Vscode 运行yarn或cnpm命令就可以了