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
vite-plugin
Next on Pages with Next 14 suddenly produces huge build package.
npx @cloudflare/next-on-pages
produces a huge 45MB output and I get the Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
Is this a known issue when switching to Next14, I'm aware it only came out a little bit ago. Or is this something more to do with my project?
Also while debugging and building using npx @Not Cloudflare :)/next-on-pages I keep getting asked to log into vercel, but that only happened after a few tries, what's up with that?...Help With _routes.json File
_routes.json
file. I have added the file to my functions
directory with the following config:
```json
{
"version": 1,
"include": ["/*"],...segmentation fault when building Astro site
Fetching Objects in a Cloudflare R2 Bucket on Astro
asset.png
from the bucket. I am able to grab the object but I'm having trouble responding to the request with the object. I would use s3 api, but I might aswell use the wrangler api since im already using it for d1. Any help would be much appreciated!How to set environment variables via `wrangler pages deploy` per deployment?
wranger pages deploy
, but a function that is included there requires an environment variable - and optimally I could set that per deployment. Is that a thing for Pages? Or do I have to set it via the UI for all preview
deployments?Deployment logs to understand `Status: Failed`?
wrangler pages deploy
that in theory should work (they work fine locally via wrangler dev
), but after deploy
I only see Status: Failed
in the web UI for that deployment. I could not find any deployment logs.
Am I overlooking something?...Use `pg` in Pages Function?
pg
, the common Node PostgreSQL database.
But I can not make it work with the Functions in Pages. I get errors like this on pnpm wrangler pages dev .
-:
```
ā [ERROR] Could not resolve "events"...Deploying Pages using Wrangler - returning deployment URL
``js
await exec.exec(
npx wrangler pages deploy "build" --project-name="${process.env.CLOUDFLARE_PROJECT_NAME}" --branch="${branch}" --commit-hash="${commitHash}" --commit-message="${commitMessage}"`);
...custom install command
bun install --frozen-lockfile
throw errors:
```
⯠bun install
[0.03ms] ".env.local"...Logpush / Cloudflare Pages / SvelteKit
Custom Domain with Cloudflare zero trust

Pages Functions limit consumed for no reason?
environment variable
How do you get the current path in Pages?
pages functions middleware help

Can't build a production build as of a week ago
Deploying Nuxt to Pages - path errors
ERR_SSL_PROTOCOL_ERROR on Cloudflare Pages Hosted Custom Domain

hrefs missing quotes