galv-team / galv-frontend

React app to provide a user-friendly interface to the Galv REST API
https://galv-team.github.io/galv-frontend/
Other
6 stars 0 forks source link

Error on `docker-compose up frontend` #10

Closed BradyPlanden closed 3 months ago

BradyPlanden commented 3 months ago

Describe the bug Currently, docker-compose up frontend results in the following error:

image

To Reproduce Run docker-compose up frontend

Additional context Hardware: M3 Macbook Pro, using Colima as container runtimes

mjaquiery commented 3 months ago

Can you try adding the --build flag into the command and see if that resolves it? The issue is that the project hasn't downloaded the backend's API file.

docker-compose build frontend
docker-compose up frontend

or

docker-compose up --build frontend
BradyPlanden commented 3 months ago

That did the trick 👍

Should --build be added to the development command on the README?

mjaquiery commented 3 months ago

Good call.

mjaquiery commented 3 months ago

Should be closed by https://github.com/galv-team/galv-frontend/commit/836439a029648c5d76710b3089a3bc51cedb1c24