How to deploy codegen project on cloudflare pages

I’m able to deploy my static site nextjs on vercel with a click of a button, but when i try to integrate the github commit on cloudflare pages and then push the build, it always shows me this:

Failed: error occurred while running build command

Any idea how to deploy a codegen-nextjs to cloudflare pages, thanks

+1 I am experiencing the same issue. I wish there was a guide on publishing a simple next.js plasmic app on Cloudflare pages/workers.

Hi, it’s not possible to use the Plasmic Loader with cloudflare workers, but if you are using solely cloudflare pages to serve static pages it should be possible.

Thanks for that. I was actually using Codegen. Is that possible to use with Cloudflage pages/workers?