I see πŸ™‚ , cool hopefully you can fix the issue, otherwise please do feel free to post here and we c

I see πŸ™‚ , cool hopefully you can fix the issue, otherwise please do feel free to post here and we can try to help πŸ™‚ (opening a thread should also help not making this noisy for everyone)
14 Replies
seasie
seasieβ€’9mo ago
the persist option of setupDevPlatform doesn't appear to be working as expected, unless I have it configured incorrectly
if (process.env.NODE_ENV === "development") {
await setupDevPlatform({
persist: "../../.wrangler/search/v3",
})
}
if (process.env.NODE_ENV === "development") {
await setupDevPlatform({
persist: "../../.wrangler/search/v3",
})
}
but it still creates and accesses data from .wrangler/state/v3, I've tried both with and without v3 at the end of the path
Dudu
Duduβ€’9mo ago
Heyo o/ Did you manage to solve this and if so how? I'm also getting 405 Method Not Allowed with the NextJS actions
Firu
Firuβ€’9mo ago
I haven't fixed it. I migrated away from Next.js on Cloudflare Pages ): i'd gladly migrate back if that issue didn't exist tho
Dudu
Duduβ€’9mo ago
I have found a work around but now I'm getting this every time I submit the form
No description
Firu
Firuβ€’9mo ago
what's the workaround?
Dudu
Duduβ€’9mo ago
I tried this in different files until it worked πŸ₯² In my case I have it on page.tsx Which has the component with 'use client' with the form
Meetee
Meeteeβ€’9mo ago
Hi, how can I know the exact file that cause this error?
No description
Meetee
Meeteeβ€’9mo ago
I just re-run any successful deployment in the past, and the error is still there, maybe it's not the nextjs's problem
Dario
DarioOPβ€’9mo ago
Hi @λ―Έν‹° , that error message is a bit misleading... with Functions script it's basically referring to all your javascript code (that gets shipped to the runtime), so this is basically saying that your application, generally doesn't fit the free tier workers size limit
Dario
DarioOPβ€’9mo ago
If you could move to the paid plan the limit there increases to 10MiB: https://developers.cloudflare.com/workers/platform/limits/#worker-size
Cloudflare Docs
Limits Β· Cloudflare Workers docs
Cloudflare Workers plan and platform limits.
oljimenez
oljimenezβ€’9mo ago
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
GitHub
GitHub - oljimenez/cloudflare-app
Contribute to oljimenez/cloudflare-app development by creating an account on GitHub.
No description
zapalona_swieczka
zapalona_swieczkaβ€’9mo ago
I'm working on testing migrating next project to cf pages, seeing some issues here and there I wonder if anyone launched productionally some more complex site, not just static pages (like ecommerce frontend)?
thanhle
thanhleβ€’9mo ago
how do I get support with image optimization for cloudflare pages use next-on-pages in nextjs how do i set up the prisma with next-on-pages applicataion?
Nooc
Noocβ€’9mo ago
Is anybody knows how to access Cloudflare Environments (KV, Workers AI etc) in server actions?
Want results from more Discord servers?
Add your server