I know this error was posted multiple times in this form, StackOverflow and GitHub, but I have a good reason to open this thread:
When I publish a package to the npm registry and want to install this package on another machine it throws this 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)
This happens on EVERY publish and I have to wait up to 30 minutes until it works fine. That’s really annoying. Is there anything I can do? This error is pretty new like a month or so.
I am testing and publishing on a AWS elastic beanstalk setup.
node version: 10.16.0
npm version: 6.9.0
EDIT: Now it’s failing even on packages that are severel days old.