npm ERR! code EINTEGRITY npm ERR! sha1- 报错日志 npm ERR! code EINTEGRITY npm ERR! sha1-OGchPo3Xm/Ho8jA

来源:互联网 发布:淘宝优惠券群推广 编辑:程序博客网 时间:2024/06/06 05:53

npm ERR! code EINTEGRITY npm ERR! sha1-

报错日志

npm ERR! code EINTEGRITYnpm 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.0npm  v5.5.1
  1. 清除缓存 
npm cache verify

2.把npm版本降级为4系最新版本,解决

npm -g install npm@4
阅读全文
0 0
原创粉丝点击