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
Current TanStack Start template fails with vite-tsconfig-paths@^6.0.2, works with ^5.1.4 #273
When scaffolding a new project with pnpm create @tanstack/start@latest, the generated app installs vite-tsconfig-paths@^6.0.2 by default, but using the project results in an error.
If I downgrade vite-tsconfig-paths to ^5.1.4, the issue disappears and the project works as expected.
Your Example Website or App
N/A
Steps to Reproduce the Bug or Issue
Create a new app:
pnpm create @tanstack/start@latest my-app
cd my-app
Install dependencies:
pnpm install
Run the command that triggers the error (e.g. pnpm dev / pnpm build / pnpm preview):
pnpm run dev
Observe the error (see “Describe the bug”)
Expected behavior
The import alias is resolved correctly without any errors occurring.
Sorry, I provided the incorrect reproduction steps. Here are the correct ones:
1.pnpm create @tanstack/start@latest
2. What would you like to name your project? --> Type project name ( e.g. "my-app" )
3. Would you like to use Tailwind CSS? --> Yes
4. Select toolchain --> Biome
5. Select deployment adapter --> Cloudflare
6. What add-ons would you like for your project? --> Only select「 Drizzle 」
7. Would you like any examples? --> Select nothing, Enter.
8. Drizzle: Database Provider --> PostgreSQL
9. cd my-app && pnpm dev
10. Observe the error ( see “Error message” )
Error message
(!) Failed to run dependency scan. Skipping dependency pre-bundling. Error: The following dependencies are imported but could not be resolved:
@/data/demo.punk-songs (imported by /Users/uttk/Documents/playgrounds/my-app/src/routes/demo/start.ssr.spa-mode.tsx)
@/db (imported by /Users/uttk/Documents/playgrounds/my-app/src/routes/demo/drizzle.tsx)
@/db/schema (imported by /Users/uttk/Documents/playgrounds/my-app/src/routes/demo/drizzle.tsx)
Are they installed?
at file:///Users/uttk/Documents/playgrounds/my-app/node_modules/.pnpm/vite@7.3.0_@types+node@22.19.3_jiti@2.6.1_lightningcss@1.30.2_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:31902:33
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async file:///Users/uttk/Documents/playgrounds/my-app/node_modules/.pnpm/vite@7.3.0_@types+node@22.19.3_jiti@2.6.1_lightningcss@1.30.2_tsx@4.21.0/node_modules/vite/dist/node/chunks/config.js:34110:15
Fixed by PR #355. React base template now uses vite-tsconfig-paths ^5.1.4, matching the known working range for the reported alias resolution failures.
Activity
jherr commentedon Jan 1, 2026
I'm not seeing this. What operating system are you on?
uttk commentedon Jan 1, 2026
@jherr
Sorry, I provided the incorrect reproduction steps. Here are the correct ones:
1.
pnpm create @tanstack/start@latest2. What would you like to name your project? --> Type project name ( e.g. "my-app" )
3. Would you like to use Tailwind CSS? --> Yes
4. Select toolchain --> Biome
5. Select deployment adapter --> Cloudflare
6. What add-ons would you like for your project? --> Only select「 Drizzle 」
7. Would you like any examples? --> Select nothing, Enter.
8. Drizzle: Database Provider --> PostgreSQL
9.
cd my-app && pnpm dev10. Observe the error ( see “Error message” )
Error message
Platform
OS: macOS
Browser: Chrome
Version: 143.0.7499.170
Node.js: v22.12.0
jherr commentedon Jan 1, 2026
Ah, ok, that's quite a bit of missing context. Thank you. I'll get on fixing it.
vkalahas commentedon Jan 9, 2026
I just submitted a PR that solves these issues since I had them also!
vkalahas commentedon Jan 9, 2026
Solves Drizzle demo issues: #277
Solves path aliasing issues: #278
tannerlinsley commentedon Feb 13, 2026
Fixed by PR #355. React base template now uses vite-tsconfig-paths ^5.1.4, matching the known working range for the reported alias resolution failures.