0x00
今天想用下iview-weapp写个小程序,结果发现在执行npm install后报 Unexpected end of JSON input while parsing near '...arma-chai":"^0.1.0" 错误。
0x01
解决这个问题很简单,只需要清理下npm缓存即可,执行以下命令
npm cache clean --force
0x02
问题解决
来源:oschina
链接:https://my.oschina.net/u/2351716/blog/1934314