CELL_CLOUDFLARE_CONFIG_INVALID
Messages
- … 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 ….
How to fix
- 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": ["…"].
Where it is raised
- dev-packages/cli/src/preset/cloudflare/wrangler-config.ts:62 (
@celljs/cli) - dev-packages/cli/src/preset/cloudflare/wrangler-config.ts:71 (
@celljs/cli) - dev-packages/cli/src/preset/cloudflare/wrangler-config.ts:122 (
@celljs/cli) - dev-packages/cli/src/preset/cloudflare/wrangler-config.ts:142 (
@celljs/cli)
Generated from the source of Cell 4.1.0; messages and hints are what the code prints.