空白格丶

  博客园  :: 首页  :: 新随笔  ::  ::  :: 管理

简介

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

解决办法

输入:

npm cache clean --force

然后重新执行:

npm install 
posted on 2018-07-10 16:26  空白格丶  阅读(1228)  评论(0编辑  收藏  举报