在项目中执行npm install安装依赖包的时候。出现npm ERR! Unexpected end of JSON input while parsing near '...inimist":"^1.2.0"},"d'
npm install
npm ERR! Unexpected end of JSON input while parsing near '...inimist":"^1.2.0"},"d'
输入:
npm cache clean --force
然后重新执行:
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3