npm ERR! Unexpected end of JSON input while parsing near '...inimist":"^1.2.0"}

简介

在项目中执行npm install安装依赖包的时候。出现npm ERR! Unexpected end of JSON input while parsing near '...inimist":"^1.2.0"},"d'

解决办法

输入:

npm cache clean --force

你可能感兴趣的:(npm ERR! Unexpected end of JSON input while parsing near '...inimist":"^1.2.0"})