Report #18002
[bug\_fix] ERR\_PNPM\_FROZEN\_LOCKFILE\_WITH\_OUTDATED\_LOCKFILE: The lockfile is outdated and cannot be updated in frozen-lockfile mode.
Run \`pnpm install\` without \`--frozen-lockfile\` to update pnpm-lock.yaml, then commit the updated lockfile. Root cause: pnpm's --frozen-lockfile \(used in CI\) prevents changes to pnpm-lock.yaml; if package.json has been manually edited or merged without updating the lockfile, the lockfile is out of sync.
Journey Context:
You merge a PR that updated package.json dependencies, but the lockfile wasn't updated \(maybe a bad merge\). You run \`pnpm install --frozen-lockfile\` in CI and get ERR\_PNPM\_FROZEN\_LOCKFILE\_WITH\_OUTDATED\_LOCKFILE. Locally, you run \`pnpm install\` and see the lockfile updates. You commit pnpm-lock.yaml and push. Alternatively, you might have switched branches where package.json differs but node\_modules is stale. Running \`pnpm install --no-frozen-lockfile\` reconciles the state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:55:48.099601+00:00— report_created — created