42Seoul-Tea42 / matcha

0 stars 0 forks source link

Makefile 이슈 #5

Open OZestina opened 7 months ago

OZestina commented 7 months ago

make 시 .gitmodules을 실행하는 과정에서 하기 에러가 발생합니다. git submodule에 이미 해당하는 내용이 있으면 발생하는 것 같은데, 추후 수정이 필요할 것 같아요!

git submodule add -b main git@github.com:42Seoul-Tea42/backend.git; git submodule add -b main git@github.com:42Seoul-Tea42/frontend.git; git submodule add -b main git@github.com:42Seoul-Tea42/service.git; git submodule add -b main git@github.com:42Seoul-Tea42/env.git; git submodule add -b main git@github.com:42Seoul-Tea42/matcha-docs.git; 'backend' already exists in the index 'frontend' already exists in the index 'service' already exists in the index 'env' already exists in the index 'matcha-docs' already exists in the index make: *** [.gitmodules] Error 1

JaeJunday commented 6 months ago

특정한 상황에서 발생한 에러인가요? 어떤상황에서 에러가 발생한건지 공유해주세요.

OZestina commented 6 months ago

git clone 후 최초 1회는 발생하지 않습니다. 그 이후 이미 submodule이 추가된 상태에서 make 실행 시 발생합니다.

.gitmodules 을 주석처리 하고 make 하면 이상없이 도커 실행됩니다.