提示信息: 解决方法: 管理员身份运行powershell,然后输入 set-ExecutionPolicy RemoteSigned 然后输入Y cnpm install --save pubsub-js 它就好了