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

TCP connection possible in NextJS?

Since cloudflare supports tcp connections on workers is it somehow possible to use tcp connections in NextJS

a cloudflare tunnel to connect to a local website

I try to create a cloudflare tunnel to connect to a flutter website running (using "flutter run" command) on my local MAC. I have done this successfully for connecting to a web service running locally. But the tunnel for the flutter website does not work. https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/ says "Cloudflare Tunnel can connect HTTP web servers, SSH servers, remote desktops, and other protocols safely to Cloudflare.". Does it mean tunnel does not work fo...

Build unable to access node.js

Looks like Pages building isn't able to pull the node.js version required, gets a 500. I'm able to access the attempted download URL manually, but that doesn't really help. This Pages site last deployed to production 7 days ago, and a preview 6 days ago. ...

Shallow Git Repository Clone

I am using cloudfare to host my website although while cloning the git repo it does a shallow clone but I want it to do a "full" clone as the repo history has some information my code uses. Is there an option to change / enable this on the free plan?

change page extension

How can you change the extension that reflects pages.dev
No description

Nuxt JS on Pages environment variables not working

I have correctly set all my env vars, my code seems accurate as far as i can tell yet no matter what i do pages will not use my variables

Cannot deploy Nuxt app to pages. Build completes, but after publish I get a minified runtime error

my pages.dev link : woom-v2-nuxt3-cloudflare-autodeploy.pages.dev deployment id : 0ac92c74-e72e-4969-8256-1fcedfbba7ee I am consistently getting a runtime error after the publish succeeds. Given that the error is coming from minified js, that I do not have access to, this is making it impossible to figure out exactly what the problem is....

www CNAME not properly resolving to my Pages domain - Error code 522

I have a pages project up at https://rexipie.pages.dev. A while back I used Cloudflare domains to have https://rexipie.com serve my Pages content. Now I want https://www.rexipie.com to do the same. I have added the CNAME record shown, but I get 522 errors when attempting to navigate to it. When I check a third party DNS lookup, I see no CNAME records listed: https://www.nslookup.io/domains/rexipie.com/dns-records/#cloudflare...
No description

I get error: You have no linked accounts matching the provided username. (Code: 8000011)

I own a static website made out of HTML + CSS + JS. I've used CloudFlare Pages for some time now and pushed many commits to GitHub. Usually, everything goes smoothly and fast. Not this time. I pushed my latest commits to GitHub, but my website didn't seem to update. After some minutes, I didn't see any activity on the dashboard > Workers & Pages > [my-project] > Deployments. I tried and configured my CloudFlare Pages application (in Settings > General > Git integration). I uninstalled "CloudFlare Pages" and reinstalled it (by going once more to Settings > General > Git integration). Still not getting my website to update....

When syncing fork CF did not auto deploy the page

After syncing my fork via the Github website, CF still thinks the latest commit is whatever was before the sync. I am not sure there is a way to tell the pages project to re-fetch for the newest version. - ee2765b2-8961-4e09-ac57-ccba149cc8df.pages.dev - Not sure about deployment ID - 4f545112d8943c5f076e09a1ba32aa1a...
No description

About Building Application

why i will stuck at building application when i am deploying the server with node.js and build command:npm run start? is there any thing i did wrong??
No description

docusaurus site with react component fails to build

I have a small docusaurus website, that I would like to test on pages. The site builds and run fines with npm start and npm build, but fails building on CF pages with the following errors : ```...

Getting Internal Server Error while deploying a nextjs application

13:20:12.860 Failed: an internal error occurred
13:20:12.860 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 66888a5a-921b-41c0-83e5-9993d50a6acc
13:20:12.860 Failed: an internal error occurred
13:20:12.860 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 66888a5a-921b-41c0-83e5-9993d50a6acc
There is no additional error message the log message before this says...

How to do SSR with a CRA project?

I tried converting my project to Astro but it isn't as seamless as the docs suggest it so after several hours of fixing errors after errors just to make it run again I'm wondering isn't there a more simple solution?

Why do pages main branch use yarn 1 but preview branches use yarn 3?

Trying to get our preview branches working and its not honoring the packageManager field for yarn@1, its forcing yarn@3. Why? Our main branch uses yarn@1 no problems...

CF_PAGES_URL is the preview url

I have a relatively small hugo website and configured cloudflare to use hugo -b $CF_PAGES_URL when i access the production domain i can see the website however if i click any link it redirects to the preview url

ignore packages only on production build

Hi, I'm trying to use Lucia Auth in my SvelteKit application. I want to use better-sqlite3 for local developement and d1 for live deployment....

How to use Imagemagick?

based in the table at https://developers.cloudflare.com/pages/platform/language-support-and-tools/, Imagemagick 6.7.7 is included in v1 build system I have to questions: 1- how to use it? Because I tried using magick -version and errors 2- is it available in v2 build system? The table at the previous link show it's not included, but maybe is just showing some of the tools...

Failing build

Hello, I am having a problem with building my app. After all the necessary processes are completed and the server starts, I wait for the build to finish. However, after approximately 30 minutes, it fails with the error message ā€œFailed: an internal error occurred,ā€ which is very vague.
No description

Issues with NuxtJS and Nitro Server with Cloudflare Pages

pages.dev domain: leagued-pr-web.pages.dev deploymentID?: 6090b376 AccountID: 6232ecf3b93920021dd5ddebe528f2bf Error from Worker Pages Dev ...: ```service core:user:worker: Uncaught TypeError: Object prototype may only be an Object or null: undefined...