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

Wrangler-action@v3 still not auto detecting pages deployments

This results in
It looks like you've run a Workers-specific command in a Pages project.
It looks like you've run a Workers-specific command in a Pages project.
... Can't seem to find a way around this.

Does Pro make Pages builds faster?

We're struggling with the pages build speeds (for both preview and production builds) and debating whether to upgrade. Would only make sense for us if the "Queued" times are drastically reduced - is this the case with the paid plan?

Billing not working

My r2 is not working my payment not Proceeding further when i click on pay its again showing the same when i click on payment it again loads the same page Your subscription to R2 was previously removed. In order to access your buckets, please add the R2 subscription back to your account. To check your account's billing status, visit Billing...

Account Stuck in LIMBO - Need To Update My Nameservers Before My Domain is DELETED!! :0

I am currently stuck between accounts and am having nameserver issues. Ive contacted support via email (4 seperate emails) 3 days ago, stating my issue and they havent got back to me! :c I have a free account so im not sure if that has anything to do with it... my domain is registered with Cloudflare Registrar, but tied to multiple Cloudflare accounts, therefore stuck in limbo. My domain will be deleted in 23 days if my nameservers aren't updated and this has me really worried. If anyone can help me I would be incredibly thankful. ...
No description

pages domain not showing

I have a pages domain setup and working, its not showing in the overview just a couple of workers what am I missing?

Help!

Hi ! Ive added my domain to my website,but it doesnt want to sincronise.. please help
No description

Domain dns records

Hi guys, I added my domain to cloudflare today and I am able to access my website but when i do www. it does not work. how do i fix this?
No description

Environment variables not accessible in Pages Function when deployed with wrangler

We're moving from the Cloudflare Pages GitHub integration to building on GHA and deploying via wrangler, but in our testing, in the Preview link generated by the wrangler deployment, the Pages Function no longer has access to an env variable that continues to work just fine via the GitHub integration: ``` const handleRequest = async ({ next, request, env }) => { const variable = env.VARIABLE; // works with GH integration, undefined via wrangler...

Why is pages so good??

I used netlify and vercel and it was dogwater. I Like cloudflare

Wrangler setup for Gitlab integration

Is there a way to setup a gitlab integration that is static in the wrangler config file? It seems I can't do it this way and have to go to the console to do it.

Wrangler environment variables are undefined

I followed the Astro guide (https://developers.cloudflare.com/pages/framework-guides/deploy-an-astro-site/) and I tried setting an env var in wrangler.json and accessed it with Astro.locals.runtime.env.MY_VARIABLE and it works in dev but it is undefined in preview/build. Steps to reproduce: 1. Create the project with
yarn create cloudflare my-astro-app --framework=astro --platform=pages
yarn create cloudflare my-astro-app --framework=astro --platform=pages
2. Uncomment the like
"vars": { "MY_VARIABLE": "production_value" },
"vars": { "MY_VARIABLE": "production_value" },
in wrangler.json and add the comma above it. 3. Make the start of src/components/Welcome.astro the following:...

Limbo

no idea if this is the right channel for asking help for the thing i'm asking but i need help on cloudflare anti-ddos protected sites. everytime when a site has this cloudflare antiddos protected software, i'd be stuck on the verification screen for hours on end. please help (also sorry if not right channel)

Override default npm ci --progress=false

i want to set it to npm install --optional=false, so it doesn't install optional dependency and cause error. So how can i change the default. I beleive that this is what's causing a lot of problem

How to Reconfigure Repository Location for a Pages Project Without Deleting It

Hi everyone, I'm looking for guidance on how to change the repository location for an existing Pages project without deleting the project entirely. I want to point it to a new repo or directory while keeping the current setup intact. Has anyone done this before? Any step-by-step advice or best practices would be greatly appreciated!
Thanks in advance!...
No description

How can I get the ID included in the URL issued when deploying?

Pages issues a unique URL ({unique ID}.{domains}) for each deployment. Is there a way to get this ID? This ID and the versionId from the version metadata seem to be different. https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata/...

Is there a `wrangler version` command for Pages?

Is there a wrangler versions command equivalent for pages? My use case is to have multi-stage deployments.

No Wrangler.toml found

out of nowhere i am getting these errors 02:00:59.187 Using v2 root directory strategy 02:00:59.210 Success: Finished cloning repository files 02:01:00.939 Checking for configuration in a Wrangler configuration file (BETA)...

Cannot create project

I tried creating a pages project but its stuck on this loading screen and never gets past this point. My other pages that are deployed work perfectly fine but I can't add any additional projects. Is there a limit that I don't know about? I only have around 100 projects deployed total - all subdomains and 1 main domain
No description

R2 Image access issue

Hello, Can't access image in browser event image is available in R2 Storage. it working fine with pub.dev domain but not working with custom domain. when i hit with custom domain it's throws me 404 object not found. but with public domain it's working fine Please help me in this ...
No description