When running yarn add --dev jest, I got error Incorrect integrity when fetching from the cache.
yarn add --dev jest
Yarn cache clean did not help. We must downgrading yarn version on the server.
It turns out that the problem is associated with the use of private packages.
GitHub Yarnpkg - "Incorrect integrity when fetching from the cache" #7584