[router-generator-plugin] undefined is not an object (evaluating 'this.environment.config')
Hey all, first time posting about this but this is the third time a non breaking update has broken my app 😠(package.json currently locked to "^1.58.12")
I am getting this error on build, anyone able to point me in the right direction? SPA Vite app using the plugin.
2 Replies
sensitive-blueOP•3mo ago
Bumping my Vite major ver to 6 solved it? Is this a requirement or am I doing something wrong?
complex-teal•3mo ago
sorry for the regression, this was fixed in https://github.com/TanStack/router/releases/tag/v1.121.10
GitHub
Release v1.121.10 · TanStack/router
Version 1.121.10 - 6/13/25, 6:55 PM
Changes
Fix
various fixes (#4420) (6868e94) by Manuel Schiller
Other
(ee647d8) by @HimanshuKumarDutt094
Packages
@tanstack/router-generator@1.121.10
@tansta...