René's URL Explorer Experiment


Title: Create with Storybook add-on hangs on pnpm 11 under “Running commands for Storybook…” · Issue #499 · TanStack/cli · GitHub

Open Graph Title: Create with Storybook add-on hangs on pnpm 11 under “Running commands for Storybook…” · Issue #499 · TanStack/cli

X Title: Create with Storybook add-on hangs on pnpm 11 under “Running commands for Storybook…” · Issue #499 · TanStack/cli

Description: Which project does this relate to? Create Tanstack App Describe the bug If I run TanStack create with the Storybook add-on on pnpm 11, the CLI can appear to hang forever on: Running commands for Storybook... Example (same shape as other ...

Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug If I run TanStack create with the Storybook add-on on pnpm 11, the CLI can appear to hang forever on: Running commands for St...

X Description: Which project does this relate to? Create Tanstack App Describe the bug If I run TanStack create with the Storybook add-on on pnpm 11, the CLI can appear to hang forever on: Running commands for St...

Opengraph URL: https://github.com/TanStack/cli/issues/499

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create with Storybook add-on hangs on pnpm 11 under “Running commands for Storybook…”","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nIf I run TanStack create with the **Storybook** add-on on **pnpm 11**, the CLI can appear to hang forever on:\n\n`Running commands for Storybook...`\n\nExample (same shape as other create reports; adjust version/flags as needed):\n\n```bash\npnpm dlx @tanstack/cli@latest create tanstack-app \\\n  --framework react \\\n  --add-ons storybook \\\n  --no-git \\\n  -y\n```\n\nThe create spinner never finishes that step. What’s actually happening is that TanStack runs the Storybook add-on command (`npx storybook init -y --no-dev` → `pnpm dlx storybook …` for pnpm users) with the spinner still active. On pnpm 11 (TTY + cold dlx cache), **pnpm** waits for interactive approve-builds input for **esbuild**, but that prompt is easy to miss under the spinner — so the TanStack CLI looks stuck.\n\nThis is a TanStack create UX/invocation issue: the parent owns the spinner and how the child is launched. Storybook’s JS has not started yet when the prompt appears, so Storybook cannot surface or answer it.\n\nRelated background (investigation from the Storybook side): https://github.com/storybookjs/storybook/issues/35668  \nRelated (same pnpm 11 build-approval theme, different failure mode — hard `ERR_PNPM_IGNORED_BUILDS` instead of a hang): https://github.com/TanStack/cli/issues/484\n\n### Your Example Website or App\n\nN/A as a hosted app — this is a local TanStack CLI create hang and needs a real TTY (StackBlitz / non-TTY environments won’t show the same interactive approve-builds path).\n\nRepro is the TanStack create command above (or interactive `pnpm dlx @tanstack/cli@latest create` choosing React + Storybook on pnpm 11).\n\n### Steps to Reproduce the Bug or Issue\n\n1. Use **pnpm 11+** in a real terminal (TTY).\n2. Optionally clear the pnpm dlx cache so the approve-builds path is more likely:\n   `rm -rf \"$(dirname \"$(pnpm store path)\")/dlx\"`\n3. Run TanStack create with the Storybook add-on, e.g.:\n\n```bash\npnpm dlx @tanstack/cli@latest create tanstack-app \\\n  --framework react \\\n  --add-ons storybook \\\n  --no-git \\\n  -y\n```\n\n4. See the CLI sit on `Running commands for Storybook...` / appear hung.\n5. If you look carefully at the terminal (or pause the spinner), pnpm may be waiting on an approve-builds prompt for **esbuild**.\n\n### Expected behavior\n\nAs a user, I expected TanStack create to finish (or show a clear prompt I can answer). Instead it looks stuck on “Running commands for Storybook…” while the child is waiting on stdin.\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\n- OS: macOS (also reported on other setups via the linked Storybook issue)\n- Browser: N/A (CLI)\n- pnpm: 11.18.0\n- Node: 22+ / 24 (see https://github.com/storybookjs/storybook/issues/35668)\n\n### Additional context\n\n**Why this is on TanStack:** create launches the Storybook add-on command and keeps the Clack spinner up for the whole child lifetime. Fixing visibility and/or passing pnpm allow-build flags is in that path (`storybook` add-on `command` + package-manager translation + `runCommandsAndInstallDependencies`).\n\n**Workaround for the underlying pnpm step (verified):** if you run the child yourself,\n\n```bash\npnpm --allow-build=esbuild dlx storybook@latest init -y --no-dev\n```\n\n**Suggested fixes:**\n1. When the package manager is pnpm, run the Storybook add-on command as `pnpm --allow-build=esbuild dlx storybook init -y --no-dev` (flag before `dlx`).\n2. Pause/stop the spinner when the child may need a TTY so pnpm’s approve-builds UI is visible.\n3. Document the workaround until (1) lands.","author":{"url":"https://github.com/ndelangen","@type":"Person","name":"ndelangen"},"datePublished":"2026-07-31T11:46:52Z","url":"https://github.com/TanStack/cli/issues/499"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:46071a88-aa99-1f14-598d-b4cf158df9ef
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3DC:230846:1EED20:2BC9C2:6AF9A4AA
html-safe-nonce1a76ce3b36d5d178befb4701f5c80602fc6465d4e9db7b4b51a92e49e7b172db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0RDOjIzMDg0NjoxRUVEMjA6MkJDOUMyOjZBRjlBNEFBIiwidmlzaXRvcl9pZCI6IjU2NjQ1NjkxMjUwOTU3MTE5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace885af8dbd87deb2707c129367cc6ceaed766b5a51ca44a522bc19a83543a9ee
hovercard-subject-tagissue:5029270441
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/499/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d73b2d20046229eb7798e28d732ffd259e184c37268949a86325471fe097fab6/TanStack/cli/issues/499
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d73b2d20046229eb7798e28d732ffd259e184c37268949a86325471fe097fab6/TanStack/cli/issues/499
og:image:altWhich project does this relate to? Create Tanstack App Describe the bug If I run TanStack create with the Storybook add-on on pnpm 11, the CLI can appear to hang forever on: Running commands for St...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamendelangen
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/TanStack/cli git https://github.com/TanStack/cli.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id932949058
octolytics-dimension-repository_nwoTanStack/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id932949058
octolytics-dimension-repository_network_root_nwoTanStack/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/TanStack/cli/issues/499#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fissues%2F499
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fissues%2F499
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TanStack%2Fcli
Reloadhttps://github.com/TanStack/cli/issues/499
Reloadhttps://github.com/TanStack/cli/issues/499
Reloadhttps://github.com/TanStack/cli/issues/499
TanStackhttps://github.com/TanStack
clihttps://github.com/TanStack/cli
Codehttps://github.com/TanStack/cli
Issues13 (13)https://github.com/TanStack/cli/issues
Pull requests23 (23)https://github.com/TanStack/cli/pulls
Discussionshttps://github.com/TanStack/cli/discussions
Actionshttps://github.com/TanStack/cli/actions
Projectshttps://github.com/TanStack/cli/projects
Security and qualityhttps://github.com/TanStack/cli/security
Insightshttps://github.com/TanStack/cli/pulse
https://github.com/TanStack/cli
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/499
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/499
#521https://github.com/TanStack/cli/pull/521
Create with Storybook add-on hangs on pnpm 11 under “Running commands for Storybook…”https://github.com/TanStack/cli/issues/499#top
#521https://github.com/TanStack/cli/pull/521
https://github.com/ndelangen
ndelangenhttps://github.com/ndelangen
on Jul 31, 2026https://github.com/TanStack/cli/issues/499#issue-5029270441
storybookjs/storybook#35668https://github.com/storybookjs/storybook/issues/35668
#484https://github.com/TanStack/cli/issues/484
[Bug]: Tanstack CLI install hangs in pnpm 11 storybookjs/storybook#35668https://github.com/storybookjs/storybook/issues/35668
ndelangenhttps://github.com/ndelangen
on Jul 31, 2026https://github.com/TanStack/cli/issues/499#event-28775219595
ndelangenhttps://github.com/ndelangen
Core Team Projectshttps://github.com/orgs/storybookjs/projects/8
on Aug 10, 2026https://github.com/TanStack/cli/issues/499#event-29226960725
ndelangenhttps://github.com/ndelangen
Core Team Projectshttps://github.com/orgs/storybookjs/projects/8
on Aug 10, 2026https://github.com/TanStack/cli/issues/499
ndelangenhttps://github.com/ndelangen
Core Team Projectshttps://github.com/orgs/storybookjs/projects/8
on Aug 10, 2026https://github.com/TanStack/cli/issues/499
Sidnioulzhttps://github.com/Sidnioulz
Core Team Projectshttps://github.com/orgs/storybookjs/projects/8
on Oct 13, 2026https://github.com/TanStack/cli/issues/499
tannerlinsleyhttps://github.com/tannerlinsley
completedhttps://github.com/TanStack/cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#521https://github.com/TanStack/cli/pull/521
on Nov 3, 2026https://github.com/TanStack/cli/issues/499#event-34978639763
github-project-automationhttps://github.com/apps/github-project-automation
Core Team Projectshttps://github.com/orgs/storybookjs/projects/8
on Nov 3, 2026https://github.com/TanStack/cli/issues/499
Sign up for freehttps://github.com/signup?return_to=https://github.com/TanStack/cli/issues/499
Sign in to commenthttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/499
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.