OpenHands
OpenHands copied to clipboard
[Bug]: Can't install nodejs
Is there an existing issue for the same bug?
- [X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
- [X] I have checked the existing issues.
Describe the bug
despite node and npm being installed opendevin says npm is not installed and when it tries to install it nothing happens
Current Version
opendevin:0.5 WSL2 Ubuntu 22.04
Installation and Configuration
enli@LY5:~/4/OpenDevin$ export WORKSPACE_BASE=$(pwd)/workspace;
enli@LY5:~/4/OpenDevin$ docker run \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
-v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 3000:3000 \
--add-host host.docker.internal=host-gateway \
ghcr.io/opendevin/opendevin:0.5
Model and Agent
Model: gpt-4-turbo-2024-04-09 Agent: CodeActAgent
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
With the latest version and agent: codeagent and gtp-4o model i get this.
See https://github.com/OpenDevin/OpenDevin/issues/1476 for the malformed paths issue (though that filename should be fine?)
Node and npm need to be installed in the sandbox too. What is the task?
In step 1, it is being installed. Output is not a streaming one.
@SmartManoj Currently i am running OpenDevin from source, after make build, my sandbox install but can not find nodejs.
ghcr.io/opendevin/sandbox:main
Step 1 completed?
@SmartManoj Yes, I use Conda to install the deps. It looks like the sandbox is pulled from the remote server not built by local.
Node and npm need to be installed in the sandbox too.
@Genuifx
@xplorer990 does the original issue still happen with the newer builds?
Going to close this. It seems that there may be a misunderstanding. Even though you have them installed on your current system, they still need to be installed in your sandbox too. For installing them in your sandbox, try the latest 0.6.2 tag and open a new issue or re-open with more details please.
Correction: "main", not "0.6.2"