Case sensitivity. macOS doesn't care about Button.tsx vs button.tsx, Linux (Vercel's build) does. And git on a Mac often doesn't record a case-only rename, so GitHub may still have Button.tsx while your imports say button, or the other way around.
Look at what git actually has:
git ls-files components/ui | grep -i buttonThen fix it in git, not in Finder:
git mv components/ui/Button.tsx components/ui/button.tsx
git commit -m "fix case of button.tsx"and make all imports match. To stop it from happening again:
git config core.ignorecase falsenext build in a case-sensitive Docker container, if you ever need to reproduce it. sarah_k_dev · edited