Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

How to solve this issue, when using a

How to solve this issue, when using a custom port with HTTPS known issue with fetch() requests to custom HTTPS ports in published Workers: the custom port will be ignored when the Worker is published using the "wrangler deploy" command....

I don't think it was the blog one, but

I don't think it was the blog one, but the other one that they recommend with some starter files. I didn't change anything

[Feature?]: Wrangler/Miniflare dev serve...

Yeah guess that is why I missed this. Looks like there is manual workaround https://github.com/solidjs/solid-start/issues/1394

Hello!

Hello! Having an issue trying to set up routes in wrangler.toml I want to set both the custom domain and also the wildcard routes but I can't...

I am using "wrangler pages dev" for

I am using "wrangler pages dev" for building a simple Pages site (static html). I am getting errors from my browser due to the css file being served back with Content-Type: text/html instead of text/css. I see a few similar issues from 1-2 years ago, but not many, and no fixes. I also don't think I've had this issue with previous Pages developments. Any suggestions?

not planned yet afaik

not planned yet afaik

In your Framework. Then when you run the

In your Framework. Then when you run the build command, it builds your Functions for you

I use a monorepo and lerna

I use a monorepo and lerna

Hi, `wrangler versions` is not working

Hi, wrangler versions is not working in 3.68, even though it's supposed to be there since a while.

Hey,

Hey, I'm trying to use github action to deploy our worker, using cloudflare/wrangler-action@v3. This is my yml file: ``` name: Deploy Worker...

No such module "wrangler:modules-watch"

Anyone seen this before? No such module "wrangler:modules-watch" ``` ⎔ Starting local server... [wrangler:inf] Ready on http://localhost:5010 ✘ [ERROR] service core:user:phosphor-server: Uncaught Error: No such module "wrangler:modules-watch"....
No description

`wrangler pages dev` hangs on macOS + bun

Has anyone seen an issue where wrangler pages dev doesn't start the server unless you restart your computer (macOS arm, bun)? It also hangs when you try to shut down the server ```toml #:schema node_modules/wrangler/config-schema.json name = "phosphor-server"...
No description

Good to hear! Looking forward to the

Good to hear! Looking forward to the results 🙂

Can I refer to env vars in wrangler.toml

Can I refer to env vars in wrangler.toml? I am setting up inngest with Cloudflare and need to set INNGEST_SIGNING_KEY, technically that's a "secret" but setting it via wrangler secret put INNGEST_SIGNING_KEY doesn't make it available in the "environment variables", inngest sync fails and to put it in environment variables, I need to add it to wrangler.toml as "plain text" and deploy.

Whenever I run `dev`, the process

Whenever I run dev, the process oftentimes doesn't shut down correctly and it ends up needing to use a different port every time. I get errors like this: ✘ [ERROR] Address already in use (127.0.0.1:60392). Please check that you are not already running a server on this address or specify a different port with --port. So I have to run the following:...

For some feedback (not a bug), since

For some feedback (not a bug), since wrangler 'lost' the capability to 'port forward' a dev server, it's been a nightmare to develop a Pages project with Functions... Regular pages: just ignore wrangler and use 'bun run dev' or whatever you're using; it'll update automatically on file save; Regular Worker: same thing, just run with wrangler and it'll auto-detects changes automatically and reload;...

what does the new dev env bring

what does the new dev env bring

it's working for me. but still debugger

it's working for me. but still debugger doesn't work, that's the one thing i want fixed 😬 https://github.com/cloudflare/workers-sdk/issues/5339#issuecomment-2189587023

So wrangler just made me go through the

So wrangler just made me go through the oauth process again, but now when I click Allow, wrangler throws an error. SyntaxError: Unexpected token < in JSON at position 0

Hey wrangler team... this is a crosspost

Hey wrangler team... this is a crosspost from the DO channel, but I'm not getting responses there, and it may be a wrangler issue anyway: I'm trying to republish an updated itty-durable that imports/extends { DurableObject } from 'cloudflare:workers'... This works fine, and folks can use it downstream as long as they are using wrangler (obv), but I am unsure of how to add test coverage to this in a way that'll pass outside of a wrangler environment (e.g. jest/vitest on GH actions)....
Next