contentful-labs / starter-gatsby-blog

Gatsby starter for a Contentful project from the community.
https://contentful.github.io/starter-gatsby-blog/
MIT License
195 stars 199 forks source link

npm install EINTEGRITY fails with yargs-parser #121

Closed spdustin closed 4 years ago

spdustin commented 4 years ago

During npm install, an EINTEGRITY error prevents the process from completing. It looks like the offending package is yargs-parser, which is a dependency of webpack-dev-server, gatsby, and contentful-import.

error sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== integrity checksum failed when using sha512: wanted sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== but got sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==. (15450 bytes)

The locked version of yargs-parser (as a dependency of those packages) is 13.1.2

jo-sm commented 4 years ago

Hi @spdustin, I just ran a fresh npm install of the latest master commit and didn't run into this issue -- it worked as expected. I'm going to close this issue, but please try again and reopen the issue if you are still experiencing it.

Gcarter17 commented 4 years ago

still experiencing this issue, fresh install first time setting up...