mr nooli
mr nooli
Explore posts from servers
CDCloudflare Developers
Created by mr nooli on 2/24/2024 in #pages-help
no such file or directory
Getting this issue for a next-on-pages:
Unexpected error: ENOENT: no such file or directory, copyfile '/Volumes/Primary/Code/cms/.vercel/output/functions/api/clerk/webhook.func/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm' -> '/Volumes/Primary/Code/cms/.vercel/output/static/_worker.js/__next-on-pages-dist__/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm'
Unexpected error: ENOENT: no such file or directory, copyfile '/Volumes/Primary/Code/cms/.vercel/output/functions/api/clerk/webhook.func/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm' -> '/Volumes/Primary/Code/cms/.vercel/output/static/_worker.js/__next-on-pages-dist__/wasm/wasm_6deddb02766b8f32d03f9865228a05a9c569a74e.wasm'
Any ideas?
5 replies
CDCloudflare Developers
Created by mr nooli on 1/2/2024 in #pages-help
build exceeded memory limit (on a very large NextJS app)
Hey there, I've got a relatively large nextjs project and I'm running into the "build exceeded memory limit" - This is the first time I've created a build since the last 2 weeks and I've not added "thaat" much to it, so I'm a bit confused about it. Anyone able to help me out? (Thanks in advance)
5 replies
CDCloudflare Developers
Created by mr nooli on 12/28/2023 in #general-help
github organisation
Hey there, I had a project that was on my personal GH account (next-on-pages) but I moved the project onto a GH org account, the deployments are no longer working, any suggestions? Or do I have to create another project and swap out the DNS details?
1 replies
CDCloudflare Developers
Created by mr nooli on 12/14/2023 in #pages-help
NextJS is slower on CF than on Vercel
No description
9 replies
CDCloudflare Developers
Created by mr nooli on 11/27/2023 in #general-help
The script will never generate a response.
Hey there, using next-on-pages to develop my site. I added a lottie animation to my site and am now getting the above error. It builds and deploys fine, but there is absolutely no info on how to debug the issue! Any help would be much appreciated! 🙂
42 replies
CDCloudflare Developers
Created by mr nooli on 11/3/2023 in #general-help
Staging working but not Prod/Local
I'm getting some really weird behaviour not sure where to put it - my staging env is working perfectly but I absolutely cannot connect to my prod env same with local, local isn't working either (cos I use prisma accelerate and that goes through cloudflare) but then I have no idea why it'd work with dev 🤦‍♂️ - links, prod: https://eat.cruncho.app dev: https://dev.cruncho.app dev is a bit more up to date than prod but last I saw it was working perfectly 🤦‍♂️
1 replies
CDCloudflare Developers
Created by mr nooli on 10/24/2023 in #general-help
Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limi
Hey there! I'm looking at a couple of providers for hosting a somewhat large Nextjs 13 application. Vercel's pricing doesn't scale too well so was looking at using cloudflare workers (pages). I'm relatively new with cloudflare, so bare with me 😄 So I know that Vercel has edge functions and I believe that they piggyback off cloudflare. So my question is, how come I can host my application on vercel (free) but not on cloudflare (free). I also recognise that there is a 1Mb size limit for the worker (?) - where do I actually find out how big the file is (locally if possible)? I've got ~50 pages and the same number of api's (which I've converted to edge compatible functions). No single function is taking up more than 120kb in size. When I do - npx @cloudflare/next-on-pages --experimental-minify and check the .vercel/output/static/worker.js/ it's around 6mb - is this what I should be looking at or is it the index.js, which is 93kb (or something completely different)?
6 replies