프론트엔드 배포 502 에러 해결#125
Merged
seong-jin-jo merged 1 commit intodevelopfrom Aug 25, 2025
Hidden character warning
The head ref may contain hidden characters: "\ud504\ub860\ud2b8\uc5d4\ub4dc-\ubc30\ud3ec-\uc5d0\ub7ec"
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
프론트엔드 502 에러 해결을 위한 pr 입니다.
Dockerfile 버전 업데이트 하여 시도해보려고 합니다.
++ 추가적으로 만약 이걸로 해서 해결한다면 제가 생각한 원인이 맞다는 가정하에 말씀드리겠습니다...
저희 깃허브 로그를 보면
error eventsource-parser@3.0.5: The engine "node" is incompatible with this module. Expected version ">=20.0.0". Got "18.20.8"이런 오류가 있습니다.
eventsource-parser라는 게 노드 버전을 20 이상을 요구하는데, 저희는 노드 18을 쓰고 있어서 생기는 오류라는 건데...
문제는 이 녀석이 왜 추가된 건지 모르겠습니다.
eventsource-parser라는 게 SSE에 사용되는 서버 전송 스트리밍 관련 의존인데...
찾아보니 그나마 가능성 있는 이유가 저희가 직접 추가한 게 아니라, 추가한 의존성의 하위로 들어갈 수 있다고 합니다..
그런데 제가 추가한 react hook form 이나 zod 는 상태 관리지, 스트리밍과 관련이 없는 의존성이고 저희가 추가할 일도 없는데 대체 저 녀석이 어디서 추가된 건지도 모르겠고..... 왜 저게 있는지도 모르겠습니다.
해결 방법이 도커파일에서 프로즌 시켜서 CI가 재해석을 하지 못하게 막으면 이런 일을 방지할 수 있다는데....
일단 이걸 방지하는 것보다는 저희가 할 일이 많으니... 나중에 한 번 살펴봐야할 것 같습니다..