回复
npm ERR! code EINTEGRITY npm ERR! sha1- 解决方法
Soon_L
发布于 2022-1-8 12:46
浏览
1收藏
问题描述,在搭建标准编译环境时,
执行
bash build/prebuilts_download.sh
发生以下错误
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)
解决方法
将build/prebuilts_download.sh中
npm config set registry http://registry.npm.taobao.org
修改为
npm config set registry https://repo.huaweicloud.com/repository/npm/
赞
2
收藏 1
回复
相关推荐