npm install -g pm2 安装失败

C:\Users\aaa>npm install pm2 -g
npm ERR! Unexpected end of input at 1:23103
npm ERR! false,"directories":{},"dist":{"shasum":"f8357e265f5768f2ca799a3241d1
npm ERR!                                                                      ^

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\aaa\AppData\Roaming\npm-cache\_logs\2018-05-07T09_39_31_562Z-debug.log
阅读 6.1k
1 个回答

包没有下载完整,重新一下,或者更换源重试一下

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题