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

Update error.tsx #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update error.tsx #23

wants to merge 1 commit into from

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