Title: pnpm install + pnpm dev fails out of the box on Linux (esbuild + lightningcss) · Issue #394 · TanStack/cli · GitHub
Open Graph Title: pnpm install + pnpm dev fails out of the box on Linux (esbuild + lightningcss) · Issue #394 · TanStack/cli
X Title: pnpm install + pnpm dev fails out of the box on Linux (esbuild + lightningcss) · Issue #394 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug A freshly scaffolded TanStack Start project fails immediately with two consecutive errors when using pnpm on Linux. No modifications were made to the project. Your E...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug A freshly scaffolded TanStack Start project fails immediately with two consecutive errors when using pnpm on Linux. No modifi...
X Description: Which project does this relate to? Create Tanstack App Describe the bug A freshly scaffolded TanStack Start project fails immediately with two consecutive errors when using pnpm on Linux. No modifi...
Opengraph URL: https://github.com/TanStack/cli/issues/394
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pnpm install + pnpm dev fails out of the box on Linux (esbuild + lightningcss)","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nA freshly scaffolded TanStack Start project fails immediately with two consecutive \nerrors when using pnpm on Linux. No modifications were made to the project.\n\n### Your Example Website or App\n\nFresh scaffold via: pnpm create @tanstack/start@latest No modifications made. Reproducible on any Linux x64 machine with pnpm.\n\n### Steps to Reproduce the Bug or Issue\n\n1. pnpm create @tanstack/start@latest\n2. cd \u003cproject-name>\n3. pnpm install\n4. pnpm dev\n\n### Expected behavior\n\nThe dev server starts successfully after a fresh install.\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\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\nTwo errors occur in sequence:\n\nError 1 — esbuild postinstall fails:\nThe scaffold pins esbuild@0.27.3 directly in dependencies. This version has a \nbroken postinstall script that fails with:\n Error: Expected \"0.27.3\" but got \"\"\n\nError 2 — lightningcss native binary missing (after removing esbuild from \ndependencies):\npnpm's strict symlinking means lightningcss-linux-x64-gnu binary never gets \nlinked into lightningcss's node/ directory:\n Error: Cannot find module '../lightningcss.linux-x64-gnu.node'\n\nWorkaround: using npm install instead of pnpm works without issues.","author":{"url":"https://github.com/Emmanuel-Xs","@type":"Person","name":"Emmanuel-Xs"},"datePublished":"2026-02-23T16:33:12Z","url":"https://github.com/TanStack/cli/issues/394"}
| 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:79e97271-2e9d-367e-f26a-e21aa872372b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC46:276282:17E64B5:20A7B42:6AF99BD2 |
| html-safe-nonce | 71edabd060c95fa8b790fcba4509121144b658734390910661e6a26e2f69afb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzQ2OjI3NjI4MjoxN0U2NEI1OjIwQTdCNDI6NkFGOTlCRDIiLCJ2aXNpdG9yX2lkIjoiNDAyMTU3NzI5MjA3NjEyOTIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e5c2df94bf31d2dbcbd3ebbdd8b123e75976fbacd79641dd964bf38b86cea43 |
| hovercard-subject-tag | issue:3979078703 |
| 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/394/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e892cd91028f8595fa77698a8d585438690d0401f9661cf2b14659239fff011/TanStack/cli/issues/394 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e892cd91028f8595fa77698a8d585438690d0401f9661cf2b14659239fff011/TanStack/cli/issues/394 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug A freshly scaffolded TanStack Start project fails immediately with two consecutive errors when using pnpm on Linux. No modifi... |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width