You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start the application using pnpm dev (next dev --turbo)
Try to visit test1, test2 routes
Notice how one of them (for me in particular it was test2) renders successfully, while the other one fails to compile and throws weird error in the console saying that some DOM operations failed
Try removing the --turbo flag and see how things are back to normal
Current vs. Expected behavior
I expected to be able to visit both test1 and test2 routes successfully, while having two separate root layouts in two route groups. This setup works if application is started without using the --turbo flag and I am able to open both routes.
Verify canary release
I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:28 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T8110
Binaries:
Node: 20.7.0
npm: 10.1.0
Yarn: N/A
pnpm: 8.7.5
Relevant Packages:
next: 14.0.0
eslint-config-next: N/A
react: 18.2.0
react-dom: 18.2.0
typescript: 4.6.4
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
App Router, Turbopack (--turbo)
Additional context
I have installed a template using create-next-app and attempted to use --turbo for compiling the application with slight changes to use multiple root layouts. The exact same setup works without --turbo flag. Same scenario applies to latest canary release.
The text was updated successfully, but these errors were encountered:
Seems like it got fixed with v14.0.1. Can someone from the team confirm? I believe #57647 addresses that. I am not facing this issue anymore after upgrading, so feel free to close if that was intentional.
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/razenization/turbo-bug-repro
To Reproduce
Current vs. Expected behavior
I expected to be able to visit both test1 and test2 routes successfully, while having two separate root layouts in two route groups. This setup works if application is started without using the --turbo flag and I am able to open both routes.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:28 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T8110 Binaries: Node: 20.7.0 npm: 10.1.0 Yarn: N/A pnpm: 8.7.5 Relevant Packages: next: 14.0.0 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 4.6.4 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
App Router, Turbopack (--turbo)
Additional context
I have installed a template using create-next-app and attempted to use --turbo for compiling the application with slight changes to use multiple root layouts. The exact same setup works without --turbo flag. Same scenario applies to latest canary release.
The text was updated successfully, but these errors were encountered: