Skip to content

CELL_DEPLOY_OUTPUT_MISMATCH ​

错误信息 ​

  • The output in … was built with the … preset, not ….
  • … has no output of the cloudflare preset (built with: …).
  • … has no output of the fc preset (built with: …).
  • … has no output of the lambda preset (built with: …).
  • … has no output of the scf preset (built with: …).
  • … has no output of the vercel preset (built with: …).
  • vercel deploy --prebuilt reads .vercel/output, but the output is in ….

修复方法 ​

  • Run cell deploy without --skip-build, or cell build --preset … first.
  • Run cell deploy --preset cloudflare without --skip-build, or cell build --preset cloudflare first.
  • Run cell deploy --preset fc without --skip-build, or cell build --preset fc first.
  • Run cell deploy --preset lambda without --skip-build, or cell build --preset lambda first.
  • Run cell deploy --preset scf without --skip-build, or cell build --preset scf first.
  • Run cell deploy --preset vercel without --skip-build, or cell build --preset vercel first.
  • Build without --out-dir (the vercel preset writes to .vercel/output).

抛出位置 ​

← 全部错误码

根据 Cell 4.1.0 的源码生成;错误信息与修复提示是命令行输出的原文(英文)。