问题:原因: 没有执行可用脚本 解决: 管理员身份运行powershell ,win+r打开运行,输入powershell;输入set-ExecutionPolicy RemoteSigned输入A 回车cnpm -v 运行