npm install 报错

报错内容:
1.NPM Unexpected end of JSON input while parsing near 2.npm ERR! A complete log of this run can be found in:
解决办法:
first:
npm install --registry=https://registry.npm.taobao.org --loglevel=silly

then:
npm cache clean --force
posted @ 2020-06-02 21:03  闯入码途的水产人  阅读(85)  评论(0编辑  收藏  举报