npm ERR! code EINTEGRITY npm ERR! sha1- 报错解决办法
npm ERR! code EINTEGRITY npm ERR! sha1-
报错日志
npm ERR! code EINTEGRITY
npm ERR! sha1-OGchPo3Xm/Ho8jAMDPwe+xgsDfE= integrity checksum failed when using sha1: wanted sha1-OGchPo3Xm/Ho8jAMDPwe+xgsDfE= but got sha1-gNVXCrjQagTW0VaF+kYHiU1O0Iw=. (33078 bytes)
解决办法
系统环境信息
node v9.2.0
npm v5.5.1
- 清除缓存 尝试失败
npm cache verify
2.把npm版本降级为4系最新版本,解决
npm -g install npm@4