Turbopack Error: Invalid segment Dynamic("id"), catch all segment must be the last segment modifying the path (segments: [Static("api"), Static("auth"), CatchAll("all")]) #80553
Closed
ouaziz
started this conversation in
Turbopack Error Report
Replies: 1 comment 2 replies
-
That error is suggesting you have: src/app
├── api
│ └── auth
│ └── [...all]
│ └── [id]
│ └── route.ts Do you? If I do that and run it with turbopack/webpack it fails, but turbopack outputs the same error: Invalid segment Dynamic("id"), catch all segment must be the last segment modifying the path (segments: [Static("api"), Static("auth"), CatchAll("all")])
Debug info:
- Execution of get_entrypoints_with_issues_operation failed
- Execution of EntrypointsOperation::new failed
- Execution of Project::entrypoints failed
- Execution of AppProject::routes failed
- Execution of directory_tree_to_entrypoints_internal failed
- Execution of directory_tree_to_entrypoints_internal failed
- Execution of directory_tree_to_entrypoints_internal failed
- Execution of directory_tree_to_entrypoints_internal failed
- Invalid segment Dynamic("id"), catch all segment must be the last segment modifying the path (segments: [Static("api"), Static("auth"), CatchAll("all")])] But I guess, there can be other ways to trigger this. If so, then yeah, this pattern is not supported, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Turbopack version:
1d586ca6
Error message:
Beta Was this translation helpful? Give feedback.
All reactions