create-tsrouter-app scaffold fails out of the box with pnpm on Linux
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- node.js, react, typescript
- 領域
- build-system, cli
調査の方向性
まず TanStack Start の scaffold template とその package.json の依存関係定義を見つけ、Linux 上で pnpm install と pnpm dev を使って失敗を再現します。報告されている esbuild postinstall と lightningcss native-binary のエラーを調査します。scaffold したばかりのプロジェクトが依存関係を手動で変更せずにインストールおよび起動できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 1.3k
- フォーク
- 185
- 平均マージ
- 18時間 45分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/cli のほかの issue
-
create: scaffold's unlayered body styles defeat its own @layer base rules (and any shadcn theme) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·