tanstack builder example SaaS dashboard fail to build
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- bun, react, typescript, vite
- Lĩnh vực
- build-system, cloud
Hướng nghiên cứu
Bắt đầu với src/components/demo.FormComponents.tsx trong ví dụ tanstack-dashboard được liên kết và kiểm tra import #/components/ui/button chưa được phân giải. Chạy npm run build, tái hiện quy trình triển khai Cloudflare được mô tả trong issue. Hoàn tất khi SaaS dashboard được build thành công mà không có lỗi phân giải import của Vite.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which project does this relate to?
Create Tanstack App
Describe the bug
Cloudflare build log:
2026-05-06T09:35:17.854Z Initializing build environment...
2026-05-06T09:35:21.111Z Success: Finished initializing build environment
2026-05-06T09:35:21.643Z Cloning repository...
2026-05-06T09:35:22.810Z No build output detected to cache. Skipping.
2026-05-06T09:35:22.810Z No dependencies detected to cache. Skipping.
2026-05-06T09:35:22.813Z Detected the following tools from environment: [email protected], [email protected]
2026-05-06T09:35:22.815Z Installing project dependencies: bun install
2026-05-06T09:35:22.985Z [1.26ms] ".env.local"
2026-05-06T09:35:23.000Z bun install v1.2.15 (df017990)
2026-05-06T09:35:23.028Z Resolving dependencies
2026-05-06T09:35:28.002Z Resolved, downloaded and extracted [2232]
2026-05-06T09:35:29.646Z Saved lockfile
2026-05-06T09:35:29.647Z
2026-05-06T09:35:29.647Z + @tailwindcss/[email protected]
2026-05-06T09:35:29.647Z + @tanstack/[email protected]
2026-05-06T09:35:29.648Z + @testing-library/[email protected]
2026-05-06T09:35:29.648Z + @testing-library/[email protected]
2026-05-06T09:35:29.649Z + @types/[email protected] (v25.6.0 available)
2026-05-06T09:35:29.649Z + @types/[email protected]
2026-05-06T09:35:29.649Z + @types/[email protected]
2026-05-06T09:35:29.649Z + @types/[email protected]
2026-05-06T09:35:29.649Z + @vitejs/[email protected]
2026-05-06T09:35:29.649Z + [email protected]
2026-05-06T09:35:29.649Z + [email protected] (v29.1.1 available)
2026-05-06T09:35:29.649Z + [email protected]
2026-05-06T09:35:29.649Z + [email protected] (v6.0.3 available)
2026-05-06T09:35:29.649Z + [email protected]
2026-05-06T09:35:29.649Z + [email protected] (v4.1.5 available)
2026-05-06T09:35:29.649Z + [email protected]
2026-05-06T09:35:29.649Z + @cloudflare/[email protected]
2026-05-06T09:35:29.650Z + @neondatabase/[email protected]
2026-05-06T09:35:29.650Z + @sentry/[email protected]
2026-05-06T09:35:29.650Z + @tailwindcss/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.650Z + @tanstack/[email protected]
2026-05-06T09:35:29.656Z + @tanstack/[email protected]
2026-05-06T09:35:29.656Z + @tanstack/[email protected]
2026-05-06T09:35:29.656Z + @tanstack/[email protected]
2026-05-06T09:35:29.656Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected] (v1.14.0 available)
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.657Z + [email protected]
2026-05-06T09:35:29.658Z + [email protected]
2026-05-06T09:35:29.658Z
2026-05-06T09:35:29.658Z 516 packages installed [6.69s]
2026-05-06T09:35:29.658Z
2026-05-06T09:35:29.658Z Blocked 1 postinstall. Run `bun pm untrusted` for details.
2026-05-06T09:35:29.858Z Executing user build command: npm run build
2026-05-06T09:35:30.251Z
2026-05-06T09:35:30.251Z > build
2026-05-06T09:35:30.251Z > vite build && cp instrument.server.mjs .output/server
2026-05-06T09:35:30.251Z
2026-05-06T09:35:34.072Z vite v8.0.10 building client environment for production...
2026-05-06T09:35:34.300Z
transforming...
2026-05-06T09:35:34.301Z [@tanstack/devtools-vite] Removed devtools code from: /src/routes/__root.tsx
2026-05-06T09:35:34.301Z
2026-05-06T09:35:35.592Z ✓ 683 modules transformed.
2026-05-06T09:35:35.708Z rendering chunks...
2026-05-06T09:35:35.866Z computing gzip size...
2026-05-06T09:35:35.876Z dist/client/.assetsignore 0.02 kB
2026-05-06T09:35:35.876Z dist/client/assets/styles-on7c4OiS.css 52.87 kB │ gzip: 10.15 kB
2026-05-06T09:35:35.876Z dist/client/assets/sentry.testing-CoZXhRfG.js 0.57 kB │ gzip: 0.36 kB
2026-05-06T09:35:35.877Z dist/client/assets/about-CXZvQOV5.js 0.72 kB │ gzip: 0.43 kB
2026-05-06T09:35:35.877Z dist/client/assets/jsx-runtime-BOY_dY-B.js 0.93 kB │ gzip: 0.55 kB
2026-05-06T09:35:35.877Z dist/client/assets/form.address-BbeUGzib.js 3.12 kB │ gzip: 1.13 kB
2026-05-06T09:35:35.877Z dist/client/assets/routes-Cr0AXDSD.js 3.31 kB │ gzip: 1.35 kB
2026-05-06T09:35:35.877Z dist/client/assets/neon-CGbQfoVh.js 4.45 kB │ gzip: 1.71 kB
2026-05-06T09:35:35.877Z dist/client/assets/drizzle-BaHgodff.js 4.68 kB │ gzip: 1.69 kB
2026-05-06T09:35:35.877Z dist/client/assets/better-auth-CX7ujLX7.js 5.92 kB │ gzip: 1.58 kB
2026-05-06T09:35:35.877Z dist/client/assets/tanstack-query-Wl0hHEW4.js 9.67 kB │ gzip: 3.66 kB
2026-05-06T09:35:35.877Z dist/client/assets/sentry.testing-BZpUoqin.js 12.23 kB │ gzip: 3.67 kB
2026-05-06T09:35:35.877Z dist/client/assets/exports-2JvrqLsc.js 28.61 kB │ gzip: 9.94 kB
2026-05-06T09:35:35.877Z dist/client/assets/createServerFn-CLrdMGtT.js 36.13 kB │ gzip: 11.76 kB
2026-05-06T09:35:35.877Z dist/client/assets/demo.form-DxlDYG5l.js 47.06 kB │ gzip: 12.30 kB
2026-05-06T09:35:35.877Z dist/client/assets/form.simple-0ihJ51U2.js 59.94 kB │ gzip: 16.48 kB
2026-05-06T09:35:35.878Z dist/client/assets/index-GS-FPlBn.js 349.99 kB │ gzip: 110.59 kB
2026-05-06T09:35:35.878Z
2026-05-06T09:35:35.878Z ✗ Build failed in 1.80s
2026-05-06T09:35:35.879Z error during build:
2026-05-06T09:35:35.879Z Build failed with 1 error:
2026-05-06T09:35:35.879Z
2026-05-06T09:35:35.879Z Error: [vite]: Rolldown failed to resolve import "#/components/ui/button" from "/opt/buildhome/repo/src/components/demo.FormComponents.tsx".
2026-05-06T09:35:35.879Z This is most likely unintended because it can break your application at runtime.
2026-05-06T09:35:35.879Z If you do want to externalize this module explicitly add it to
2026-05-06T09:35:35.880Z `build.rollupOptions.external`
2026-05-06T09:35:35.880Z at viteLog (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33111:57)
2026-05-06T09:35:35.880Z at file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33147:71
2026-05-06T09:35:35.880Z at onwarn (file:///opt/buildhome/repo/node_modules/@vitejs/plugin-react/dist/index.js:40:7)
2026-05-06T09:35:35.880Z at file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33147:28
2026-05-06T09:35:35.880Z at onRollupLog (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33142:63)
2026-05-06T09:35:35.883Z at onLog (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:32911:4)
2026-05-06T09:35:35.883Z at file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs:50:26
2026-05-06T09:35:35.884Z at logger (file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs:41:3)
2026-05-06T09:35:35.884Z at onLog (file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/bindingify-input-options-DbbBhzky.mjs:1991:32)
2026-05-06T09:35:35.884Z at aggregateBindingErrorsIntoJsError (file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs:48:18)
2026-05-06T09:35:35.884Z at unwrapBindingResult (file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs:18:128)
2026-05-06T09:35:35.884Z at #build (file:///opt/buildhome/repo/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs:3317:34)
2026-05-06T09:35:35.884Z at async buildEnvironment (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33018:64)
2026-05-06T09:35:35.885Z at async Object.build (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33440:19)
2026-05-06T09:35:35.886Z at async buildStartViteEnvironments (file:///opt/buildhome/repo/node_modules/@tanstack/start-plugin-core/dist/esm/vite/planning.js:94:23)
2026-05-06T09:35:35.886Z at async Object.buildApp (file:///opt/buildhome/repo/node_modules/@tanstack/start-plugin-core/dist/esm/vite/plugin.js:111:8)
2026-05-06T09:35:35.886Z at async Object.buildApp (file:///opt/buildhome/repo/node_modules/vite/dist/node/chunks/node.js:33432:6)
2026-05-06T09:35:35.886Z at async CAC.<anonymous> (file:///opt/buildhome/repo/node_modules/vite/dist/node/cli.js:778:3) {
2026-05-06T09:35:35.886Z errors: [Getter/Setter]
2026-05-06T09:35:35.886Z }
2026-05-06T09:35:36.058Z Failed: error occurred while running build command
Your Example Website or App
https://github.com/MarvinXu/tanstack-dashboard
Steps to Reproduce the Bug or Issue
- Go to https://tanstack.com/builder
- Click
SaaS dashboardandAnalyze - Click
Deploy to Cloudflare
Expected behavior
build success
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Chrome
- Version: [e.g. 91.1]
Additional context
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 1.3k
- Fork
- 188
- Merge trung bình
- 5 giờ 30 phút
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TanStack/cli
-
[Bug] Inconsistent settings in biome.jsonCó thể đã có người làm @tannerlinsley đã nhận 11 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Neon add-on depends on deprecated vite-plugin-neon-newCó thể đã có người làm @tannerlinsley đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Proposal: PocketBase add-onCó thể đã có người làm @akanyane đã nhận 13 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
TanStack/cli#527 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsxCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
TanStack/cli#522 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
TanStack/cli#520 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fb55/htmlparser2#2579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue needs-review
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Module DB RulesĐang mởdocumentation public
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
midnightntwrk/umbradb#65 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/channels kind/bug priority/medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nanocoai/nanoclaw#4501 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docker images: plain X.Y.Z tag (e.g. 7.2.3) is never updated after the initial release buildĐang mởneeds verification
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 13 ngày