workers-help
pages-help
general-help
durable-objects
workers-and-pages-discussions
pages-discussions
wrangler
coding-help
kv
🦀rust-on-workers
miniflare
stream
general-discussions
functions
zaraz
âš¡instant-logs
email-routing
r2
pubsub-beta
analytics-engine
d1-database
queues
workers-for-platforms
workerd-runtime
web3
🤖turnstile
radar
web-research
logs-engine
cloudflare-go
terraform-provider-cloudflare
workers-ai
browser-rendering-api
logs-and-analytics
next-on-pages
cloudflare-ai
build-caching-beta
hyperdrive
vectorize
ai-gateway
python-workers-beta
vitest-integration-beta
workers-observability
workflows-beta
vite-plugin
Sveltekit: adapter-static with Cloudflare D1 - platform.env.DB not found during build
adapter-static
, but I want to use Cloudflare D1 for database queries. I created the D1 database using pnpm wrangler d1 create
, and everything seems fine.
However, when I try to build my project, I get an error saying that platform.env.DB
is not found. Since adapter-static
generates a fully static site, is there any way to still use D1 in this setup?
Do I need to switch to adapter-cloudflare
, or is there another way to access D1 while keeping adapter-static
? Any guidance would be appreciated....Vite+react+tsx webpage not building wrangler
2025-03-06T11:37:36.831Z Initializing build environment... 2025-03-06T11:37:44.184Z Success: Finished initializing build environment 2025-03-06T11:37:44.313Z Cloning repository......
how many concurrent builds can I have with a $5/month plan?
Deployment Failed... Why?
Github problem
[NextOnPages] cloudflare does not cache anything
Failed to build project
@iconify/tailwind4
) but it only works for me during local development (npm run dev
). When I try to deploy to Pages it fails to build with [@tailwindcss/vite:generate:build] Cannot load icon set for "mdi". Install "@iconify-json/mdi" as dev dependency?
but all required dependencies are specified in package.json
. Is it possible that not all dependencies are installed in CF builder they work differently than on my local machine?
Mateusz Marzantowicz...Update Nodejs
12:30:21.430 â–² You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
12:30:21.430 â–² You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
`wrangler pages dev` doesn't reload when SvelteKit code changes
Rocket loader still works after disabling it
404.html not being picked up
503 Service Unavailable, 504 Gateway timeout.

Exclude Specific Folders from Triggering a Deployment in Cloudflare Pages
How to fix: Cannot find module 'cloudflare:sockets'
Blank Pages/Pages not found with cloudflare local upload and Github

TLS 1.2 locked - What?
Issue with WebP Image Styling on Cloudflare Pages Deployment
pnpm run dev
and pnpm run preview
work as expected)....
Page not found error 404
[03a62085bd7fcfb9]: Cloudflare received a Phishing report regarding your site