build: align Node 22 guidance with 22.16 minimum

This commit is contained in:
Altay
2026-03-12 15:26:36 +03:00
committed by Ayaan Zaidi
parent 0a8d2b6200
commit b0f717aa02
8 changed files with 12 additions and 10 deletions

View File

@@ -1380,7 +1380,7 @@ ensure_default_node_active_shell() {
echo "Then open a new shell and rerun:"
echo " curl -fsSL https://openclaw.ai/install.sh | bash"
else
echo "Install/select Node.js 22+ and ensure it is first on PATH, then rerun installer."
echo "Install/select Node.js ${NODE_DEFAULT_MAJOR} (or Node ${NODE_MIN_VERSION}+ minimum) and ensure it is first on PATH, then rerun installer."
fi
return 1
@@ -1477,7 +1477,7 @@ install_node() {
fi
else
ui_error "Could not detect package manager"
echo "Please install Node.js 22+ manually: https://nodejs.org"
echo "Please install Node.js ${NODE_DEFAULT_MAJOR} manually (or Node ${NODE_MIN_VERSION}+ minimum): https://nodejs.org"
exit 1
fi