Vercel CLI 55:--yes 不再猜測部署目標
Tech
瀏覽 3
--yes 只回答確認問題。存在多個團隊時,必須提供 --team/--scope 或 VERCEL_ORG_ID,否則以 missing_scope 停止。
把團隊與專案變成輸入契約
將 VERCEL_ORG_ID 與 VERCEL_PROJECT_ID 成對設定。token 負責驗證,不應隱式選擇目標。
部署後核對 owner、project、environment 與 commit,並把 missing_scope 視為設定錯誤。
Checklist
✓Pin team and project together
✓Treat missing_scope as configuration error
✓Verify owner, project, environment and commit