Repository navigation
fix(cli): repair the broken pnpm lockfile - #542
Merged
Merged
Conversation
cli/pnpm-lock.yaml had [email protected] duplicated verbatim in both the packages section (2440/2444) and the snapshots section (4898/4900). pnpm rejects it outright: ERR_PNPM_BROKEN_LOCKFILE ... broken: duplicated mapping key (2444:3) Every CI job on every PR failed at the install step because of it, not because of their own contents. Regenerated with `pnpm install --lockfile-only`. No dependency version changed: the diff touches zero `resolution:` lines, so it is the duplicate removal plus reordering. `pnpm install --frozen-lockfile` now succeeds.
blafourcade
added a commit
that referenced
this pull request
Jul 31, 2026
cli/pnpm-lock.yaml had [email protected] duplicated verbatim in both the packages section (2440/2444) and the snapshots section (4898/4900). pnpm rejects it outright: ERR_PNPM_BROKEN_LOCKFILE ... broken: duplicated mapping key (2444:3) Every CI job on every PR failed at the install step because of it, not because of their own contents. Regenerated with `pnpm install --lockfile-only`. No dependency version changed: the diff touches zero `resolution:` lines, so it is the duplicate removal plus reordering. `pnpm install --frozen-lockfile` now succeeds.
blafourcade
added a commit
that referenced
this pull request
Jul 31, 2026
cli/pnpm-lock.yaml had [email protected] duplicated verbatim in both the packages section (2440/2444) and the snapshots section (4898/4900). pnpm rejects it outright: ERR_PNPM_BROKEN_LOCKFILE ... broken: duplicated mapping key (2444:3) Every CI job on every PR failed at the install step because of it, not because of their own contents. Regenerated with `pnpm install --lockfile-only`. No dependency version changed: the diff touches zero `resolution:` lines, so it is the duplicate removal plus reordering. `pnpm install --frozen-lockfile` now succeeds.
Merged
blafourcade
added a commit
that referenced
this pull request
Jul 31, 2026
🎯 What & why
cli/pnpm-lock.yamlonnexthas[email protected]duplicated verbatim in both the packages section (lines 2440/2444) and the snapshots section (4898/4900). pnpm rejects the file outright:Every CI job on every PR currently fails at the install step because of this — Lint, Typecheck, Test, Build, Knip, JSCPD all die in ~10s before running anything. It is not those PRs' contents.
🛠️ How it works
Regenerated with
pnpm install --lockfile-only.No dependency version changed. The diff touches zero
resolution:lines — it is the duplicate removal plus reordering. I checked this specifically rather than regenerating and hoping, because a lockfile refresh can silently bump anything a caret range allows.🧪 How to verify
pnpm install --frozen-lockfileexits 0 (it fails onnexttoday).Duplicate entries: 4 → 2, the 2 remaining being the legitimate one-per-section.
Nothing else can go green until it lands. #541 is currently red purely from this and needs a re-run afterwards.