AWS Amplify 빌드 중 에러
git repo에 연동해서 자동 빌드-배포 실행했는데, 다른 것도 아니고 뜬금없이 Module not found: Can't resolve '/...'
2024-06-12T05:08:07.742Z [WARNING]: ./app/_components/layout/Sidebar.tsx
Module not found: Can't resolve '@/_components/auth/signout/actions'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Sidebar.tsx
Module not found: Can't resolve '@/public/icons/signouticon.png'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Signin.tsx
Module not found: Can't resolve '@/_components/auth/signin/LoginForm'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Signin.tsx
Module not found: Can't resolve '@/_components/auth/signup/SignupForm'
https://nextjs.org/docs/messages/module-not-found
> Build failed because of webpack errors
...
로컬에서 작업 중일 때는 경로에 아무 문제 없었는데..??
git repo에 푸시된 파일을 뜯어보니 이상한 점을 찾았다

'@/_components/auth/signup/SignupForm'
로컬에는 이 경로에 대문자로 시작하는 SignupForm.tsx 파일이 있는데, git repo에는 signupForm.tsx로 되어있던것....!
생각해보니까 작업하면서 폴더나 파일명을 대소문자를 수정한 것들이 있었는데 변경 사항이 하나도 적용되지 않았다.
그래서 다시 푸시했는데도 엥? 적용이 안된다

이거 보고 해결했다~!
git cache은 대소문자를 트래킹하지 않는구나...를 배웠다