Error: The installed pnpm reports version 12.4.2, expected 12.5.1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions, typescript
Research direction
Start by reproducing the GitHub Actions workflow with pnpm/setup@v2.1.0 and the requested pnpm 12.5.1 version. Inspect dist/index.js around the reported stack location and verify that the installed version matches the requested version without the error.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 140
- Forks
- 19
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pnpm/setup
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Bug: Different devEngines.packageManager.version in repo root vs working-directory breaks setup Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·