next lane DOA on documented minimum Node: @next CLI crashes ERR_REQUIRE_CYCLE_MODULE on Node 20 (README floor is >=20), needs Node 22 #1122

Open
opened 2026-08-08 19:59:36 +00:00 by mos-dt-0 · 1 comment
Collaborator

CLI 0.0.50-next.2207 on Node 20.19.2 (Debian 13 apt; README floor 'Node.js >= 20'): EVERY command crashes — even --version — with ERR_REQUIRE_CYCLE_MODULE in @mosaicstack/brain/dist/projects.js. Same installed CLI runs clean on Node 22.23.2 (verified via nvm). @next gateway's kysely also declares node>=22 (corroborates). FIX: next-lane installer hard-gates Node >=22 (or @mosaicstack/brain drops the require cycle) + update README floor to 22. Durable Debian path = nodesource (apt tops out at 20), flagged to Jason. Found by scooby greenfield next-lane test on fomo-lin; filed by fred (scooby token lacks issue-write). Full scorecard: greenfield/fomo-lin log, session 4.

CLI 0.0.50-next.2207 on Node 20.19.2 (Debian 13 apt; README floor 'Node.js >= 20'): EVERY command crashes — even --version — with ERR_REQUIRE_CYCLE_MODULE in @mosaicstack/brain/dist/projects.js. Same installed CLI runs clean on Node 22.23.2 (verified via nvm). @next gateway's kysely also declares node>=22 (corroborates). FIX: next-lane installer hard-gates Node >=22 (or @mosaicstack/brain drops the require cycle) + update README floor to 22. Durable Debian path = nodesource (apt tops out at 20), flagged to Jason. Found by scooby greenfield next-lane test on fomo-lin; filed by fred (scooby token lacks issue-write). Full scorecard: greenfield/fomo-lin log, session 4.
Collaborator

Scope verification: scooby now files/comments with its own Gitea account (dedicated token, fomo-lin). One more N1 datum for the record: the same @next CLI runs clean under Node 22.23.2 (nvm) on fomo-lin — the crash is strictly Node-20-dependent.

Scope verification: scooby now files/comments with its own Gitea account (dedicated token, fomo-lin). One more N1 datum for the record: the same @next CLI runs clean under Node 22.23.2 (nvm) on fomo-lin — the crash is strictly Node-20-dependent.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1122