-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
[NEXT-1165] [App Router]: Group routes with parallel routes as a page slot, nested route will render NEXT_NOT_FOUND in server side. #49569
Comments
I am experiencing this error as well. I am using a I tried to move the
|
This comment was marked as off-topic.
This comment was marked as off-topic.
I encountered same issue.
I hope this comment will help you 😄 |
Based on the unmatched routes section of the parallel routes docs, it looks like what's happening is expected -- since your slots ( So to fix your repro, you could either add |
@jiwooIncludeJeong hey jiwool, I'm trying to implement something similar. In my layout.js i have
When my parallel page is rendered, children is no longer displayed. I am trying to implement a Modal component which should render the modal above the children component. Any ideas how to solve this? |
Possible workaround is have the
*Advance use cases are not tested but in the simple case for hard-navigation rendering seems to work |
I have just reported a similar bug, which manifests itself when using route groups, parallel routes and route interception. Sharing here for context: #53170. |
Going to close this out as the original reproduction appears to be behaving correctly, but has several errors in how the application is structured:
If you think there's still a bug with this specific scenario, please open a new issue with a reproduction and we'll take a look! |
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. |
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.4.0: Mon Mar 6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 Binaries: Node: 18.15.0 npm: 8.17.0 Yarn: 1.22.19 pnpm: 8.1.0 Relevant packages: next: 13.4.1 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue
https://github.com/Innei/nextjs-group-routes-reproduction
To Reproduce
/
/posts
NEXT_NOT_FOUND
CleanShot.2023-05-10.at.1.14.14.mp4
Describe the Bug
Render nested route in the server will be got
NEXT_NOT_FOUND
, but it works fine on the client side.This error will happen in this file structure.
Expected Behavior
No error.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1165
The text was updated successfully, but these errors were encountered: