Fix installer Node runtime mismatch#68
Open
rolandkakonyi wants to merge 1 commit intoopenclaw:mainfrom
Open
Conversation
Ensure install.sh uses Node >=22 for npm install steps even when nvm Node 20 is first on PATH. Add a compatibility shim so the installed openclaw command still runs via a supported Node runtime in mixed-version shells. Also fixes shellcheck warning in shim log output.
|
@rolandkakonyi is attempting to deploy a commit to the Jamie's projects Team on Vercel. A member of the Team first needs to authorize it. |
18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.shcan leaveopenclawbound to an oldernode(for examplenvmNode 20), even after installing Node 22.openclawimmediately fails withopenclaw requires Node >=22.12.0.>=22) for installer operations.openclawlauncher using the selected Node 22 runtime when original shell PATH still points to unsupported Node.openclawitself; this PR only updates installer behavior inopenclaw.ai.Linked Issue/PR
Verification
ubuntu:24.04) withnvmNode 20 active before running installer.install.sh:Using Node.js runtime at /usr/bin/nodeopenclaw --versionsucceedsopenclaw config set gateway.mode localsucceedsshellcheck -s bash public/install.shafter changes (clean).Risk / Rollback
AI-Assisted Contribution
nvmNode 20 environment.openclawinvocation.Companion Test PR
openclaw: Installer smoke: add unsupported Node-path regression openclaw#21307openclaw.aiinstaller fix should merge first, then theopenclawregression-test PR.