TanStackT
TanStack9mo ago
15 replies
brilliant-lime

Build issue when using virtual file routes in tanstack start

I face an issue when try build my demo app, and get this error
what happing is that during build it recreate "routeTree.gen.ts" but it create at as I work with file based not virtual file routes, so it deals with my "routes.ts" as route and show this error, like try to import from "routeTree.gen.ts", as you see I share the error and file config, it's very simple and work locally fine but get this during build
image.png
image.png
image.png
image.png
Was this page helpful?