The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Verfication failed while extracting
I have a project, which I want to deploy to elastic beanstalk but sometimes the deploy fails on the
npm install script with the following message:
npm ERR! code EINTEGRITY npm ERR! Verification failed while extracting @my-package@^1.2.0: npm ERR! Verification failed while extracting @my-package@^1.2.0: npm ERR! sha512-lQ...HA== integrity checksum failed when using sha512: wanted sha512-lQ...HA== but got sha512-nH...ow==. (4835509 bytes)
It fails even on packages which are severel weeks old.
npm cache clean --force
npm cache verify
-> node_modules is in .npmignore
-> package-lock.json is in .npmignore
-> Writing a mail to email@example.com, they answered the first mail but now I am wating since three weeks for a reply.
It fails even on new elastic beanstalk instances.
I have no idea how to solve this problem.