Home
Support Forums

Lots of integrity check failures today

Lots of integrity check failures or missing expected files (in node_modules) today during the yarn install step of our project, always on different packages. Locally all seems fine, tried clearing my local yarn cache just to make sure.

Just a few examples (all redeploys of the same commit):
https://app.netlify.com/sites/fibrils/deploys/60d5bf37b7fb482313542b95
https://app.netlify.com/sites/fibrils/deploys/60d5bfccb7fb48216b542b99
https://app.netlify.com/sites/fibrils/deploys/60d5c094fb14ac1e22963b76
https://app.netlify.com/sites/fibrils/deploys/60d5c118243afd1b9be3c28d
https://app.netlify.com/sites/fibrils/deploys/60d5c1af1010901e26314e1f

Would you try deleting (or regenerating) your lock files?

Should I need to? A clean install (no cache, no node_modules) works fine locally, so the lock files must be valid. Either way, I will try.

Regenerating the lock files didn’t help, all it did was update minor versions for a couple of packages. Builds still failed.

Temporary fix was to remove postinstall scripts (they cd’d into a subdir and ran yarn install there, outside of the root yarn workspace, this was the yarn install that was failing). Those aren’t needed for this particular Netlify deployment, but still it’s strange as it used to work perfectly until now, and they do work on my localhost.