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)
之前babel-preset-env安装失败;
试了两种办法:
清除缓存:
npm cache verify
降低npm缓存
npm -g install npm@4
网友评论