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

Is it possible to run a docker compose environment on a cf page?

The subject already describes my question, therefore a precisely description's pointless.

How to resolve `node:crypto` error during Sveltekit deploy

```cmd Run npm run preview to preview your production build locally. 12:28:16.327
12:28:16.327 > Using @sveltejs/adapter-cloudflare 12:28:16.697 ✔ done...

How can I stop the Beacon JavaScript from being inserted automatically?

My Angular PWA offline mode breaks when the Beacon JavaScript is inserted automatically (because the Angular hash doesn't match the hash of the content served). I've tried adding the snippet manually and setting no-transform (Cache-Control: public, no-transform), but it is still inserted. There is no advanced settings option (as described in the docs), so I'm stuck. Any suggestions please?

Site is working on my side but is down on speed tests and uptimerobot

Hey, my site is working perfectly on my end (both on desktop and mobile), but when I run a Cloudflare speed test, it fails. It's also down on uptimerobot (https://stats.uptimerobot.com/7eg2tZKYZE) I'm so confused I can send you the link to it in DMs if needed....

After deploying a new version of a website, how long does it take to update the domain?

The title is maybe confusing but what I want to ask is: Roughly how long does it take to update https://EXAMPLE.COM after https://EXAMPLE.pages.dev was updated?

Cloudflare Pages functions and Cloudflare Workers running alongside each other

I have a project running on Cloudflare Pages with a few functions running out of the /auth path (facilitating GitHub OAuth for a Vue app). I now would like to make a separate Worker available under /app. Is there a way for me to do that with Wrangler when developing/testing locally?...

.vercelignore file?

I have published many sites on Pages using the next-on-pages tool. In the past, my projects only contained the Next.js app and nothing else. This week, I'm trying to set up a site that includes the Next.js app but also a Sanity.io studio install. The project can be used to build the Next.js project and run Sanity Studio for authors.
Sanity Studio keeps a set of key schema files in a directory called schema. This directory is not needed for building the Next.js project and can/should be ignored by Next.js or next-on-pages activity....

Why can’t I delete my domain?

Hello everyone! I’m trying to delete one of my domain, but I can’t receive the email with confirmation code (tried resend the email many times). Where does the email go to?

Vuejs in Cloudflare not updated on refresh

Hi, I recently migrated my Vue app from a self hosted with Nginx to Cloudflare. Unfortunately, I noticed an issue is that the page kept using the cached files instead of the latest files available despite multiple refreshes. It basically requires a clear cache + hard refresh to load the latest version. Each Vuejs static has a unique hashcode in the name, so it gets regenerated when there's an update....

cloudflare pages + worker definitions

Hi, I am using SvelteKit with the cloud flare adapter, and was wondering if there was a way to define a worker that will run on a cron schedule in the same wrangler file alongside the sveltekit pages? Thanks !...

postgres in pages

how can i use postgres using sveltekit with pages and drizzle ORM? im using pg atm but im getting these errors when building; ``` 18:24:51.574 node_modules/pg/lib/stream.js:21:20: 18:24:51.574 21 │ var tls = require('tls')...

Deleting pages

I'm just wondering how to delete pages or are they permanent?

How do I update my drag & drop site?

Very very simple question, but I cannot find how to update/redeploy my site using the free plan of Cloudflare Pages. I used the drag & drop html css js but can't find a way to do it again to update the site. Thanks!

When I enable the proxy for domain the website CANNOT open

I am a user from Chinese Mainland. Recently, I encountered an unsolvable problem when using Cloudflare. My website is temporarily hosted on Cloudflare pages, and the domain name is also resolved using Cloudflare. But when I enable the proxy for domain name resolution, my phone’s cellular network can be accessed, but the computer connected to Wi Fi cannot access it no matter what. When I shut down the proxy for domain name resolution, everything can be accessed normally. I tried various methods online but couldn’t find a solution. Some people said they could contact Cloudflare to help refresh the assigned node IP, but I couldn’t find the entry point to contact them. Who can help?...

Multiple live deployments for same preview branch

I just started using Cloudflare Pages. I have a production branch and a master branch. I have the master branch setup as a deploy preview. Whenever I push to master, it creates a new deploy preview but the old one does not go away. Is there a way to change that? I now have multiple previews for the same branch.

Cryptic Error during upload

I'm trying to publish a pretty large application to cloudflare pages with several functions. I can run it locally just fine but when I try to do a deployment I run into this cryptic error: ```...

NUXT Your Functions script is over the 1 MiB

I have checked all files from the dist folder when built locally and it isn't over 1MiB I have been trying to figure out how and where things are going over the limit but can't find anything. Anyone have any hints or things they have run into when trying to run a NUXT site through pages?...

Succesful Bun Run Deploy in Console, deployment fails in Dashboard

Account id: 2681f1ed7639ad2477706a492ad7d1c5 projecturl: nextproject.pages.dev Console says it sucesfully compiles with ```✨ Compiled Worker successfully ✨ Uploading Worker bundle...

Pages won't let me add custom domain already active in CF Account

Accountid: 2681f1ed7639ad2477706a492ad7d1c5 Pages url: nextproject.pages.dev Custom domain: gitcloneship.com...

Can you setup multiple builds for the same branch?

I have a site that is deployed to multiple domains with different build settings. To simplify my example, say my app is something whitelabeled where I deploy the exact same app to domainA.com with something environment parameter like COMPANY=A and I deploy to domainB with something like COMPANY=B. So I need different builds for each domain. Is that possible on Pages?