Next js build success locally, but throws errors on vercel
I'm not using useContext, nor useSearchParams nor have modified the error pages.
message.txt5.8KB
Solution
in local, if you run next buidl, the
NODE_ENV is not set to production, thats why i was not seeing the erros