Title: create-tsrouter-app scaffold fails out of the box with pnpm on Linux · Issue #395 · TanStack/cli · GitHub
Open Graph Title: create-tsrouter-app scaffold fails out of the box with pnpm on Linux · Issue #395 · TanStack/cli
X Title: create-tsrouter-app scaffold fails out of the box with pnpm on Linux · Issue #395 · TanStack/cli
Description: 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 ...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/TanStack/cli/issues/395
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"create-tsrouter-app scaffold fails out of the box with pnpm on Linux","articleBody":"### Which project does this relate to?\n\nRouter\n\n### Describe the bug\n\nRunning `pnpm install` and `pnpm dev` on a freshly scaffolded TanStack Start project fails immediately without any modifications.\n\n### Your Example Website or App\n\nnone\n\n### Steps to Reproduce the Bug or Issue\n\n**Steps to reproduce**\n\n1. Scaffold a new project using the TanStack Start template\n2. `pnpm install`\n3. `pnpm dev`\n\n### Expected behavior\n\n**Expected behavior**\n\nA freshly scaffolded project should work after `pnpm install` with no manual fixes required.\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\n**Environment**\n\n| | |\n|---|---|\n| OS | Linux x64 (Ubuntu) |\n| Node | v22.22.0 |\n| pnpm | v10.30.1 |\n| `@tanstack/react-start` | 1.162.4 |\n\n### Additional context\n\n**First error:** esbuild postinstall fails with:\n```\nError: Expected \"0.27.3\" but got \"\"\n```\n\nThe scaffold pins `esbuild@0.27.3` directly in `dependencies`, which has a broken postinstall script under Node 22.\n\n**Second error** (after removing esbuild from dependencies and letting it be a transitive dep): lightningcss native binary missing:\n```\nError: Cannot find module '../lightningcss.linux-x64-gnu.node'\n```\n\npnpm's strict symlinking means the `lightningcss-linux-x64-gnu` optional dependency binary never gets linked into `lightningcss`'s `node/` directory.","author":{"url":"https://github.com/Emmanuel-Xs","@type":"Person","name":"Emmanuel-Xs"},"datePublished":"2026-02-23T16:28:42Z","url":"https://github.com/TanStack/cli/issues/395"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97ba7652-d74e-6f72-4455-7780bfbaa94b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D84A:1AB8CD:1840145:2120CAD:6AF99BF7 |
| html-safe-nonce | 68fba793d3d77e15d140f3b5f45cb0a645ff03ea08da1c7dd459dc12fc42e337 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODRBOjFBQjhDRDoxODQwMTQ1OjIxMjBDQUQ6NkFGOTlCRjciLCJ2aXNpdG9yX2lkIjoiOTUwNzQwNTkzODY2ODA4MzEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fe35b4043003c054505b94313b1e02bbd9afb456b5df8c2f500d3ef5ad72b22 |
| hovercard-subject-tag | issue:3979809806 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/395/issue_layout |
| twitter:image | https://opengraph.githubassets.com/372ec270f58d1a70ffe2105bf10157cb98c9c24033b0341a0acab3efa1c634db/TanStack/cli/issues/395 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/372ec270f58d1a70ffe2105bf10157cb98c9c24033b0341a0acab3efa1c634db/TanStack/cli/issues/395 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Emmanuel-Xs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/cli git https://github.com/TanStack/cli.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 932949058 |
| octolytics-dimension-repository_nwo | TanStack/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932949058 |
| octolytics-dimension-repository_network_root_nwo | TanStack/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width