Skip to content

Conversation

@huertin03
Copy link

Next 13.4 errors pages must be client components
Ref: https://nextjs.org/docs/app/building-your-application/routing/error-handling

@johnhamlin
Copy link

Came here to say the same thing. It took me a while to debug this, since the error message NextJS throws for this bug is hard to Google.

@RickVM
Copy link

RickVM commented Jun 14, 2023

Yep, same thing here

@jnros
Copy link

jnros commented Oct 11, 2023

Arrived at same fix for cryptic client message:
Unhandled Runtime Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants