mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
chore: land #39056 Node version hint sync (thanks @onstash)
Land contributor change from #39056 and append changelog credit for @onstash. Co-authored-by: Santosh Venkatraman <santosh.venk@gmail.com>
This commit is contained in:
@@ -26,9 +26,9 @@ const ensureSupportedNodeVersion = () => {
|
||||
process.stderr.write(
|
||||
`openclaw: Node.js v${MIN_NODE_VERSION}+ is required (current: v${process.versions.node}).\n` +
|
||||
"If you use nvm, run:\n" +
|
||||
" nvm install 22\n" +
|
||||
" nvm use 22\n" +
|
||||
" nvm alias default 22\n",
|
||||
` nvm install ${MIN_NODE_MAJOR}\n` +
|
||||
` nvm use ${MIN_NODE_MAJOR}\n` +
|
||||
` nvm alias default ${MIN_NODE_MAJOR}\n`,
|
||||
);
|
||||
process.exit(1);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user