错误如下:
$ npm install eslint --save-dev
npm ERR! Unexpected end of JSON input while parsing near '...SIGNATURE-----\r\n"},'
解决办法:
$ npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
之后再npm install 即可成功。
错误如下:
$ npm install eslint --save-dev
npm ERR! Unexpected end of JSON input while parsing near '...SIGNATURE-----\r\n"},'
解决办法:
$ npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
之后再npm install 即可成功。