.nvmrc pins Node 20 but wrangler 4.95 needs Node 22
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 2
- Avg merge
- 23m
- Merged PRs (30d)
- 5
Description
Fresh clone, then pnpm install + pnpm test:
Wrangler requires at least Node.js v22.0.0. You are using v20.20.2.
.nvmrc is 20 and .github/workflows/ci.yml uses node-version: 20, but wrangler@^4.95.0 (devDependency) requires Node >=22. A fresh install resolves wrangler 4.95, so anything that shells out to it — pnpm test (via vitest-pool-workers) and wrangler dev — fails on Node 20.
Bumping .nvmrc and the CI workflow to 22 sorts it.
Contributor guide
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
Update the Node version in .nvmrc and .github/workflows/ci.yml from 20 to 22. Start by checking both version settings, then run pnpm install and pnpm test; done means a fresh install and test run no longer fail the Wrangler Node-version check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- ci-cd, tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100