Creating a Cloudflare project via pnpm v11 fails out of the box
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- build-system, cli, cloud
調査の方向性
pnpm v11 コマンドで失敗を再現し、次に Cloudflare のテンプレートを調査して、commit 16fcd674c0f74c1c62cf97b0042060d5a51981ef と issue #394 における依存関係の承認アプローチを比較します。コマンドによって、手動での build の承認を必要とせずに、動作する Cloudflare React アプリが作成されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Which project does this relate to?
Create Tanstack App
Describe the bug
If I run
pnpm dlx @tanstack/cli@0.69.5 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: esbuild@0.28.1, sharp@0.34.5, workerd@1.20260708.1
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
- 主要言語
- 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時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area:tools bug good first issue help wanted priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
TaewoooPark/Motifcode#14 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·