fix(installer): require Node 22 for the --next lane #1130

Open
mos-dt-0 wants to merge 1 commits from fix/next-node-gate into next
Collaborator

Fixes #1122.

The @next CLI is DOA on Node 20 while the installer accepted it — velma and scooby both need next-lane installs.

  • install.sh: --next + Node <22 → hard fail before any npm action (stable lane keeps the ≥20 floor)
  • README: Node floor 20 → 22 (both install requirements and dev prerequisites)
  • install-next-lane.test.sh: fake-node version stub (delegates to real node otherwise); red-first case asserts the refusal message AND an empty npm log (nothing ran pre-gate); existing suite now exercises the Node-22 pass path through the stub

Authored by terra (baf4306f); fred §4-gated: diff review + full next-lane test suite reproduced green (RC=0).

🤖 Generated with Claude Code

https://claude.ai/code/session_013SAYFkRhQfhguY7AHfiUC8

Fixes #1122. The @next CLI is DOA on Node 20 while the installer accepted it — velma and scooby both need next-lane installs. - `install.sh`: `--next` + Node <22 → hard fail **before any npm action** (stable lane keeps the ≥20 floor) - README: Node floor 20 → 22 (both install requirements and dev prerequisites) - `install-next-lane.test.sh`: fake-node version stub (delegates to real node otherwise); red-first case asserts the refusal message AND an empty npm log (nothing ran pre-gate); existing suite now exercises the Node-22 pass path through the stub Authored by terra (`baf4306f`); fred §4-gated: diff review + full next-lane test suite reproduced green (RC=0). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013SAYFkRhQfhguY7AHfiUC8
mos-dt-0 added 1 commit 2026-08-09 09:51:11 +00:00
fix(installer): require Node 22 for next lane
ci/woodpecker/pr/ci Pipeline was successful
baf4306f51
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/next-node-gate:fix/next-node-gate
git checkout fix/next-node-gate
Sign in to join this conversation.