enriikke / gatsby-gh-pages-action

GitHub Action to build and deploy your Gatsby site to GitHub Pages ❤️🎩
MIT License
295 stars 62 forks source link

Action fails to run npm install #8

Closed ilyapuchka closed 5 years ago

ilyapuchka commented 5 years ago

Action fails to run npm install with error:

2019-10-12T14:17:52.5070735Z [command]npm install
2019-10-12T14:17:59.6118115Z npm ERR! code EINTEGRITY
2019-10-12T14:17:59.6122018Z npm ERR! sha512-HwN0EE+9DS7wB0kKy6Bc5kUTUGUAOyZorJeb+ZGeTrxd1ZNwEJn1TfCRuNpRRa+Iu3VeYBcQ2pjuordJ4eqmfA== integrity checksum failed when using sha512: wanted sha512-HwN0EE+9DS7wB0kKy6Bc5kUTUGUAOyZorJeb+ZGeTrxd1ZNwEJn1TfCRuNpRRa+Iu3VeYBcQ2pjuordJ4eqmfA== but got sha512-uvmkwl5uMexCmC0GUv1XGQP0YjfYePJufGg4YYiukhqk2vN1tQxwWJIBERqhOmSi80cppZg8mZnPP/kOMf1sUQ==. (27307 

Here is the raw log: log.txt

ilyapuchka commented 5 years ago

Resolved by removing package-lock.json as per this https://community.netlify.com/t/eintegrity-error-on-default-gatsby-site/2250