npm报错:Unexpected end of JSON input while parsing near ‘…ze”:”0.4.0″},”devDepe’的解决方法

参考链接:https://github.com/npm/npm/issues/19072

错误描述:NPM安装依赖包时报错,Unexpected end of JSON input while parsing near ‘…ze”:”0.4.0″},”devDepe’

解决办法:npm cache clean –force