prisma-edge-functions icon indicating copy to clipboard operation
prisma-edge-functions copied to clipboard

Fail to deploy to cloudflare page

Open shiyuhang0 opened this issue 3 years ago • 0 comments

Hi, I am following this guide to deploy this demo to Cloudflare pages.

Cloudflare pages supported nextjs recently, here is a reference https://blog.cloudflare.com/next-on-pages/.

But I failed with this error: (I hardcode the DATABASE_URL because CF pages can't pass env now https://github.com/cloudflare/next-on-pages/issues/1 ) image

I know this may not the fault of prisma and data proxy. I just want to ask two questions:

  1. Does this demo can succeed to deploy to CF pages? maybe I miss something.
  2. Is there any successful story deploying a project with nextjs and Prisma data proxy to CF pages. I look through the internet and can not find something useful.

Thanks!

shiyuhang0 avatar Jan 12 '23 11:01 shiyuhang0