“Unexpected end of JSON input while parsing near···”错误解决方案
“Unexpected end of JSON input while parsing near···”错误解决方案
背景:在安装angular-cli时报错,错误是:Unexpected end of JSON input while parsing near‘···“,”es6-promise”:”^3.1’
解决方法:先清除缓存,再重新安装
清除缓存
npm cache ...
原创
2018-04-02 23:30:14 ·
18694 阅读 ·
4 评论