处理npm ERR! Unexpected end of JSON input while parsing near错误
处理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
结果如下图所示:
...
原创
2020-09-02 00:19:16 ·
103 阅读 ·
0 评论