Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't install nodejs #1774

Open
2 tasks done
xplorer990 opened this issue May 14, 2024 · 7 comments
Open
2 tasks done

[Bug]: Can't install nodejs #1774

xplorer990 opened this issue May 14, 2024 · 7 comments
Labels
bug Something isn't working severity:medium Problems that affect many users

Comments

@xplorer990
Copy link

Is there an existing issue for the same bug?

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

image
image
image

@xplorer990 xplorer990 added the bug Something isn't working label May 14, 2024
@xplorer990
Copy link
Author

image
With the latest version and agent: codeagent and gtp-4o model i get this.

@rbren rbren changed the title [Bug]: [Bug]: Can't install nodejs May 14, 2024
@rbren
Copy link
Collaborator

rbren commented May 14, 2024

See #1476 for the malformed paths issue (though that filename should be fine?)

@rbren rbren added the severity:medium Problems that affect many users label May 14, 2024
@SmartManoj
Copy link
Collaborator

SmartManoj commented May 15, 2024

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.

@Genuifx
Copy link

Genuifx commented May 16, 2024

@SmartManoj Currently i am running OpenDevin from source, after make build, my sandbox install but can not find nodejs.

ghcr.io/opendevin/sandbox:main

@SmartManoj
Copy link
Collaborator

SmartManoj commented May 16, 2024

Step 1 completed?

@Genuifx
Copy link

Genuifx commented May 16, 2024

@SmartManoj Yes, I use Conda to install the deps. It looks like the sandbox is pulled from the remote server not built by local.

@SmartManoj
Copy link
Collaborator

Node and npm need to be installed in the sandbox too.

@Genuifx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity:medium Problems that affect many users
Projects
None yet
Development

No branches or pull requests

4 participants