#484·cli

Creating a Cloudflare project via pnpm v11 fails out of the box

Author: dario-piotrowiczCreated Jul 10, 2026Updated Jul 10, 2026

Which project does this relate to?

Create Tanstack App

Describe the bug

If I run

bash
pnpm dlx @tanstack/[email protected] create tanstack-app --deployment cloudflare --framework react --no-git

using pnpm version >= 11 the process fails with the following error:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: [email protected], [email protected], [email protected]

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.

Expected behavior

the command should just work and create a functioning app

Platform

  • OS: macOS
  • pnpm: v11.11.0

Additional context

Very similar to (but not a duplicate of) https://github.com/TanStack/cli/issues/394

I assume that this could be fixed (following https://github.com/TanStack/cli/commit/16fcd674c0f74c1c62cf97b0042060d5a51981ef) by adding appropriate "onlyBuiltDependencies" to the Cloudflare templates