OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Node not available in agent terminal inside runtime container

Open LordSyd opened this issue 2 months ago • 3 comments

Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).

  • [x] I have checked the existing issues.

Describe the bug and reproduction steps

I have a similar problem to this issue, but can't find another open one discussing something similar: https://github.com/All-Hands-AI/OpenHands/issues/3555

I start openhands GUI via uvx --python 3.12 --from openhands-ai openhands serve

In the VSCode terminal from the GUI node works as expected:

Image

But in the terminal the agent uses node is not recognised:

Image

Might be there are some wrong permissions or wrong path variables set.

Regards, Daniel

OpenHands Installation

Docker command in README

OpenHands Version

0.58

Model Name

Devstral

Operating System

WSL on Windows

Logs, Errors, Screenshots, and Additional Context

Image Image

LordSyd avatar Oct 06 '25 10:10 LordSyd

Hmmmm @xingyaoww do you know what might be happening here?

mamoodi avatar Oct 06 '25 13:10 mamoodi

This issue is stale because it has been open for 40 days with no activity. Remove the stale label or leave a comment, otherwise it will be closed in 10 days.

github-actions[bot] avatar Nov 16 '25 02:11 github-actions[bot]

i have the same error but i using SANDBOX_BASE_CONTAINER_IMAGE

the docker file of base

FROM nikolaik/python-nodejs:python3.12-nodejs22

RUN apt-get update && apt-get install --no-install-recommends git && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

RUN npm install --location=global @nestjs/cli npm-check-updates --verbose

vinisdl avatar Nov 27 '25 03:11 vinisdl