npm ERR! code EINTEGRITY 解决方案

报错信息:   Error: sha1-HsihLT8VutOkAReGpzpIZJY2twQ= integrity checksum failed when using sha1: wanted sha1-HsihLT8VutOkAReGpzpIZJY2twQ= but got sha512-JxqSv200Y6zDh2s35x8v4GOH4L40O0BcwZAjoN1nG8LwD1dVlNPmyL54FxKji2EIz4ZFY1CMvCwghVAwccys0w== sha1-KJk60dveix2DRSQAscdzmPGOYw4=. (2490 bytes)

18013 verbose stack

 

直接去掉package-lock.json,我直接用这种方法,成功了!

其实就是根据lock.json拿不到相应的包而已。 

原文链接:https://blog.csdn.net/dualvencsdn/article/details/86511288

你可能感兴趣的:(npm)