jeromec8194
jeromec8194
PPrisma
Created by jeromec8194 on 9/3/2024 in #help-and-questions
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 ? 🙏🏻
7 replies