TanStackT
TanStack7mo ago
14 replies
then-purple

Can't create "/credits" route?

I started using TanStack Start about a week ago and everything has been going pretty well.

I've ran into an issue where I can't create a credits page for my website because the routeTree.gen.ts generator, for some reason, ignores my credits.tsx page.

Any other name for the .tsx file seems to work. It's just that credits.tsx specifically is ignored. Usually creating the file is enough for the route to be added to the routeTree file.

What could be causing this?

I'm using TanStack Start on Linux:
"@tanstack/react-query": "^5.81.5",
"@tanstack/react-router": "^1.122.0",
"@tanstack/react-start": "^1.122.0",


The screenshot below shows the contents of different route files I created.
image.png
Was this page helpful?