-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Vite dev server fails to start: @tanstack/router-core does not provide export resolveManifestAssetLink #7021
Copy link
Copy link
Closed
Description
Which project does this relate to?
Start
Describe the bug
Description
When starting the Vite dev server, the app fails during config loading with the following error:
failed to load config from /home/rickyraz/my_saas/rickyraz/vite.config.ts
error when starting dev server:
file:///home/rickyraz/my_saas/rickyraz/node_modules/.pnpm/@tanstack+start-plugin-core@1.167.7_vite-plugin-solid@2.11.11_solid-js@1.9.11_vite@7.3.1.../node_modules/@tanstack/start-plugin-core/dist/esm/start-manifest-plugin/manifestBuilder.js:1
import { resolveManifestAssetLink, rootRouteId } from "@tanstack/router-core";
SyntaxError: The requested module '@tanstack/router-core' does not provide an export named 'resolveManifestAssetLink'
### Your Example Website or App
https://github.com/rickyraz/rickyraz_web
### Steps to Reproduce the Bug or Issue
## Steps to Reproduce
1. Create a project using TanStack Start with Solid + Vite (`pnpm dlx @tanstack/cli@latest create --framework solid`)
2. Install dependencies using pnpm:
```bash
pnpm install-
Start the development server:
pnpm run dev
Observe that the dev server fails during startup while loading vite.config.ts
Minimal Repro Behavior
The crash happens immediately on startup
No user code is executed yet
The failure originates from:
@tanstack/start-plugin-core/dist/esm/start-manifest-plugin/manifestBuilder.js
Expected behavior
Expected Behavior
The Vite development server should start successfully without errors.
The TanStack Start plugin should correctly import all required exports from @tanstack/router-core, and the application should proceed to run normally in development mode.
No runtime or module resolution errors should occur during the loading of vite.config.ts.
Screenshots or Videos
Platform
- Router / Start Version:
- @tanstack/router-core: 1.168.2
- @tanstack/solid-start: 1.167.4
- @tanstack/router-plugin: 1.167.3
- OS: Ubuntu (WSL2)
- Browser: Chrome
- Browser Version: 1.88.134 Chromium: 146.0.7680.153 (Official Build) (64-bit)
- Bundler: Vite
- Bundler Version: 7.3.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels