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

Debugging a deploy issue in a Remix + Vite Project

Hello, I have migrated my existing Remix CF Pages app that's been running for about a year to Vite, and the migration has been a pain. At the moment, I am able to deploy the app, but all I get is a status 500 error with the message "Internal Error". All logs and consoles are clear, in fact, Wrangler Tail gives me two requests with 200 OKs (one of them is the favicon). Any idea on how can I go about debugging this hair-pulling issue? Thanks in advance....

CPU time Go further than the limit.

The CPU time 99th percentile continued to be 3500, so I set the limit, but it did not change. I redeployed it several times and waited, but stilled it still didn't change....
No description

How to change and manage subdomains?

I have a Pages "app/project" with custom domains. I can't see how to change the assigned subdomain associated with the Page (e.g., foo.pages.dev).

UI Alerts after disconnecting git integration on pages project.

Hello! We've been using the git integration for deployments of our pages but due to build permissions and environment we need to move the deployment to github actions. I disconnected the git integration and added a github workflow using the cloudflare/pages-action to handle further ci builds and deployments - which works without problems. ...
No description

Tree-shaking for Pages Function

I've got a codebase tested with Vitest, exclusively using in-source testing (https://vitest.dev/guide/in-source.html). When building the front-end application, import.meta.vitest is defined as "undefined" so the tests get eliminated by the bundler. This doesn't seem to work with Pages Functions. When I import modules that have little source code but massive tests, it seems like the content of the tests gets included, cause the build will fail with the message `Error: Failed to publish your F...

Get Previews for PRs from forks

Is there any way to get previews of PRs from fork if I am using cloudflare pages? Like the way vercel supports. Thank you !! #pages-help...

Cannot create page

Hello, when attempting to connect to Git to create a page, I am faced with the error: An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. (Code: 8000000)

How to access the Pages ASSETS binding with getPlatformProxy

Hi folks, I'm migrating a large react app to Pages. I'm implementing a hot-reload server for my pages app, which is using advanced mode for server-side rendering. When I build the app, it works, but for development I hit a problem where I'm unable to serve static files because the ASSETS binding is undefined after I use Wrangler's getPlatformProxy. I wrote this Vite proxy to have a nice development environment, inspired by Remix's dev proxy. My goal is to be as close as possible to the production SSR environment....
No description

Failing build - not correctly installing yarn dependency from `packageManager` field.

22:41:37.925 Cloning repository... 22:41:38.622 From https://github.com/DocusaurusCommunity/website 22:41:38.622 * branch 1df77c3566004568f89232bd8edc92a00d8d3b3d -> FETCH_HEAD 22:41:38.622
22:41:38.667 HEAD is now at 1df77c3 Merge pull request #20 from DocusaurusCommunity/updateDocs...

authentication

How To Reset 2FA Code??

can i set the sha for pages deploys with wrangler?

It seems the sha generated by cf is totally random?
No description

Keep getting failed deployments after success wrangler action

I've read that the worker function has a limit of 1Mb, so I've subscribed to the paid plan to get 10Mb limit, then I managed to do a successful deployment, but after adding more stuff to my project (remix + hono) I'm getting failed deployments again. Last deployment ID: 5272dbfd-2f1d-4b81-b9fa-ac36c51c63d4 Can someone send me logs about the error?...
No description

i need help pls

iam trying to open vaksms.com but it keep verifying vak-sms.com Verifying you are human. This may take a few seconds. Ray ID: 8826b12e99550db8...

Is there a way to run BUILDS (e.g., npm run build) without them counting as DEPLOYMENTS

TL;DR: Is there a way to run BUILDS (e.g., npm run build) without them counting as DEPLOYMENTS (500 free limit)? Hey, I've been diving into Cloudflare Pages and making good progress, but I've got a question I can't seem to figure out. What's the way to run builds (to produce static pages with any framework featuring SSG functionalities, like Next.js, Astro, etc.) without having to deploy everything? ...

how do you tell wrangler to do a preview deploy?

I have this code so far: ```yaml - name: Preview ${{ matrix.app.name }} working-directory: ./deploy-prep-dist/${{ matrix.app.path }} run: |...

Error while deploying docusaurus

Site: https://b00f34c3.docs-b25.pages.dev/ Deployment ID: 5f89e0bf-3e17-4554-93a2-bd7a9b33e607 Account ID: 8f95ea25df515d55aa21da251831a038 Got Repo: https://github.com/kinglyminecon/docs/tree/Cloudflare...

Email Provider compatible with cloudflare pages

Hi Guys Recently i tried to host my sveltekit in cloudflare pages with sendgrid, however there is a problem with their library when i tried to deploy it in cloudlfare ```...
No description

Why is my function middleware not active?

I created a middleware here: https://github.com/NullVoxPopuli/limber/pull/1733/files and locally, testing with npx wrangler has the desired behavior. but when I view my page's latest deploy: https://4186709a.limber-glimmer-tutorial.pages.dev/1-introduction/1-basics...

Wrangler pages deploy works but it shows "this deployment failed"

Hi, I have a hono application that builds and runs locally (even using wrangler pages dev), but when I do a deployment to production or even for preview, my deployment succeeds but it shows "this deployment failed" in the dashboard. Could you see my deployment logs? Deployment ID: f160ba99-a08b-4388-9a9b-dd92b5f83340...

Shopify Extensibility App on Cloudflare

Has anybody hosted a Shopify extensibility app on Cloudflare yet? I have gotten hosting to work on Fly.io before, but I can't seem to get if for Cloudflare. I've tried doing both "exit 0" and "npm run build" for the build command, but still no luck. Anyone have an idea of what I may be missing?
No description