Verfication failed while extracting

Hi there,

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.
I’ve tried:

-> npm cache clean --force
-> npm cache verify
-> node_modules is in .npmignore
-> package-lock.json is in .npmignore
-> Writing a mail to support@npmjs.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.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.