Report #104215
[bug\_fix] npm ERR\! code EINTEGRITY or 'shasum check failed'
Run \`npm cache clean --force\` then \`npm install\` again. If that fails, delete \`node\_modules\` and \`package-lock.json\` and reinstall. Alternatively, temporarily use \`--no-verify-integrity\` \(not recommended for production\).
Journey Context:
A developer's CI pipeline started failing with 'shasum check failed' for a popular package. The package had been mutating its tarball on the registry due to a republishing event. The developer ran \`npm cache clean --force\` locally and in CI, which cleared the corrupted cached copy. The next \`npm install\` fetched the correct package. Adding a cache step to the CI pipeline prevented recurrence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-19T20:03:47.412779+00:00— report_created — created