You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug?]: TypeError in lazyRoute.js with Vite 8 (Dev Mode) #2154
When running a SolidStart app with Vite 8 in dev mode (npm run dev), the app crashes immediately when loading any lazy-loaded route.
The terminal shows a TypeError in lazyRoute.js because manifest.inputs[component.src].import() returns undefined and .catch() is called on it.
Expected behavior 🤔
Lazy-loaded routes should resolve correctly in dev mode.
The SSR manifest should provide a valid Promise from router.internals.devServer.ssrLoadModule, allowing routes to load without crashing.
Steps to reproduce 🕹
Create a new SolidStart project with @solidjs/start@1.3.2 and vite@8.0.14.
Observe the crash in terminal and 500 error in browser.
Context 🔦
I am trying to develop a SolidStart application locally on Windows 11 with Vite 8.
This bug blocks all local development in dev mode, making it impossible to test lazy routes.
In production (npm run build) the app works, but development workflow is broken until patched.
You can see in https://github.com/moonhuntercode/solidstart-vite8-bug-repro public repo with more details😁
Activity
brenelz commentedon Jul 20, 2026
Can you upgrade to the new solid start beta and see if that resolves your issue?
birkskyum commentedon Jul 25, 2026
Bug in vinxi's
lazyRoute.js, confirmed locally that it works with SolidStart v2 rc.2