1、报错信息如下:
npm ERR! Unexpected end of JSON input while parsing near '...sh_time":144545599958'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DELL\AppData\Roaming\npm-cache\_logs\2020-05-19T05_29_49_168Z-debug.log
ERROR command failed: npm install --loglevel error
解决办法:
npm cache clean --force
2、
报错信息如下图所示:
导致的原因可能是版本不一致,解决办法:
cnpm i -g @vue/cli
npm cache clean --force