npm ERR! code EINTEGRITY npm ERR! sha1-nbqdpC/e8IOA7poHctXL5+bVXsE= integrity checksum failed when using sha1: wanted sha1-nbqdpC/e8IOA7poHctXL5+bVXsE= but got sha1-0X7bigKCiloFbWTRvT6KhLKF9Y0=. (8991710 bytes)
解決方案:
先執行
npm i -g npm
再執行
grep -ir "sha1-nbqdpC/e8IOA7poHctXL5+bVXsE= integrity checksum failed when using sha1: wanted sha1-nbqdpC/e8IOA7poHctXL5+bVXsE= but got sha1-0X7bigKCiloFbWTRvT6KhLKF9Y0=" ~/.npm
此時再運npm install就成功了。
npm install
http://blog.csdn.net/Mr_rain/article/details/74551497