Next.js Discord

Discord Forum

Error 500 on vercel deployment but not locally

Unanswered
Willow Flycatcher posted this in #help-forum
Open in Discord
Willow FlycatcherOP
Right after upgrading from Next version 12 to 13, I'm facing an issue where everything works fine locally but whenever I deploy on Vercel and try on it, I get an error while navigating to a specific page. I'm getting directly redirected to my custom "Error 500" page.
I'm still using the "page" behavior and not the "app" concept, I don't know if the issue can come from this but just so you know.
Here is a screen of the error I see on runtime logs
I don't get how it can be a module issue since nothing really changed in the code and the way I'm building deployments, if anyone can help me with this please?

0 Replies