fix(install): align Node version, use HTTPS, fix recovery hint (Fixes #120)#121
fix(install): align Node version, use HTTPS, fix recovery hint (Fixes #120)#121stevenobiajulu wants to merge 1 commit intoNVIDIA:mainfrom
Conversation
|
Thanks for streamlining the installer and making it easier for new users to get started with NemoClaw, these fixes will definitely improve the onboarding experience. |
|
Hey @stevenobiajulu, thanks for tackling the Node version alignment and HTTPS fix — those install-time issues really matter for first impressions. Wanted to let you know the repo has been evolving quickly since this PR was opened, with new CI checks and a number of other changes landing. Would you be up for rebasing onto the latest main? We'd like to consider merging this but want to make sure everything lines up. Thanks! |
|
Thanks @cv! Happy to rebase -- I'll get that done today and push the update. |
- Use $RECOMMENDED_NODE_MAJOR (22) instead of hardcoded 24. Aligns with Dockerfile (node:22-slim), brev-setup.sh (setup_22.x), test/Dockerfile.sandbox, and the variable defined on line 20. - Switch fallback npm install from git+ssh:// to git+https://. Users without GitHub SSH keys configured would fail to install. Matches the HTTPS URL used in scripts/install.sh (PR NVIDIA#89). - Update recovery hint to use GitHub URL instead of `npm install -g nemoclaw`, which fails until the package is published (NVIDIA#71). Signed-off-by: Steven Obiajulu <steven@usejunior.com>
f34d64d to
9731f75
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe changes update Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
|
@cv Rebased onto latest main — conflicts resolved, ready for another look. What changed during rebase: The original PR had 3 fixes; one (SSH → HTTPS in the fallback install path) is now redundant since upstream rewrote that block to use
Verification:
|
Summary
Three installer consistency fixes in
install.shthat reduce first-run friction for new users.nvm install 24nvm install "$RECOMMENDED_NODE_MAJOR"git+ssh://git@github.com/nvidia/NemoClaw.gitgit+https://github.com/NVIDIA/NemoClaw.gitnpm install -g nemoclawnpm install -g "git+https://github.com/NVIDIA/NemoClaw.git"Fixes #120
Detail
Node version:
RECOMMENDED_NODE_MAJOR=22is defined on line 20 but was never referenced. The Dockerfile, test Dockerfile, brev-setup.sh, scripts/install.sh, and README all use Node 22. Now the installer does too.SSH → HTTPS: The fallback
npm install -gpath usedgit+ssh://, which requires SSH keys configured for GitHub. For a public repo,git+https://works without auth setup.scripts/install.shalready uses HTTPS (PR #89).Recovery hint: When
nemoclawisn't found on PATH after install, the error suggestednpm install -g nemoclaw, which fails because the package isn't published to npm yet (#71). Updated to use the same GitHub URL.Test plan
npm test)make check— 3 TS errors in unrelated files, same on main)RECOMMENDED_NODE_MAJOR=22confirmed consistent across README, Dockerfile, test/Dockerfile.sandbox, brev-setup.sh, scripts/install.sh./install.shon a machine without Node.js installedSummary by CodeRabbit
Bug Fixes
Chores