Next.js 13 _app.tsx getInitialProps hydration fails in next start
but works in next dev
#5293
Unanswered
joshmanders
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been wracking my brain all day trying to figure this out, but when I run
next dev
locally everything works fine, but I deploy to production which runsnext build
thennext start
it breaks...Here's local, you can see

data
in the objectHere's the same code, but running in "production":

Doesn't look like there's any errors, nothing. I tried wrapping in a
try/catch
but no error is reported... I am... Lost at how to solve this...Here's the whole JSON blob.
Local (with data redacted):
In production:
Beta Was this translation helpful? Give feedback.
All reactions