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

Cannot start the project #30

Open
thanhtam98 opened this issue Jun 15, 2023 · 5 comments
Open

Cannot start the project #30

thanhtam98 opened this issue Jun 15, 2023 · 5 comments

Comments

@thanhtam98
Copy link

Hi Mr ThangChung,

When jumped to .devcontainner and did the command make docker-compse, I ran into this error

docker-compose down --remove-orphans -v
Removing network go-coffeeshop_coffeeshop-network
docker-compose up --build
Creating network "go-coffeeshop_coffeeshop-network" with the default driver
Building product
ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/
ERROR: Service 'product' failed to build : Build failed
make: *** [Makefile:42: docker-compose-start] Error 1

Could you me help me get through this issue.

@thanhtam98
Copy link
Author

I found that .env file is missing at the root of the project, can you help me to check it

@jianjustin
Copy link

thanhtam98

I had similar problem, then I tried creating empty .env file, it worked

@liyaodev
Copy link

liyaodev commented Jul 1, 2024

I also encountered a similar problem. I used the windows 11 system locally, and docker was installed directly using Docker-Desktop.

@liyaodev
Copy link

liyaodev commented Jul 1, 2024

@thanhtam98 Did you fix it? 3ks.

@vigneshs-dev
Copy link

thanhtam98

I had similar problem, then I tried creating empty .env file, it worked

I tried the above step. First time it worked. After that it was not working. I tried to delete and create the .env file. Even after that there is no improvement. Can someone please help me to solve this ?

@thangchung
@jianjustin

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

4 participants