go-coffeeshop icon indicating copy to clipboard operation
go-coffeeshop copied to clipboard

Cannot start the project

Open thanhtam98 opened this issue 1 year ago • 4 comments

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 avatar Jun 15 '23 14:06 thanhtam98

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

thanhtam98 avatar Jun 15 '23 15:06 thanhtam98

thanhtam98

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

jianjustin avatar Oct 29 '23 07:10 jianjustin

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

liyaodev avatar Jul 01 '24 07:07 liyaodev

@thanhtam98 Did you fix it? 3ks.

liyaodev avatar Jul 01 '24 07:07 liyaodev