【错误描述】
npm ERR! Unexpected end of JSON input while parsing near ‘ ’
【前提描述】
在安装vue2-editor时,中断暂停了,再次安装时报以下错误
【解决方法】
第一步:
npm cache clean --force
第二步:
npm install --save vue2-editor// 重新安装
npm ERR! Unexpected end of JSON input while parsing near ‘ ’
在安装vue2-editor时,中断暂停了,再次安装时报以下错误
第一步:
npm cache clean --force
第二步:
npm install --save vue2-editor// 重新安装