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•7mo 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•7mo 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•7mo 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•7mo ago
I have found a work around but now I'm getting this every time I submit the form
No description
Firu
Firu•7mo ago
what's the workaround?
Dudu
Dudu•7mo 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
Toán cao cấp
Toán cao cấp•7mo ago
Hi, how can I know the exact file that cause this error?
No description
Toán cao cấp
Toán cao cấp•7mo 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
Dario•7mo 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
Dario•7mo 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•7mo 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•7mo 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•7mo 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?
Unknown User
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server