Skip to content

Instantly share code, notes, and snippets.

@gripzyyy
Created March 7, 2024 21:37
Show Gist options
  • Save gripzyyy/3f0e314c5de2aafa5be7342300106eba to your computer and use it in GitHub Desktop.
Save gripzyyy/3f0e314c5de2aafa5be7342300106eba to your computer and use it in GitHub Desktop.
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.
Warning: Expected server HTML to contain a matching <script> in <head>.
See more info here: https://nextjs.org/docs/messages/react-hydration-error
Component Stack
script
EnvScript
./node_modules/next-runtime-env/build/script/env-script.js (17:22)
PublicEnvScript
./node_modules/next-runtime-env/build/script/public-env-script.js (22:28)
head
html
RootLayout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment