Open mtzrmzia opened 3 months ago
Duplicate of #38
Would you mind reading https://github.com/nuxt-hub/core/pull/58/files and see if this works?
Duplicate of #38
Would you mind reading https://github.com/nuxt-hub/core/pull/58/files and see if this works?
The example uses sqlite and ignores the DATABASE_URL
but i'm using postgresql
with supabase... just dont work
I guess you also read https://www.prisma.io/docs/orm/prisma-client/deployment/edge/deploy-to-cloudflare ?
I had a similar problem, you could try this https://github.com/prisma/prisma/issues/23500#issuecomment-2147548083. It seems to be a problem with Nitro and Prisma
Describe the bug I'm trying to relocate my Vercel projects to Cloudflare through NuxtHub. I'm using Prisma ORM with Supabase and on Vercel deploy the project works as expected, but in Cloudflare not. I got
500: Cannot read properties of undefined (reading 'exec').
error but in local works!Steps to reproduce Steps to reproduce the behavior:
prisma
and@prisma/client
dependencies then addprisma generate
tobuild
command:prisma/schema.prisma
file:and thats it, on Vercel this works
Expected behavior Request sent as expected
I'm doing my research, and this issue happens to another person Cloudflare issue