Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to deploy to cloudflare page #38

Open
shiyuhang0 opened this issue Jan 12, 2023 · 0 comments
Open

Fail to deploy to cloudflare page #38

shiyuhang0 opened this issue Jan 12, 2023 · 0 comments

Comments

@shiyuhang0
Copy link

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 cloudflare/next-on-pages#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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant