Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydration Error When Using TurboPack #74357

Closed
Aman-pandey-5909 opened this issue Dec 29, 2024 · 0 comments
Closed

Hydration Error When Using TurboPack #74357

Aman-pandey-5909 opened this issue Dec 29, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template.

Comments

@Aman-pandey-5909
Copy link

Aman-pandey-5909 commented Dec 29, 2024

Link to the code that reproduces this issue

https://github.com/Aman-pandey-5909/EventManager/tree/main/client

To Reproduce

  1. Make an Simple Component and Import it on your app/page.js
  2. Now run your project using npm run dev
  3. package.json should contain
 "scripts": {
    "dev": "next dev --turbopack"
  }
  1. When viewing The project, The hydration Error will Occur

Current vs. Expected behavior

Current Behaviour

When Viewing the project on localhost, It causes An hydration Error
SS:
image
It occurs in Ingonito too, so its unlikely that it's caused by some browser extension

When removing Turbopack and re-hosting the project, The hydration error doesnt Occur

Expected Behaviour

Expected Behaviour is that hydration doesnt occur

next version used in project is 15.1.2

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 8114
  Available CPU cores: 4
Binaries:
  Node: 20.13.1
  npm: 10.8.2
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.1.2
  eslint-config-next: 15.1.2
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A

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

Not sure

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

next dev (local)

Additional context

No response

@Aman-pandey-5909 Aman-pandey-5909 added the bug Issue was opened via the bug report template. label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

1 participant