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

Frontend container fails to start sometimes #465

Closed
jonchang opened this issue Dec 6, 2024 · 0 comments
Closed

Frontend container fails to start sometimes #465

jonchang opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@jonchang
Copy link
Collaborator

jonchang commented Dec 6, 2024

When starting the dev-env using docker with the following command:

docker compose -f dev-env.yaml up

Occasionally it fails to start with this error message:

frontend-1  | 
frontend-1  | > [email protected] dev
frontend-1  | > vite --host
frontend-1  | 
frontend-1  | sh: 1: vite: not found
frontend-1 exited with code 127

I have found that fixing it requires installing vite on the host machine in order to ensure that it appears in node_modules. This doesn't seem right to me (the docker container should be able to install vite from scratch within the container itself)

@jonchang jonchang mentioned this issue Dec 6, 2024
4 tasks
@jonchang jonchang self-assigned this Dec 6, 2024
@jonchang jonchang closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant