Trying to host a NextJS project on Cloudflare. Error: Output directory "out" not found.

Hi all, I've managed to host some non-NextJS projects fine, but this one is getting me a little stuck. I'm sure it's an easy fix but I can't quite seem to figure it out :/
21:57:44.209 Validating asset output directory
21:57:44.209 Error: Output directory "out" not found.
21:57:45.159 Failed: build output directory not found
21:57:44.209 Validating asset output directory
21:57:44.209 Error: Output directory "out" not found.
21:57:45.159 Failed: build output directory not found
https://github.com/callum-laing/shopping-site/tree/main/app hopefully this is enough info?
No description
3 Replies
thanhle
thanhle8mo ago
Build command
"npx @cloudflare/next-on-pages@1" Build directory ".vercel/output/static"
thanhle
thanhle8mo ago
CDL
CDLOP8mo ago
Ah, yeah I had it on static host.. however I now have this issue, I've added the flags to where it has asked me.
No description
Want results from more Discord servers?
Add your server