Hi @mr nooli @Fineshop Design, I've opened a PR that should fix this - please can you try this [prer

Hi @mr nooli @Fineshop Design, I've opened a PR that should fix this - please can you try this prerelease.
16 Replies
vish
vish13mo ago
does nextjs app router and pages router apps run fine on pages? are there any limitations apart from image optimisations?
mr nooli
mr nooli13mo ago
Yep absolutely does! I was for a short time running https://cruncho.app on there but the app got too big that pages stopped being able to build it :/ which meant I had to unfortunately switch back to Vercel
faye
faye13mo ago
Heyo! I am suddenly getting "build exceeded memory limit", but the only thing I did was change from client pages using route handlers to server-sided api calls, is there something going on? I am unsure why this is suddenly happening :/
faye
faye13mo ago
running npm run build locally works fine, but on cloudflare pages it takes about 5 minutes at least and then it just stops
No description
mr nooli
mr nooli13mo ago
I had this issue too a while back with Cruncho, didn't dig into it too much, just figured that there wasn't another option than to switch away, but hopefully someone will be able to help you out! An alternative - use GH to build your app and then push it to CF workers using wrangler, but it's a less elegant solution.
faye
faye13mo ago
The issue with using wrangler, it's for static content As I am using non-static content as well, it's not for me. But as said it worked fine for me but suddenly it's taking like 6 minutes just to build (instead of 3 for example, and after 5:45-6 minutes, it just says this, super disappointing and would love to know why this is happening :/
No description
faye
faye13mo ago
No description
wesbos
wesbos13mo ago
hey folks- having trouble deploying my app to cloudflare. It seems only the static bits are being uploaded, I dont see any of the dynamic routes being turned into functions, or any of the bindings I've setup in settings show up. Should I be?
No description
No description
Befus
Befus13mo ago
I deleted my KV bindings since I switched to D1 but my builds are failing because somehow the builds still think they are there?
No description
Befus
Befus13mo ago
No description
Befus
Befus13mo ago
My build cache is cleared and disabled now
wesbos
wesbos13mo ago
Anyone have approaches for cron jobs with next-on-pages? I'd assume you can't use Cloudflare scheduled triggers within the same worker. Maybe another worker that pings our API endpoints? Actually if I can add a scheduled handler to my worker, I could just re-implement the vercel.json cron with a switch case Just wanted to say thanks + fantastic job on the next-on-pages adaptor. I'm very impressed that all the cache + revalidate stuff "just works", and the development experience was really smooth.
James
JamesOP13mo ago
❤️
faye
faye13mo ago
Hey, I published a version of nextjs on a cloudflare page using git integration, but it's failing miserably. I would like some help ASAP if possible, the page build succeeds, but nothing of the page itself makes sense. Routes are missing, the front page (static) shows a 404, the real-time logs show this:
No description
faye
faye13mo ago
This is the log from the deployment
faye
faye13mo ago
Only the pre-rendered routes work (however they only work partly and are extremely broken..)
No description

Did you find this page helpful?