Issue with deployment using Cloudflare worker

645 views Asked by At

I am trying to deploy my worker using wrangler dev or wrangler publish but I am getting this error even though I have already added my account id into the wrangler.toml file like I was instructed to do in the documentation.

Error: field account_id is required to deploy to workers.dev

Any help would be greatly appreciated!

1

There are 1 answers

0
C. Fior On

I had a similar issue. Try redoing wrangler init in a new directory, it fixed it for me.