Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when npm install #3

Open
zareshahi opened this issue Aug 14, 2020 · 1 comment
Open

Error when npm install #3

zareshahi opened this issue Aug 14, 2020 · 1 comment

Comments

@zareshahi
Copy link

zareshahi commented Aug 14, 2020

Hi

the installation occur with error for some packages

npm ERR! code EINTEGRITY

npm ERR! sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= integrity checksum failed when using sha1: wanted sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= but got sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg== sha1-Touo7i1Ivk99DeUFRVVI6uWTIEU=. (17009 bytes)
.
.
.

npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting [email protected]:
npm ERR! Verification failed while extracting [email protected]:
npm ERR! sha1-s56mIp72B+zYniyN8SU2iRysm40= integrity checksum failed when using sha1: wanted sha1-s56mIp72B+zYniyN8SU2iRysm40= but got sha512-+CiwtLnsJhX03p20mwXuvhoebatoh5B3tt+VvYlrPgZC1g36y+RRbkufX95Xa+X4I59aWEacDFYwnJZiyBh9gA== sha1-pxLHT9wx9+yyD+RPFX2ALSCAl+8=. (306705 bytes)

i did update npm version but there is no way to solve problem

@abhimanusharma
Copy link

Hi

the installation occur with error for some packages

npm ERR! code EINTEGRITY

npm ERR! sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= integrity checksum failed when using sha1: wanted sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE= but got sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg== sha1-Touo7i1Ivk99DeUFRVVI6uWTIEU=. (17009 bytes)
.
.
.

npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting [email protected]:
npm ERR! Verification failed while extracting [email protected]:
npm ERR! sha1-s56mIp72B+zYniyN8SU2iRysm40= integrity checksum failed when using sha1: wanted sha1-s56mIp72B+zYniyN8SU2iRysm40= but got sha512-+CiwtLnsJhX03p20mwXuvhoebatoh5B3tt+VvYlrPgZC1g36y+RRbkufX95Xa+X4I59aWEacDFYwnJZiyBh9gA== sha1-pxLHT9wx9+yyD+RPFX2ALSCAl+8=. (306705 bytes)

i did update npm version but there is no way to solve problem

I followed these steps to get rid of this error this does not relate to this package:

  1. Run npm i -g npm
  2. delete package-lock.json file
  3. delete node_modules folder
  4. Run npm cache clean --force
  5. Run npm cache verify
  6. Run npm install

I think first command do the trick but if not then try steps mentioned above.

Refer https://stackoverflow.com/questions/47545940/when-i-run-npm-install-it-returns-with-err-code-eintegrity-npm-5-3-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants