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
(App Dir) | Pages in routes groups are not compiled and return 404 page #48260
Comments
Is this fixed ? i am also facing the same problem as soon as i tried to group routes. @leerob |
Please verify that your issue can be recreated with Why was this issue marked with the
|
@karan0805 could you verify this still reproduces on the latest canary version? |
Hey actually after research, i came to know that group routing is a feature of app router. please remove it from pages directory documentation @leerob |
This issue has been automatically closed because it wasn't verified against next@canary. If you think it was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you. |
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
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://stackblitz.com/edit/vercel-next-js-cykhmj?file=next.config.js,app%2F(store)%2Fpage.tsx
To Reproduce
All you need to do is create pages in the route group folders before running the "next dev" command or move exiting pages / folders in the route group folder and then run the command.
Describe the Bug
When I run the "next dev" command to start my development project, it seems like the compiler is not detecting the pages present in the route group folders.
However, I have noticed that when the pages are created after running the "next dev" command and the compiler is running, the pages are compiled correctly and do not return a 404 error and function properly.
I have also try with some versions of Next JS 13 and differents OS but the same bug work.
Expected Behavior
The pages should be detected and compiled into the dist folder.
Which browser are you using? (if relevant)
Chrome & Mozilla Firefox
How are you deploying your application? (if relevant)
development environment
The text was updated successfully, but these errors were encountered: