P粉9365096352023-08-31 14:24:56
View this documentation - https://nextjs.org/docs/app/building-your-application/routing/colocation
If your (public) group does not have any subpages. Move the subkeys out of the (public) folder, otherwise move page.tsx into the folder representing the route.
P粉4038217402023-08-31 12:16:43
In NextJs version 13.4.12 with Turbopack, I get this error. Just remove "dev": "next dev ---turbo" from your package.json script and replace it with "dev": "next dev" to use webpack again. At least for now, in beta, it may have some bugs.