npm install 报错:ERR! code EINTEGRITY 解决方案

npm升级后,npm install 报错了,报错信息:ERR! code EINTEGRITY
到处百度搜索解决方案,终于找到了!
“npm cache verify”这条命令帮助了不少人

npm cache verify
npm cache clean #这个命令执行不了,就执行下面 --force的命令
npm cache clean --force #clean掉之后重新执行npm install命令
原文地址:https://www.cnblogs.com/lwjnicole/p/10792445.html