.nvmrc pins Node 20 but wrangler 4.95 needs Node 22

Open Beginner friendly
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
node.js
Domain
ci-cd, tooling

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.

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.

Dominant language
TypeScript
Stars
9
Forks
2
Avg merge
23m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from choyiny/opensigma

All issues in choyiny/opensigma

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.