Next.js Discord

Discord Forum

Client-side javascript error on production mobile only. Console is empty 😢

Unanswered
West African Lion posted this in #help-forum
Open in Discord
Avatar
West African LionOP
So I have no errors in development, but when deploying to production (Vercel), The page says (renders) "Application error: a client-side exception has occurred (see the browser console for more information)."

... but I check it and the console is empty! How do I even debug this. I guess it might be a Vercel thing? I'm not sure how this message is even being rendered. I this something NextJS will do?

7 Replies

Avatar
Did you check browser console?
Avatar
West African LionOP
Image
Yep. And it is completely empty. I’m not doing anything to suppress console.log in production (to my knowledge)
Avatar
How do you check browser console in iphone :v
Avatar
West African LionOP
With safari you connect to desktop and desktop safari will allow you to connect to the mobile safari console
Can be done with chrome too
Avatar
Sloth bear
If you run this on localhost in safari it should show the same error.

I narrowed my issue down to use of dates