T
TanStack13mo ago
exotic-emerald

routeTree.gen.ts file and white screen without error in web nor terminal

I have a question about the router. I run into a couple problems where i just have a white screen with no error message neither in the browser nor in the terminal. Second question is, how do you handle the routeTree.gen.ts file with vscode as it's super annoying that it auto generates but doesn't autosave and always somehow changes the formatting where the path of a route changes.
No description
5 Replies
ratty-blush
ratty-blush13mo ago
can you reproduce this deterministically? are you on windows?
exotic-emerald
exotic-emeraldOP13mo ago
latest macos. just tested it with zed and there it's fine... i am using cursor. Do i need to exclude the file from everything i guess?
ratty-blush
ratty-blush13mo ago
no it should just work does this happen with vs code as well?
national-gold
national-gold13mo ago
try adding
"files.watcherExclude": {
"**/routeTree.gen.ts": true
}
"files.watcherExclude": {
"**/routeTree.gen.ts": true
}
to your .vscode/settings.json file
wise-white
wise-white12mo ago
I have the same issue about whitescreen

Did you find this page helpful?