Duplicates
Latest version
Current behavior ๐ฏ
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.
- Run
npm install.
- Run
npm run dev.
- Open http://localhost:3000 in the browser.
- 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๐
Your environment ๐
System:
OS: Windows 11
CPU: Intel i7
Binaries:
Node: 24.14.1
npm: 10.8.2
npmPackages:
@solidjs/start: 1.3.2
vite: 8.0.14
vite-plugin-solid: 2.11.12
@solidjs/router: 0.16.1
Duplicates
Latest version
Current behavior ๐ฏ
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.jsbecausemanifest.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 ๐น
npm install.npm run dev.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๐
Your environment ๐