How do I debug route tree generation errors?
I'm getting this route generation error whenever I tried to save a new route file:
I'm not sure how to debug this error. Any guidance on this would be greatly appreciated. Thank you.
3 Replies
official-silver•2mo ago
the error is indeed not helpful. can you paste the route file you have?
extended-salmonOP•2mo ago
I can't pinpoint which route file is causing this error. I checked the syntax on all of them and they seem correct. These are some new routes files I added:
official-silver•2mo ago
i added a slightly better error message in https://github.com/TanStack/router/releases/tag/v1.122.0
it tells you which route failed