Deploying to Vercel
From what I can see by searching, it seems I'm not the first one.... But I've now been stuck for days trying to deploy to Vercel, a NextJS app using Prisma.
All works fine locally
I've added a postinstall script to generate the client, I see no build errors, prisma client is generated fine in the build logs
prisma.myModel.findMany(....) returns data
prisma.myModel.create( {data} ) seems to fail silently, the console.log that follows it never runs. I've triple checked, data matches my db's schema....
I've obviously searched around, read the docs multiple times, but I'm now running out of ideas.... Would anyone here have an idea ?
I've obviously searched around, read the docs multiple times, but I'm now running out of ideas.... Would anyone here have an idea ?