Next js build success locally, but throws errors on vercel

I'm not using useContext, nor useSearchParams nor have modified the error pages.
Solution:
in local, if you run next buidl, the NODE_ENV is not set to production, thats why i was not seeing the erros
Jump to solution
2 Replies
Huilen
Huilen5mo ago
these errors dont occour on local when i run
bun run build && bun run start
bun run build && bun run start
fixed
Solution
Huilen
Huilen5mo ago
in local, if you run next buidl, the NODE_ENV is not set to production, thats why i was not seeing the erros
Want results from more Discord servers?
Add your server