-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
"Unexpected fiber popped" / "An unexpected error has occurred" #8886
Comments
I got this error as well. Did some debugging, and found out it's happening on latest NextJS and React |
Same issue here, and same resolution as @martindavid |
Same issue here. Just going through the getting started tutorial and the index page isn't clearing, rendering itself twice, and throwing errors in console. Switching to 16.9.0 worked as well. |
Hi everyone! Like the error message suggests, this may be a bug with React 16.10. Please downgrade to Thanks! |
Keeping this open until the PR is on stable. |
Just released a new canary (will be on npm soon) https://github.com/zeit/next.js/releases/tag/v9.0.7-canary.9 |
Released on stable too: https://github.com/zeit/next.js/releases/tag/v9.0.7. Note that in general we do not ship stable versions on weekends but this issue affects basically everyone getting started with Next.js / React and everyone upgrading. |
I'm going to close this issue as the patch has been merged on both canary/stable and this is an upstream issue raised by @Timer here: facebook/react#16938 |
This is now fixed in v16.10.1. However, it's more like a workaround to fail gracefully because the behavior is not supported. It only accidentally worked in 16.9. We will warn in a future minor. So we need to figure out how to address this in Next. More context here: facebook/react#16938 (comment) |
Thanks so much for your help identifying and fixing this! Sorry I didn't recognize that it was an upstream error; I made some incorrect assumptions based on the error message. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
At least two of the NextJS examples do not work when run "out of the box".
To Reproduce
npm install && npm run dev
.npx now
. Resulting application will report errors.Expected behavior
Given examples work when deployed and run.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
latest
)The text was updated successfully, but these errors were encountered: