Skip to content

Commit c6472c1

Browse files
steipeteonstash
andcommitted
chore: land openclaw#39056 Node version hint sync (thanks @onstash)
Land contributor change from openclaw#39056 and append changelog credit for @onstash. Co-authored-by: Santosh Venkatraman <[email protected]>
1 parent 7735a0b commit c6472c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ Docs: https://docs.openclaw.ai
243243
- CLI/Docs memory help accuracy: clarify `openclaw memory status --deep` behavior and align memory command examples/docs with the current search options. (#31803) Thanks @JasonOA888 and @Avi974.
244244
- Auto-reply/allowlist store account scoping: keep `/allowlist ... --store` writes scoped to the selected account and clear legacy unscoped entries when removing default-account store access, preventing cross-account default allowlist bleed-through from legacy pairing-store reads. Thanks @tdjackey for reporting and @vincentkoc for the fix.
245245
- Security/Nostr: harden profile mutation/import loopback guards by failing closed on non-loopback forwarded client headers (`x-forwarded-for` / `x-real-ip`) and rejecting `sec-fetch-site: cross-site`; adds regression coverage for proxy-forwarded and browser cross-site mutation attempts.
246+
- CLI/bootstrap Node version hint maintenance: replace hardcoded nvm `22` instructions in `openclaw.mjs` with `MIN_NODE_MAJOR` interpolation so future minimum-Node bumps keep startup guidance in sync automatically. (#39056) Thanks @onstash.
246247

247248
## 2026.3.2
248249

openclaw.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const ensureSupportedNodeVersion = () => {
2626
process.stderr.write(
2727
`openclaw: Node.js v${MIN_NODE_VERSION}+ is required (current: v${process.versions.node}).\n` +
2828
"If you use nvm, run:\n" +
29-
" nvm install 22\n" +
30-
" nvm use 22\n" +
31-
" nvm alias default 22\n",
29+
` nvm install ${MIN_NODE_MAJOR}\n` +
30+
` nvm use ${MIN_NODE_MAJOR}\n` +
31+
` nvm alias default ${MIN_NODE_MAJOR}\n`,
3232
);
3333
process.exit(1);
3434
};

0 commit comments

Comments
 (0)