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

cache/webpack/server-production/0.pack too big but can't see why

Hello, apologies for the perhaps silly question, but I've looked around and gone in circles with claude with no success. I have a very simply nextjs webapp that I want to deploy on pages. When I run bundle analyze, it gives me about 1MB for client, 3MB for nodejs, and 250KB for edge. it runs perfect locally. And yet when I try and build, it gets to the very last step and says: 23:11:46.407 ✘ [ERROR] Error: Pages only supports files up to 25 MiB in size 23:11:46.407
23:11:46.407 cache/webpack/client-production/0.pack is 42.3 MiB in size...

SvelteKit minimal template doesn't build at Cloudflare but works fine on my machine

Hello! I'm getting the following error when building a SvelteKit minimal app without any changes: ``` 00:02:14.492 Installing project dependencies: npm clean-install --progress=false 00:02:15.393 npm error code EUSAGE...

Custom domain problem in cloudflare pages

I deployed a react with vite project on cloudflare pages and its working fine on pages.dev domain, here's the link (https://portfoliov1-dhw.pages.dev/). Then I connected the pages website to my domain (anukiranghosh.com), I followed the instructions and changed the nameservers to that of cloudflare provided ones on godaddy dns. I'm pretty sure that I have followed all the steps but something went wrong, I'm getting "522 Connection Timed Out" error whenever I'm visiting the custom domain on my browser. Its been two days, but I'm still getting the same error. Now its even showing site is not secure. Can anyone help me troubleshoot this error? If you need more details, please feel free to ask. Thank you in advance....

Is FaunaDB integration supported for Pages?

I noticed it's missing from the Integrations list. Given the edge runtime node compat limitations with the Mongo node driver, I'm looking for MongoDB alternatives, and Fauna seems like a good alternative; I'm open to suggestions. Thanks!

Site works fine under cloudflare's domain, but my own (which is under cloudflare's dns stuff) breaks

I have a site at https://new-site-ahw.pages.dev/ with some basic html, css and js which works fine at the link there. However, when cloudflare pages uploads to my domain (whih I bought and run under cloudflare) https://new.isophes.com the html breaks. ...

R2 so slow when download file

I moved from S3 to R2 for my application. I use APAC region. And my users are almost in Vietnam. I don't know why but users reported to me that they download file with very slow speed. I tried to enable Cache, but nothing better my account id: 47f47fdf68786c80746c414143a6f4e0 ...

How to implement nonce in _headers file?

I am using pages with marko, how could I implement nonce from the _headers file?

WEBSITE HELP ( HTML )

• My page is kdsirclasses.pages.dev So i indexed my page recently on google but when i search my page on google it's showing cloudflare on top of site so is there a way to remove that? From there im using html......

pages deployment is ignoring NODE_VERSION since 2 days ago

``` 22:47:02.272 Cloning repository... 22:47:03.082 From https://github.com/codebam/seanbehan.ca 22:47:03.083 * branch 571a49d58d02d6b5970049d083d99ab6219478b2 -> FETCH_HEAD 22:47:03.083 ...

Issues with building site for the past few days

Not sure what's going on. I'm running this site https://cobblemon.com/ A few days ago I changed the trailer URL and pushed for rebuild. Ever since, any build I do gives 500 Internal Server Error, for example: https://trailer-fix.development-cobblemon-site.pages.dev/ Even after reverting the change (just embeded URL) and rebuilding, any new build gets hit with 500 Internal Server Error. For now we just had to revert to the last working build which is from about a month ago. Nothing's changed in my code but I'm unable to build at all without the error. Not really sure where to go from here, would appreciate any help! Site was made using NextJS....

Pages Site Incorrectly Flagged for Fishing Causing Outage

http://a-dose-of-dal-under-construction.pages.dev/ appears to have received two false phishing reports at the same time early morning this morning. The site is an under construction placeholder for prior to launch use for a customers website. I submitted an appeal but its still in review is there any way to speed this up? The site is effectively down and the customer anxious. I could make a new pages site but am worried itll happen again or be a violation of some ToS.

Title: Confusion About Configuring _Redirects in Cloudflare Pages

We are currently using Cloudflare Pages to deploy an Angular single-page application (SPA) with i18n for multiple languages. After building, we end up with two separate folders, dist/fr and dist/en, each containing index.html, main.ts, etc. We need to serve multiple routes, including: /fr...

DNS Nameserver not working to make my website go live

I have added my name server to my DNS management to get my website to go live and been waiting but i have no luck

Uploading failed

While trying to update the old project I run to issue where im trying to basically commit new files. I have issue with probably PageTransition but dont know why when building of project is going well.

Assets Not Uploading w/ Astro

I am trying to build an Astro site. However, none of the images got uploaded. The only files under "Assets Uploaded" are the .html files. My images are under /images and /gallery. The /styles.css file did not upload either. I attached the log, which appears all correct. And the build is here: https://8fa15d65.pcmwi-com.pages.dev/...

I am getting a page 404 with next.js with successful deployment

next.config.mjs ```/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, output: 'standalone',...

Page Rules migration

Hi guys, I'm new to Cloudflare and I have a few questions, sorry if this is a duplicate and sorry if this is not the right place for my question. So the question is about https://developers.cloudflare.com/rules/reference/page-rules-migration/ and page rule deprecation. I want to know if I can have a page rule and the same configuration rule at the same time? Will they conflict?...

GitHub project deployed on Cloudflare pages, can't see deployment status on my GitHub repo.

As the title says, I cant see the deployment status on my github repo as the picture below shows and the cloudflare picture clearly shows that it deployed from the main branch of the repo. Does anyone know how I can see the deployment status on github aswell?...