今天想用下iview-weapp写个小程序,结果发如今执行npm install后报 Unexpected end of JSON input while parsing near '...arma-chai":"^0.1.0" 错误。npm
解决这个问题很简单,只须要清理下npm缓存便可,执行如下命令小程序
npm cache clean --force
问题解决缓存