-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
[Turbopack] Warning: Encountered two children with the same key, 0
. Keys should be unique so that components maintain their identity across updates
#57709
Comments
This comment has been minimized.
This comment has been minimized.
Same error messages with turbo since version 14 (only with turbo). |
I hope it will fix ASAP |
I have the same error after updating a project to Nextjs 14. |
This comment has been minimized.
This comment has been minimized.
I can confirm this, it only happens with |
Glad I'm not going crazy! I can also confirm that this only applies with Next.js v14 solely with |
Having the same issue on macOS with Node 20 |
🙋♂️ same issue with turbo on w/ node v18.17.1 and nextjs 14.0.0 |
Having the same issue with that exact stack. |
I have the same issue with |
Using Turbopack I am also receiving an error loading local fonts using next/font. It returns a not found. Unrelated issue but shows that some mapping is not right. |
Same issue: |
+1 |
I see this on MacOS Sonoma 14.2, Node 18.13.0 and Next 14.0.1. Removing |
This comment was marked as spam.
This comment was marked as spam.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as spam.
This comment was marked as spam.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as spam.
This comment was marked as spam.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Link to the code that reproduces this issue
https://github.com/jersoncarin/turbopack-warning-bug
To Reproduce
Current vs. Expected behavior
Current Behavior:
Showing this warning
app-index.js:31 Warning: Encountered two children with the same key,
0. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
Expected behavior
No warning using turbo
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
App Router, Turbopack (--turbo)
Additional context
I tested using the
next dev
without turbo it's working fine without any warning, but when I usenext dev --turbo
it will show the warning.I tried also using the
next@canary
but it's same warningThe text was updated successfully, but these errors were encountered: