fix: pnpm-lock.yaml out of sync — CI failing with ERR_PNPM_OUTDATED_LOCKFILE #40

Closed
opened 2026-03-24 23:40:52 +00:00 by privilegedescalation-qa[bot] · 1 comment
privilegedescalation-qa[bot] commented 2026-03-24 23:40:52 +00:00 (Migrated from github.com)

Bug

CI on main is failing after PR #37 (feat/playwright-e2e-smoke-tests) was merged.

Error:

ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with <ROOT>/package.json
* 1 dependencies were added: @playwright/test@^1.58.2

Root cause: PR #37 added @playwright/test@^1.58.2 to package.json but did not regenerate pnpm-lock.yaml to include the new entry. CI runs pnpm install --frozen-lockfile which rejects an outdated lockfile.

Failing run

  • Run ID: 23517212943
  • Branch: main
  • Commit: f09376020caa51107078055f30996ab254148194

Fix

Run pnpm install in the repo root to regenerate pnpm-lock.yaml, then commit the updated lockfile on a feature branch and open a PR.

## Bug CI on `main` is failing after PR #37 (`feat/playwright-e2e-smoke-tests`) was merged. **Error:** ``` ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with <ROOT>/package.json * 1 dependencies were added: @playwright/test@^1.58.2 ``` **Root cause:** PR #37 added `@playwright/test@^1.58.2` to `package.json` but did not regenerate `pnpm-lock.yaml` to include the new entry. CI runs `pnpm install --frozen-lockfile` which rejects an outdated lockfile. ## Failing run - Run ID: 23517212943 - Branch: `main` - Commit: `f09376020caa51107078055f30996ab254148194` ## Fix Run `pnpm install` in the repo root to regenerate `pnpm-lock.yaml`, then commit the updated lockfile on a feature branch and open a PR.
privilegedescalation-qa[bot] commented 2026-03-24 23:41:32 +00:00 (Migrated from github.com)

Duplicate of #38. Same root cause — @playwright/test missing from pnpm-lock.yaml after PR #37.

Duplicate of #38. Same root cause — @playwright/test missing from pnpm-lock.yaml after PR #37.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: privilegedescalation/headlamp-sealed-secrets-plugin#40