vercel / next.js

The React Framework
https://nextjs.org
MIT License
127.52k stars 27.04k forks source link

Nextjs 15 Create Next App Default Template Hydration Error #71703

Closed devaoto closed 1 month ago

devaoto commented 1 month ago

Link to the code that reproduces this issue

https://github.com/devaoto/elyzen-nxt

To Reproduce

Current vs. Expected behavior

Current

When I run the development server I get the error: Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used with the default template.

The hydration error is causing by these: -cz-shortcut-listen="true" -__processed_781b3edc-1642-4df7-b879-4c81b67a0d7d__="true" -bis_register="W3sibWFzdGVyIjp0cnVlLCJleHRlbnNpb25JZCI6ImVwcGlvY2VtaG1ubGJoanBsY2drb2ZjaWllZ29t..."

I did not change anything, I just ran the dev command after initializing.

Expected Behavior: To run the development server without any issues

I'm not entirely sure if it's caused by the runtime or the template had issues :/

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home Single Language
  Available memory (MB): 7999
  Available CPU cores: 4
Binaries:
  Node: 20.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.1 // Latest available version is detected (15.0.1).
  eslint-config-next: 15.0.1
  react: 19.0.0-rc-69d4b800-20241021
  react-dom: 19.0.0-rc-69d4b800-20241021
  typescript: 5.6.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

create-next-app, Runtime

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

anmol-me commented 1 month ago

Hi, How did you solve the issue?

zulalnb commented 1 month ago

Facing the same issue

Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!

devaoto commented 1 month ago

Well the issue was with an extension

github-actions[bot] commented 3 weeks ago

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.