You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something we've already noticed and know we need to fix (it does need changes both in wrangler and C3 unfortunately) sorry for the inconvenience π
In the meantime to get C3 to work for you, you'll need to set up your workers.dev subdomain, you can do that by manually deploying your worker via wrangler (by running npx wrangler deploy inside the worker's directory), that should have the proper interactive prompt and let you create the subdomain.
Alternatively you can just deploy a worker via the Cloudflare dashboard and that should set up your subdomain automatically for you.
Which Cloudflare product(s) does this pertain to?
C3
What version(s) of the tool(s) are you using?
^3.0.0
What version of Node are you using?
v18.18.2
What operating system are you using?
Mac
Describe the Bug
I tried following the Getting Started Tutorial: https://developers.cloudflare.com/workers/get-started/guide/
When i run
npm create cloudflare@latest
I choose a directory, choose "Hello World" Worker, and choose Typescript "yes".The script fails with
β [ERROR] This command cannot be run in a non-interactive context
β οΈ wrangler 3.14.0
Total Upload: 0.19 KiB / gzip: 0.16 KiB
β² [WARNING] You need to register a workers.dev subdomain before publishing to workers.dev
? Would you like to register a workers.dev subdomain now?
π€ Using default value in non-interactive context: yes
β [ERROR] This command cannot be run in a non-interactive context
If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: