Skip to content

[All Platforms][Regression] node version is not upgrading #2178

Closed

Description

@hulynn

Description

Description:

node version is not upgraded though the

Environment:- Platform: Brev

  • NemoClaw: v0.0.20

Steps to Reproduce:

Pre-condition: 1. Machine with Node.js version < 22.16 (e.g. Node.js 20.x) source "$HOME/.nvm/nvm.sh" && nvm install 20 && nvm use 20 && node --version && which node && npm --version 2. nvm installed
	Steps:
	1. Run: node --version (confirm below 22.16)
	2. Run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
	3. Observe Node.js upgrade behavior
	4. Run: node --version (after install) </td>
</tr>

Actual:

labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ source "$HOME/.nvm/nvm.sh" && nvm install 20 && nvm use 20 && node --version && which node && npm --version
Downloading and installing node v20.20.2...
Downloading https://nodejs.org/dist/v20.20.2/node-v20.20.2-linux-x64.tar.xz...
###################################################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v20.20.2 (npm v10.8.2)
Now using node v20.20.2 (npm v10.8.2)
v20.20.2
/home/labuser/.nvm/versions/node/v20.20.2/bin/node
10.8.2
labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ nvm --version
0.40.4
labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ npm --version
10.8.2
labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ node --version
v20.20.2
labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
   ███╗   ██╗███████╗███╗   ███╗ ██████╗  ██████╗██╗      █████╗ ██╗    ██╗
   ████╗  ██║██╔════╝████╗ ████║██╔═══██╗██╔════╝██║     ██╔══██╗██║    ██║
   ██╔██╗ ██║█████╗  ██╔████╔██║██║   ██║██║     ██║     ███████║██║ █╗ ██║
   ██║╚██╗██║██╔══╝  ██║╚██╔╝██║██║   ██║██║     ██║     ██╔══██║██║███╗██║
   ██║ ╚████║███████╗██║ ╚═╝ ██║╚██████╔╝╚██████╗███████╗██║  ██║╚███╔███╔╝
   ╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝ ╚═════╝  ╚═════╝╚══════╝╚═╝  ╚═╝ ╚══╝╚══╝
  Launch OpenClaw in an OpenShell sandbox.  v0.0.20
[1/3] Node.js
  ──────────────────────────────────────────────────
[WARN]  Node.js v20.20.2, npm major 10 found but NemoClaw requires Node.js >=22.16.0 and npm >=10 — upgrading via nvm…
[INFO]  nvm installer integrity verified
  ✓  Installing nvm...
  ✓  Installing Node.js 22...
default -> 22 (-> v22.22.2)
[INFO]  Node.js installed: v22.22.2
[INFO]  Runtime OK: Node.js v22.22.2, npm 10.9.7
[2/3] NemoClaw CLI
  ──────────────────────────────────────────────────
[INFO]  Installer payload is not a persistent source checkout — installing from GitHub…
[INFO]  Installing NemoClaw from GitHub…
[INFO]  Resolved install ref: latest
  ✓  Cloning NemoClaw source
  ✓  Preparing OpenClaw package
  ✓  Installing NemoClaw dependencies
  ✓  Building NemoClaw CLI modules
  ✓  Building NemoClaw plugin
  ✓  Linking NemoClaw CLI
[INFO]  Created user-local shim at /home/labuser/.local/bin/nemoclaw
[INFO]  Created user-local shim at /home/labuser/.local/bin/nemoclaw
[INFO]  Verified: nemoclaw is available at /home/labuser/.local/bin/nemoclaw
.......

labuser@2u1g-x570-0313:/mnt/c/Users/local-xiaomingh$ node --version
v20.20.2
Expect:
Node is updated to latest >22.x

[NVB#6097713]

Activity

  1. added
    NV QABugs found by the NVIDIA QA Team
    UATIssues flagged for User Acceptance Testing.
    on Apr 21, 2026
  2. added
    platform: brevAffects Brev hosted development environments
    and removed on Apr 21, 2026
  3. self-assigned this
    on Apr 21, 2026
  4. changed the title [-][NemoClaw][All Platforms][Regression] node version is not upgrading[/-] [+][All Platforms][Regression] node version is not upgrading[/+] on Apr 21, 2026
  5. PrachiShevate-nv commented on Apr 21, 2026

    @PrachiShevate-nv

    Reproduced on NemoClaw v0.0.21. Nvbug

  6. added and removed
    platform: brevAffects Brev hosted development environments
    on Apr 22, 2026
  7. added a commit that references this issue on Apr 22, 2026
    6dbd0c4
  8. Rohitkalidindi commented on Apr 28, 2026

    @Rohitkalidindi

    @cjagwani @ericksoa able to reproduce the issue with v0.0.28
    Please reopen this issue
    Below are steps

    source "$HOME/.nvm/nvm.sh" && nvm install 20 && nvm use 20 && node --version && which node && npm --version
    curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
    node --version
    
  9. Rohitkalidindi commented on May 8, 2026

    @Rohitkalidindi

    @wscurran node version is not updated though install mentions it is upgraded

    
    [WARN]  Node.js v20.20.2, npm major 10 found but NemoHermes requires Node.js >=22.16.0 and npm >=10 — upgrading via nvm…
    [INFO]  nvm installer integrity verified
      ✓  Installing nvm...
      ✓  Installing Node.js 22...
    
    aerial@spark-6087:~$ node --version
    v20.20.2
    
  10. prekshivyas commented on May 11, 2026

    @prekshivyas
    Collaborator

    Stale-issue verification — automated

    Reported on: v0.0.20
    Verified on: v0.0.38 (current latest)
    Verification mode: runtime reproduction on Brev n2d-highmem-2 — Node 20 pre-activated via nvm to mirror reporter's setup.

    Three empirical facts

    Scenario node --version after Notes
    Same shell that ran `curl …nemoclaw.sh bash` v20.20.2
    Same shell after running the hint command from install.sh output (source "$NVM_DIR/nvm.sh" && nvm use 22) v22.22.2 Workaround #1 — ✅ works
    New terminal (bash -l reads ~/.bashrc → nvm.sh → default alias 22) v22.22.2 Workaround #2 — ✅ works

    Why the same shell is unchanged

    nvm is a shell function; install.sh runs as a child process. The child's nvm use 22 mutates its own subshell, which then exits — subprocess PATH changes cannot propagate to the parent. Unix process model, not a NemoClaw choice. Node 22 IS installed and set as default; workarounds #1 or #2 activate it. PR #2298 (v0.0.23, source has // See issue #2178. at the fix site) added the explicit hint, captured verbatim in our run.

    Asking the right person

    @hulynn @Rohitkalidindi — when you ran node --version after install and saw v20, did you also try one of:

    • source "${NVM_DIR:-$HOME/.nvm}/nvm.sh" && nvm use 22 in the same terminal, or
    • opening a fresh terminal?

    Both are verified to land at v22.22.2 above. If you tried either and it didn't work, please reopen with the output.

    @cjagwani @PrachiShevate-nv — flagging for label decision. The bug-as-strictly-described is structurally unchangeable from a curl | bash installer; PR #2298 is the team's best-available answer. Consider status: wont-fix if you agree.

    No label applied by this verification run.

  11. wscurran commented on May 13, 2026

    @wscurran
    Contributor

    @hulynn closing. See @prekshivyas comment above and re-open if this is still blocking QA.

  12. added theissue type on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions