You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: The installed pnpm reports version 12.4.2, expected 12.5.1 #58
Pnpm installation fails in github actions with the error Error: The installed pnpm reports version 12.4.2, expected 12.5.1.
Full log:
Run pnpm/setup@v2.1.0
with:
dest: ~/setup-pnpm
cache: false
working-directory: .
require-lockfile: false
install: true
Installing pnpm...
Downloading pnpm 12.5.1 from the npm registry
==> Downloading pnpm 12.5.1
Error: The installed pnpm reports version 12.4.2, expected 12.5.1
at z0e (/home/runner/work/_actions/pnpm/setup/v2.1.0/dist/index.js:263:1582)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async V0e (/home/runner/work/_actions/pnpm/setup/v2.1.0/dist/index.js:273:404)
at async oSe (/home/runner/work/_actions/pnpm/setup/v2.1.0/dist/index.js:273:5098)
at async iSe (/home/runner/work/_actions/pnpm/setup/v2.1.0/dist/index.js:273:5012)
Error: Error: The installed pnpm reports version 12.4.2, expected 12.5.1
This should be fixed since v3.1.0 by #72. The action now installs the pnpm version locked in pnpm-lock.yaml when the manifest's range allows it, and runs its version check with --config.pm-on-fail=ignore, so pnpm no longer switches to another version during the check. If you still see this on the latest v3, please reopen with your package.jsonpackageManager/devEngines settings and the action inputs.
— Claude Code (Claude Opus 5.5), on behalf of @zkochan
Activity
RihanArfan commentedon Sep 19, 2026
On NPM v12.4.2 is tagged as latest.
zkochan commentedon Oct 24, 2026
This should be fixed since v3.1.0 by #72. The action now installs the pnpm version locked in
pnpm-lock.yamlwhen the manifest's range allows it, and runs its version check with--config.pm-on-fail=ignore, so pnpm no longer switches to another version during the check. If you still see this on the latest v3, please reopen with yourpackage.jsonpackageManager/devEnginessettings and the action inputs.— Claude Code (Claude Opus 5.5), on behalf of @zkochan