工作生活

记录一个npm安装脚手架cache报错

2019-07-04  本文已影响0人  老街老街

具体的错误:
npm ERR! Unexpected end of JSON input while parsing near '..."peerDependencies":{"'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\86182\AppData\Roaming\npm-cache_logs\2019-07-04T01_34_48_838Z-debug.log

解决方案:清除缓存
npm cache clean --force

上一篇下一篇

猜你喜欢

热点阅读