NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

nemoclaw 0.1.0 fails because required openshell CLI is missing and undeclared

Open RochITWatkins opened this issue 8 months ago • 6 comments

Environment:

  • Host: spark-1952
  • Node: v22.22.1
  • nemoclaw: 0.1.0

Problem: Running:

nemoclaw cio-monday-v1 connect

fails because nemoclaw shells out to openshell, but no openshell binary is installed or declared as a dependency.

Observed error: bash: line 1: openshell: command not found Command failed (exit 127): openshell sandbox connect "cio-monday-v1"

What I verified:

  • which openshell returns nothing
  • nemoclaw is installed and runnable
  • nemoclaw package.json does not declare the OpenShell CLI as a dependency
  • the public npm package named openshell appears to be unrelated

Relevant code: /home/admin/.nvm/versions/node/v22.22.1/lib/node_modules/nemoclaw/nemoclaw/dist/commands/connect.js

It contains: spawn("openshell", ["sandbox", "connect", sandboxName], { stdio: "inherit" })

Expected behavior:

  • either the correct OpenShell CLI should be installed/declared as a dependency
  • or install docs should clearly state it is a prerequisite and how to install it
  • or nemoclaw should fail earlier with a clearer preflight/setup error

Impact: Fresh installs cannot use commands that depend on openshell, including connect and likely other sandbox-related commands.

RochITWatkins avatar Mar 19 '26 13:03 RochITWatkins

Implemented this in my fork and opened a PR.

Changed:

  • nemoclaw/src/commands/openshell-cli.ts
  • nemoclaw/src/commands/connect.ts
  • nemoclaw/src/commands/status.ts
  • nemoclaw/src/commands/logs.ts
  • docs/reference/commands.md
  • matching built output under nemoclaw/dist/commands/

What changed:

  • added an explicit preflight check for the required openshell CLI
  • connect, status, and logs now fail earlier with a clearer missing-prerequisite message
  • documented in the command reference that these host-side sandbox-management commands require OpenShell CLI on PATH

Validation:

  • ran npm install in nemoclaw/
  • ran npm run build in nemoclaw/
  • PASS

PR: https://github.com/NVIDIA/NemoClaw/pull/413

sameertele avatar Mar 19 '26 15:03 sameertele

Thanks for pointing out that the nemoclaw command fails due to a missing openshell binary, which is not declared as a dependency, and we should make sure to include it or provide clear instructions on how to install it.

wscurran avatar Mar 20 '26 22:03 wscurran

This is an issue: bash: openshell: command not found Command failed (exit 127): openshell sandbox connect [name]

richfergus avatar Mar 23 '26 05:03 richfergus

Please run this command to install nemoclaw. It will install openshell if missing. curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

zyang-dev avatar Mar 25 '26 01:03 zyang-dev

Just installed latest, still failing for me on ubuntu

IonCaza avatar Mar 25 '26 15:03 IonCaza

curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash checks whether openshell is installed. If openshell is not found on the system, it installs it automatically.

Closing this issue. Please reopen it if you still see “openshell not found” when running curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash.

zyang-dev avatar Apr 01 '26 15:04 zyang-dev