No event handlers were registered. This script does nothing. [code: 10021]

Processing src/wrangler.json configuration:

  • Unexpected fields found in top-level field: "crons"
Total Upload: 0.69 KiB / gzip: 0.40 KiB
Your worker has access to the following bindings:
  • KV Namespaces:
    • MY_KV: ----
[ERROR] A request to the Cloudflare API (/accounts/----/workers/scripts/my-worker) failed.

No event handlers were registered. This script does nothing.
[code: 10021]. .... any one how to solve this
Was this page helpful?