npm ERR! code EINTEGRITY
npm ERR! sha1-F8b22R2owVwncEo+OIM9Z1kqOVk= integrity checksum failed when using sha1: wanted sha1-F8b22R2owVwncEo+OIM9Z1kqOVk= but got sha1-65zsXJnJjAVIDtOI25R7Koa2940=. (5924859 bytes)
从gitlab克隆项目下来,执行npm install 报错,目前知道的一个解决方案是依次执行以下指令
rm -rf node_modules package-lock.json
npm cache clean --force
npm install --verbose
原文链接:https://github.com/felixrieseberg/npm-windows-upgrade/issues/113