분명 멀쩡하게 아까까지만(?) 해도 배포했었는데, vercel에서 갑자기 Type error: Cannot find module 에러가 났다
크게 변동한건 없었고 그냥 file의 대소문자만 변동해서 push 했었는데..
ex. Vercel.tsx -> vercel.tsx
그래서 뒤져보니 깃허브에서는 수정된 내용이 반영이 안됐다는 거다..
https://vercel.com/guides/how-do-i-resolve-a-module-not-found-error
How to Resolve the 'module not found' Error
The 'module not found' error is a syntax error that appears when the static import statement cannot find the file at the declared path. Learn how to fix this error.
vercel.com
아래 명령어 입력 후
git config core.ignorecase false
git rm -r --cached .
다시 커밋해서 푸시하면 될 것이다.
728x90
'Etc' 카테고리의 다른 글
조직 침묵 (1) | 2024.09.03 |
---|---|
Vercel 에 Image 402 Payment Error (0) | 2024.08.23 |
사이드 프로젝트 배포! (0) | 2024.08.10 |
2023 한 해를 돌아보는 찌끄레기 QA (0) | 2023.12.23 |
github actions - repository_dispatch (0) | 2023.06.05 |