Error: The installed pnpm reports version 12.4.2, expected 12.5.1
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 140
- Forks
- 19
- Avg merge
- 13h 19m
- Merged PRs (30d)
- 3
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
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.
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.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100