[npm] 一个命令解决Unexpected end of JSON input... 问题

0x00

今天想用下iview-weapp写个小程序,结果发如今执行npm install后报 Unexpected end of JSON input while parsing near '...arma-chai":"^0.1.0" 错误。npm

0x01

解决这个问题很简单,只须要清理下npm缓存便可,执行如下命令小程序

npm cache clean --force

0x02

问题解决缓存

相关文章
相关标签/搜索