Skip to content

CELL_CLOUDFLARE_CONFIG_INVALID ​

错误信息 ​

  • … is not valid JSON: …
  • … must contain an object.
  • compatibility_date must be a date like "…", got ….
  • compatibility_flags must be an array of strings, got ….

修复方法 ​

  • Fix the syntax; comments and trailing commas are allowed.
  • Write the configuration as one JSON object, e.g. { "name": "my-app" }.
  • Set "compatibility_date": "…" or a later date.
  • Write "compatibility_flags": ["…"].

抛出位置 ​

← 全部错误码

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