TanStackT
TanStack7mo ago
4 replies
colossal-harlequin

How do I debug route tree generation errors?

I'm getting this route generation error whenever I tried to save a new route file:
Error: expected identifier to be present
    at file:///home/user/project-name/node_modules/@tanstack/router-generator/dist/esm/generator.js:152:19

I'm not sure how to debug this error. Any guidance on this would be greatly appreciated. Thank you.
Was this page helpful?