Docker fails to work (sh: vite: not found)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 4.3k
- PR merge metrics
- No merged PRs in 30d
Description
running the build command, the logs show it builds just fine, backend comes up but the frontend fails...
chatdev_frontend |
chatdev_frontend | > devall@0.0.0 dev
chatdev_frontend | > vite --host
chatdev_frontend |
chatdev_frontend | sh: vite: not found
chatdev_frontend exited with code 0
chatdev_frontend |
chatdev_frontend | > devall@0.0.0 dev
chatdev_frontend | > vite --host
chatdev_frontend |
chatdev_frontend | sh: vite: not found
chatdev_frontend exited with code 0
chatdev_frontend |
chatdev_frontend | > devall@0.0.0 dev
chatdev_frontend | > vite --host
chatdev_frontend |
chatdev_frontend | sh: vite: not found
chatdev_backend | /opt/venv/lib/python3.12/site-packages/requests/init.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
chatdev_backend | warnings.warn(
chatdev_frontend exited with code 127
Tried pinning requests package, but that seems unrelated...
Any help would be welcome.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Docker build and inspecting the frontend dependency setup and container configuration; the issue does not name specific files or tests. Done means the frontend container starts successfully and the dev command no longer reports “vite: not found,” while the backend warning is assessed separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- devops, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100