OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: make build needs root permission

Open huybery opened this issue 9 months ago • 3 comments

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

(base) binyuanh@iZt4n5pogo006xy6aozyylZ:~/OpenDevin$ make build
Building project...
Checking dependencies...
Checking system...
Linux detected.
Checking Python installation...
Python 3.11.9 is already installed.
Checking npm installation...
npm 10.1.0 is already installed.
Checking Node.js installation...
Node.js 20.9.0 is already installed.
Checking Docker installation...
Docker version 26.1.0, build 9714adc is already installed.
Checking Poetry installation...
Poetry (version 1.8.2) is already installed.
Dependencies checked successfully.
Pulling Docker image...
Using default tag: latest
latest: Pulling from opendevin/sandbox
Digest: sha256:4bd05c581692e26a448bbc6771a21bb27002cb0e6bcf5034d0db91bb8704d0f0
Status: Image is up to date for ghcr.io/opendevin/sandbox:latest
ghcr.io/opendevin/sandbox:latest
Docker image pulled successfully.
Installing Python dependencies...
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: opendevin (0.1.0)
Installing dependencies...
Switching to root user to install dependencies...
[sudo] password for binyuanh: 

Current Version

0.4.1

Installation and Configuration

`make build`

Model and Agent

No response

Reproduction Steps

No response

Logs, Errors, Screenshots, and Additional Context

No response

huybery avatar May 03 '24 16:05 huybery

https://github.com/OpenDevin/OpenDevin/blob/1d92e9a27bf67b856e71aa9d5c8f18d3919024ab/Makefile#L131 Does this line ask?

SmartManoj avatar May 04 '24 10:05 SmartManoj

@SmartManoj yes

huybery avatar May 04 '24 16:05 huybery

installing dependencies requires root access https://github.com/microsoft/playwright/issues/11165#issuecomment-1004780821

SmartManoj avatar May 05 '24 03:05 SmartManoj