Skip to content

[Compiler Bug]: Unexpected [ Server ] Error: {} causing ErrorBoundary crash in Next.js 15.1.6 with Turbopack #33025

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

Open
1 of 4 tasks
Emmanuel-Xs opened this issue Apr 25, 2025 · 3 comments
Labels
Component: React Compiler Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@Emmanuel-Xs
Copy link

Emmanuel-Xs commented Apr 25, 2025

What kind of issue is this?

  • React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
  • babel-plugin-react-compiler (build issue installing or using the Babel plugin)
  • eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
  • react-compiler-healthcheck (build issue installing or using the healthcheck script)

Link to repro

https://github.com/Emmanuel-Xs/devlinks

Repro steps

What is the issue?
I'm encountering a [ Server ] Error: {} that causes a full Error Boundary crash in my app.
This happens unexpectedly during normal navigation and rendering.
The error appears to originate from react-server-dom-turbopack inside next@15.1.6, and seems related to server components.

Error logs:

[ Server ] Error: {}

resolveErrorDev (react-server-dom-turbopack-client.browser.development.js:1061:61)
processFullStringRow (react-server-dom-turbopack-client.browser.development.js:1228:15)
processFullBinaryRow (react-server-dom-turbopack-client.browser.development.js:1216:5)
progress (react-server-dom-turbopack-client.browser.development.js:1334:92)

Also the console shows:

Error occurred in <PreviewLinksButton> component. Handled by <ErrorBoundaryHandler>.

Screenshots:
(Attached below)

Image
Image

How often does this bug happen?

Sometimes

What version of React are you using?

19.0.0

What version of React Compiler are you using?

19.0.0-beta-714736e-20250131

@Emmanuel-Xs Emmanuel-Xs added Component: React Compiler Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug labels Apr 25, 2025
@ObiwanKenobee

This comment has been minimized.

@josephsavona
Copy link
Member

Hmm, nothing here seems specific to React Compiler, this looks like a Next.js issue. I would suggest posting at https://github.com/vercel/next.js/issues for help

@Emmanuel-Xs
Copy link
Author

Ok thanks,u will do that soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: React Compiler Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants