处理npm ERR! Unexpected end of JSON input while parsing near错误 处理办法 首先: npm install --registry=https://registry.npm.taobao.org --loglevel=silly 其次: npm cache clean --force 重新输入: npm install hexo -g 结果如下图所示: