openclaw-windows-node icon indicating copy to clipboard operation
openclaw-windows-node copied to clipboard

[Bug] Companion v2026.10.5-alpha.4 WSL setup fails: pinned Node 24.19.0 rejected by install-cli (requires 24.22.1+)

Open urielcast18 opened this issue 1 month ago • 5 comments

Summary

A clean local WSL Gateway setup through OpenClaw Companion v2026.10.5-alpha.4 (Windows x64) fails at install-cli because the setup engine pins Node.js 24.19.0, but the current OpenClaw CLI installer requires Node.js 24.22.1+ or 26.12.1+.

This blocks onboarding even though the Windows/WSL preflight steps succeed.

Environment

  • OpenClaw Companion: v2026.10.5-alpha.4 (Windows x64 installer)
  • OS: Windows 11 x64, build 26200.6584 (reported by WSL)
  • Installation path: Install a local Gateway (WSL)
  • WSL distro: Ubuntu 24.04 as app-owned OpenClawGateway
  • Permissions preset: Strict

Actual behavior

The setup progresses through WSL compatibility checks and Gateway preparation, then fails at the CLI installation step:

Step 'install-cli' failed: CLI install failed (exit 1):
ERROR: Node 24.19.0 is unsupported; use Node 24.22.1+ or Node 26.12.1+.

The preceding log confirmed the installer invoked wsl.exe --install --distribution Ubuntu-24.04 --name OpenClawGateway ... --no-launch --web-download, and this subsequent failure occurs at install-cli. An earlier attempt had failed during wsl-create with exit -1 and no output, but the latest attempt progressed beyond WSL creation.

Source evidence

The released tag pins an incompatible version in src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:

This appears to be a release/source version drift rather than missing WSL support or a user-provided Node installation problem.

Related older reports with the same failure pattern for a previous pinned Node version: #1364 and #1394.

Expected behavior

The graphical Windows Companion setup should select a Node.js version accepted by the OpenClaw CLI installer and complete local Gateway setup without requiring users to manually modify WSL or install another runtime.

Request

Could you publish a refreshed Windows x64 Companion installer incorporating the corrected Node pin, or provide an official GUI-supported recovery/update path for installations already blocked at install-cli?

No security controls or WSL isolation settings were disabled during these attempts.

urielcast18 avatar Oct 22 '26 18:10 urielcast18

Codex review: this still needs some work.

Summary Keep open: the runtime correction is merged, but no published Companion release contains it, and this issue explicitly requests an installer or GUI recovery for the affected release.

Reproducibility: no. current-main failure was reproduced: source and regression assertions use Node 24.22.1, while the affected release source corroborates the reported 24.19.0 argument; no builds, tests, or installers ran during this read-only review.

Maintainer decision needed

  • Question: Should the merged runtime correction receive a refreshed x64 installer now or ship in the next scheduled Companion release?
  • Recommendation: Publish a refreshed installer: Include the merged runtime correction, verify fresh WSL setup and failed-setup recovery on x64, and provide a visible GUI update or recovery route.
  • Why: The code correction is complete, but choosing and publishing a release remains necessary to satisfy the reported onboarding recovery request.

Next step Choose a release containing the merged runtime correction and provide a visible GUI update or recovery action, then verify fresh x64 WSL setup and retry from the affected installer.

Review details

Best possible solution:

Deliver the corrected runtime in a refreshed x64 installer with a visible update or recovery action that lets affected users retry the setup wizard.

Do we have a high-confidence way to reproduce the issue?

No current-main failure was reproduced: source and regression assertions use Node 24.22.1, while the affected release source corroborates the reported 24.19.0 argument; no builds, tests, or installers ran during this read-only review.

Is this the best way to solve the issue?

The merged pin correction addresses the runtime rejection, but another code-fix PR would duplicate completed work; delivery and verification of the released installer are the remaining steps.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • No published installer containing the corrected runtime was found.
  • Fresh x64 setup and recovery from the affected released installer have not been verified in this review.

Codex review notes: model internal, reasoning medium; reviewed against bef07da01911; fix evidence: commit 51f18c1222c9, main fix timestamp 2026-10-22T06:52:53Z.

Label changes

Label changes:

  • add P0: The reported graphical first-run WSL installation cannot complete on the published build, and no verified in-product recovery is available.
  • add impact:ux-release-blocker: An ordinary installer user is blocked before a useful Gateway run and needs a refreshed installer or supported GUI recovery.
  • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
  • add clawsweeper:not-repro-on-main: Current issue advisory state selects this label.
  • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
  • add clawsweeper:fix-shape-clear: Current issue advisory state selects this label.
  • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.

Label justifications:

  • P0: The reported graphical first-run WSL installation cannot complete on the published build, and no verified in-product recovery is available.
  • impact:ux-release-blocker: An ordinary installer user is blocked before a useful Gateway run and needs a refreshed installer or supported GUI recovery.
Evidence reviewed

What I checked:

  • Explicit release recovery request: The full report identifies v2026.10.5-alpha.4, supplies the install-cli rejection, acknowledges the corrected main pin, and explicitly requests a refreshed x64 installer or official GUI recovery; the discussion and timeline contain only intake automation.
  • Affected published source: The v2026.10.5-alpha.4 tag resolves to f81edef9a06222e4eea5a93dd21ecfb7e3002c10 and its GatewayInstallPolicy pins Node 24.19.0, matching the reported rejected argument. (src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:149, f81edef9a062)
  • Current main consumes and verifies the corrected pin: Current main pins Node 24.22.1; InstallCliStep supplies that constant to official installations and requires the installed runtime to match it exactly. (src/OpenClaw.SetupEngine/InstallCliStep.cs:77, bef07da01911)
  • Merged runtime correction: https://github.com/openclaw/openclaw-windows-node/pull/1824 (fix(setup): install a Node runtime supported by the Gateway) merged as 51f18c1222c996fb6fa2eb4d7e8d668492103a0e; its patch changes 24.19.0 to 24.22.1, and its body records successful hosted WSL setup with the corrected runtime. (src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:149, 51f18c1222c9)
  • Fix provenance and regression assertions: The fixing commit is dated 2026-10-22T06:52:53Z and updates two installer-command assertions to independently require Node 24.22.1; these tests were inspected, not executed. (tests/OpenClaw.SetupEngine.Tests/SetupStepsTests.cs:1974, 51f18c1222c9)
  • Publication remains outstanding: The latest published release object is v2026.10.5-alpha.4 from October 20 and includes OpenClawCompanion-Setup-x64.exe; the paginated release check found no publication at or after the October 22 fix, and git tag --contains returned no containing tag. (51f18c1222c9)

Likely related people:

  • Dallin Romney: Raw commit 51f18c1222c996fb6fa2eb4d7e8d668492103a0e adds src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:149 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 51f18c1222c9; files: src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs)
How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Reviewed October 22, 2026, 2:23 PM ET / 18:23 UTC.

clawsweeper[bot] avatar Oct 22 '26 18:10 clawsweeper[bot]

issue is resolved? cause i get same error with windows store version and from site

polemarxos avatar Oct 28 '26 22:10 polemarxos

I have the same problem on Windows 10 Enterprise 22H2 (build 19045.6466). The OpenClaw Windows app v2026.9.8-1 fails at the install-cli step with "CLI install failed (exit 1)". The error says the bundled Node.js is 24.19.0, but this release requires Node 24.22.1 or newer. Retrying doesn't fix it.

bilalakram00082-glitch avatar Nov 01 '26 00:11 bilalakram00082-glitch

Still blocked on Windows 10 (19045) as of Nov 6 with v2026.10.5-alpha.4. The fix from #1824 is on main but no release includes it yet. Could a refreshed x64 installer be published? Happy to test it.

seralifatih avatar Nov 06 '26 15:11 seralifatih

The refreshed installer is now published. v2026.11.1, released November 7, includes OpenClawCompanion-Setup-x64.exe and the Node 24.22.1 correction from #1824 (fix(setup): install a Node runtime supported by the Gateway). The release tag itself pins 24.22.1, and the fixing PR records successful real WSL setup with that runtime. Closing this specific 24.19.0 rejection as fixed. Update Companion using the v2026.11.1 installer and retry the normal setup flow; no manual WSL/runtime edits or data reset are required by this correction. If it still reports 24.19.0 after updating, please reopen with the running Companion version and sanitized install-cli error. Store rollout timing and unrelated setup failures are not implied by this closure.

Release: https://github.com/openclaw/openclaw-windows-node/releases/tag/v2026.11.1

roboclaw-bot avatar Nov 10 '26 19:11 roboclaw-bot