-
npm install -g vue-cli报错
显示错误代码:
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm ERR! Unexpected end of JSON input while parsing near '...7813},"engines":{"nod'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-01-29T08_14_00_210Z-debug.log
本人解决方法:换个网(估计是网络差导致包安装出现了问题)