#Cannot find module '@tanstack/router-plugin/vite' or its corresponding type declarations.
5 messages · Page 1 of 1 (latest)
I had set my moduleResolution to "bundler" which fixed it for me.
https://github.com/SeanCassiere/nv-rental-clone/commit/7e27b35bdb51e7fa228d2b1eb855ef8664e80bb2
Exactly what I needed! thank you ❤️
This exact thing happened to me and my moduleResolution was set to bundler. After wasting two days I changed it to node and it worked fine, it generated the tree autogen file and created a .tanstack temp folder. So i went back and changed it back to "bundler" and removed those files and it works fine still. But i still have the same issue if i start from beginning.
It is technically resolved but I don't know how or what the issue was/is. Also, i am using react, no next or anything, so the tsconfig.app.json and tsconfig.node.json both are using bundler