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

Unknown internal error occurred when deploying remix app

I'm trying to deploy a remix app, and keep getting Unknown internal error occurred. The app works fine locally, not sure how to debug this any further. The deployment id is d087a906-b222-4db0-98f3-552418443753...

Error building worker: No loader is configured for “.svg” files

Hey folks, I’ve got a Pages Remix app which uses svg icons. It’s built with vite, and works fine in local development with remix vite:dev, but running locally with wrangler page dev and deploying with wrangler pages deploy produces an error about the .svg files in my code: ` ✘ [ERROR] 1 error(s) and 0 warning(s) when compiling Worker....

Text formatting issue

Hello! Text on one of my pages looks good on pages.dev address, but the formatting is messed up on the custom domain. The source in my computer looks good, so something happened in Pages. I purged my browser cache.
No description

How to Interact with Service Workers from Pages Functions

Hi all, I am building an Astro frontend Pages that will run its API code in a Functions directory, and I need to have it interact with another Cloudflare Worker that is another API that handles authentication. This way I can decouple the Auth Worker as a microservice and have it interact with other Workers if needed. I made a simple diagram of this....
No description

Point to remote r2 bucket when running pages dev locally?

Is there any way to point a binding to a remote r2 bucket when running pages dev locally? From the docs on the --r2=BINDING_NAME flag, it seems to only support a local bucket?

Is there a planned support for pages deploy --dry-run 👀?

I'm building a preview-deploy github workflow action and I would like to test if my preview-deploy action is working without deploying the site to a preview/staging env. Looking at the API I don't see anything for it at the moment: https://developers.cloudflare.com/workers/wrangler/commands/#pages...

Changed name broke GitHub CI

I changed the name of a Cloudflare page application, however now on GitHub it shows 2 actions per commit: One with the correct name and valid links to a build and another with the old name, broken links and always says "Building" with a failed status Any help would be greatly appreciated!...
No description

Upgrade help

Unable to upgrade the Plan, error code 1000

Deploy NexJS Site to CloudFlare Pages with Wrangler

Hi I have a monorepo setup (nx). Because monorepo is not supported by CloudFlare Pages, I would like to deploy the build folder manually using wrangler. npx wrangler pages deploy ./apps/app-nam --project-name mono-test-01 This folder includes the ./next/ output folder, as well as a package.json file, with a script, "start", being npx next start...

Cloudflare Next-On-Pages crash on Docker

Hi guys, i'm unable to make Cloudflare next-on-pages work on development using Docker. When i run the app locally it work well, but when i run the same app on Docker environment it just crash. Github repo for reproduction. https://github.com/oljimenez/cloudflare-app...
No description

Mailchannels only for one page?

I could swear I read that the mailchannels post capture can be limited somehow when I first set that up. I can't find it anymore though. Any pointers?...

exited with code: null and signal: SIGTERM

I am trying to fix this issue since like couple days now and still havent found the solution works good locally but when trying to deploy using cloudflare it just gives error, using NextJS btw 21:29:50.953 ▲ Compiler server unexpectedly exited with code: null and signal: SIGTERM 21:29:55.434 ▲ Failed to compile. 21:29:55.435 ▲ ./node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js:4:15...

Deploying a website that functions flawlessly when ran locally

I have recently encountered an issue while attempting to upload my website to Pages using Wrangler. Despite the website functioning flawlessly when using npm start in the main folder to host it on localhost:port, it fails to load on (mywebsitename).pages.dev after uploading all the files to Pages via Wrangler and deploying the site. Given that the website is already built, I am seeking assistance on resolving this issue. Any assistance in this regard would be greatly appreciated.

Pages Deployment fails Git URL Changed

Hi, Due to some company issues we had to migrate our gitlab projects, this migration caused the URL to change. The Page project is still directing to the ascient repo. I didn't find a way to change the url. Tried to reset the git connection (Gitlab) like stated in the documentation, it didn't work....

Yarn v3/v4 cache

Pages has automatic caching for many package managers, including yarn v1 (https://developers.cloudflare.com/pages/configuration/build-caching/#package-managers). Unfortunately not for newer versions. Will this be added in the near future?...

This is what we get at the end of our discussion with [email protected]

``` Hello, Please create a customer support ticket from within your account dashboard for assistance with this matter. They will be able to assist you. ...

Nuxt3 with D1 binding example

Hi there, I'm looking for a basic example of Nuxt3 working with a d1 database. Using the ./server/ folder instead of functions. From my understanding the binding should integrate, but I'm not finding good examples that are a straight install, configure and run. I have looked at this https://github.com/tlebeitsuk/nuxt-cloudflare-lucia example. But when I go to run it, it fails with an error that seems tricky to fix. ERROR [worker reload] [worker init] Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'...

Service binding fetcher misunderstanding

I am struggling to call a worker from my pages, everything is setup but I don't understand what I need to pass to the fetcher. My code looks like this currently ``` const newVisitReq = await env.LOGDB_API.fetch("http://localhost:8787", { method: "POST",...

SSL handshake not working

i have a web server set up on my pc on port 443 and have set up ssl and all the other certificates but when i go onto the website it gives me a 525 error

Nextjs app html pages error 500

Hey everyone, I'm encountering a peculiar issue with my Next.js app. The app itself is running smoothly, but I'm facing a problem with HTTP requests specifically for HTML pages. Whenever I try to access any HTML document within the app, it consistently returns an 500 HTTP server error, despite everything else functioning correctly. Thanks in advance for your help!...