Deploy fails with prisma ≥ 8.0.0-rc.30: --stage has been replaced by --environment
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, github-actions, javascript, node.js
調査の方向性
The failing command is built in the action's deploy step, where it passes --stage to prisma deploy; search the repository for --stage to find that call. Check how the CLI version is resolved and whether the flag can be switched to --environment for newer prisma versions while keeping older ones working. Done when the deploy step runs with prisma 8.0.0-rc.33 and older pinned versions still pass a test or manual run.
索引モデルが issue の本文から書いたものです。
説明
The action runs prisma deploy --entry <module> --stage <stage>. The Prisma CLI removed --stage in 8.0.0-rc.30, so repos with a newer local prisma devDependency fail at the deploy step. The build step succeeds first.
Steps to reproduce
- Add
"prisma": "8.0.0-rc.33"to the repo's devDependencies. - Use the action with module: module.mjs.
- Push a branch.
Actual behavior
$ bun run --bun prisma deploy --entry module.mjs --stage my-branch
✘ [CLI.COMMAND_MOVED] `--stage` on `deploy` has been replaced
why: A place the app runs is now called an environment.
→ Use the replacement: prisma deploy --environment <name>
error: "prisma" exited with code 2
##[error]deploy failed: ... exited with status 2
Expected behavior
The action deploys with the CLI version the repo has installed.
Environment
- Action: prisma/cloud-deploy-action@v1 (resolves to v1.10.0, 5e15880)
- prisma: 8.0.0-rc.33
- @prisma/composer: 0.38.0
- Runner: ubuntu-latest, Node 24, bun 1.3.13
- 主要言語
- JavaScript
- スター
- 2
- フォーク
- 6
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
Toast announcer reads a doubled period when a toast's title ends in punctuation対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
vercel-labs/ui#999 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
gcivil-nyu-org/team5-mon-fall26#152 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
router-for-me/models#105 ·
メンテナーはふだん 1 日以内に返信
-
[Prisma 8] Type-check time grows exponentially with chained .include() calls対応中かも @SiKreuz が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信