Check the actual filename in git. I bet it's navbar.tsx (lowercase) or was at some point.
macOS is case-insensitive, so Navbar and navbar are the same file for you. Vercel builds on Linux, which is case-sensitive. And git on Mac usually has core.ignorecase = true, so renaming the file in Finder doesn't tell git anything changed.
git ls-files | grep -i navbar
# components/navbar.tsx <- there it is
git mv components/navbar.tsx components/tmp.tsx
git mv components/tmp.tsx components/Navbar.tsx
git commit -m "Fix Navbar filename case"The two-step rename is there because a direct case-only rename is flaky on case-insensitive filesystems.
git ls-files | grep -i navbarand paste the output. ollie_dev · edited