fix(runtime): support Node 22.14 installs

This commit is contained in:
Peter Steinberger
2026-03-25 06:15:21 -07:00
parent 3c3fd8c386
commit ea08f2eb8c
26 changed files with 56 additions and 55 deletions

View File

@@ -161,7 +161,7 @@ async function resolvePackageRuntimePreflightError(params: {
return [
`Node ${process.versions.node ?? "unknown"} is too old for openclaw@${targetLabel}.`,
`The requested package requires ${status.nodeEngine}.`,
"Upgrade Node to 22.16+ or Node 24, then rerun `openclaw update`.",
"Upgrade Node to 22.14+ or Node 24, then rerun `openclaw update`.",
"Bare `npm i -g openclaw` can silently install an older compatible release.",
"After upgrading Node, use `npm i -g openclaw@latest`.",
].join("\n");