Open
Description
Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).
- I have checked the existing issues.
Describe the bug and reproduction steps
This was same as report in stale issue #905: make run nc not found, just getting situated with Dev environment so I'll record the journey here in the hopes people find it.
Here's what I did:
- Installed all the reqs, I'm at python 3.12
- Clone openhands at main
- Reopen in VSCode devcontainer
- make build, completed OK
- make setup-config, added LLM details
- make run
Expected: Devcontainer setup instructions Just Work.
Observed: That never happens in real life 🤣
- On first
make run
:nc: not found
. Ranapt install -y netcat
(May need to be added as RUN in Dockerfile) - On attempt to
start-frontend
:cross-env: not found
. This led me to the frontend node app not being installed/built as cross-env is one of its dependencies.- Entered
frontend
,npm install
,npm run build
OK, retry start-frontend OK, frontend loads. Great! Need a backend.
- Entered
- Ran
start-backend
: That worked fine, OK - Back to project root and
make run
: That worked fine, OK- Advanced settings, added base URL, [provider]/[model] info, 'dummy' for API Key based on devstral docs
- UI works
TODO:
- It looks like the only issue here is the missing container dependency for
netcat
, which can be installed in the container directly viaapt install -y netcat
. This would be added to the container definition for the devcontainer itself, if I have time to learn about if that's any different from Docker I may just make my first contribution.
Otherwise, hopefully this helps someone trying to get up and running with devcontainers. 🙌
OpenHands Installation
Development workflow
OpenHands Version
main
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
No response