Dj
CDCloudflare Developers
•Created by Dj on 8/14/2024 in #general-help
Auto Minify Still Exists
2 replies
CDCloudflare Developers
•Created by Dj on 7/12/2024 in #pages-help
Next on Pages failing due to R2
Howdy,
My next on pages app is not building due to a bucket not found error - however this app doesn't have any bindings both in the dashboard and in wrangler.toml (it's a pages app it doesn't have a wrangler.toml). Was hoping I could get a little insight on how to fix this or if I should contact support.
The exact error is:
Error: Failed to publish your Function. Got error: Your R2 bucket does not exist (workers.api.error.bucket_not_found)
13 replies
CDCloudflare Developers
•Created by Dj on 10/5/2023 in #pages-help
Unable to use pages project
27 replies
CDCloudflare Developers
•Created by Dj on 8/2/2023 in #pages-help
Wranglers Pages Dev is basically unusable
In locally testing a Next on Pages project, the documentation asks that you
npx @cloudflare/next-on-pages --watch
and in another terminal use wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat
.
However, with this setup whenever you modify your Next project it triggers a rebuild, deleting _worker.js
. Then, this file being deleted upsets wrangler and it exits.
However, wrangler doesn't calmly exit - it leaves behind a process holding it's bind to :8788
meaning it cannot be restarted without running lsof -i 8778
and then killing the hanging process. Every. single. file change. I'm not sure how to use any other Cloudflare feature with Next on Pages because the thing giving me process bindings cannot be used without extreme babysitting.
What, if anything, can I do locally to fix this or where do I report on GitHub?7 replies