create-tsrouter-app scaffold fails out of the box with pnpm on Linux
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
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- node.js, react, typescript
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
Bắt đầu bằng cách xác định scaffold template của TanStack Start và các định nghĩa dependency trong package.json của nó, sau đó tái hiện lỗi bằng pnpm install và pnpm dev trên Linux. Điều tra các lỗi esbuild postinstall và lightningcss native-binary đã được báo cáo; công việc được xem là hoàn tất khi một project vừa được scaffold có thể cài đặt và khởi động mà không cần thay đổi dependency thủ công.
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?
Router
Describe the bug
Running pnpm install and pnpm dev on a freshly scaffolded TanStack Start project fails immediately without any modifications.
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
Steps to reproduce
- Scaffold a new project using the TanStack Start template
pnpm installpnpm dev
Expected behavior
Expected behavior
A freshly scaffolded project should work after pnpm install with no manual fixes required.
Screenshots or Videos
No response
Platform
Environment
| OS | Linux x64 (Ubuntu) |
| Node | v22.22.0 |
| pnpm | v10.30.1 |
@tanstack/react-start |
1.162.4 |
Additional context
First error: esbuild postinstall fails with:
Error: Expected "0.27.3" but got ""
The scaffold pins esbuild@0.27.3 directly in dependencies, which has a broken postinstall script under Node 22.
Second error (after removing esbuild from dependencies and letting it be a transitive dep): lightningcss native binary missing:
Error: Cannot find module '../lightningcss.linux-x64-gnu.node'
pnpm's strict symlinking means the lightningcss-linux-x64-gnu optional dependency binary never gets linked into lightningcss's node/ directory.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.3k
- Fork
- 185
- Merge trung bình
- 18 giờ 45 phút
- Pull request đã merge (30 ngày)
- 2
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
-
create: scaffold's unlayered body styles defeat its own @layer base rules (and any shadcn theme) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100