NextJS build works locally but fails when deployed to Vercel
I searched this up but found no solutions that applied.
Vercel crying:
4 Replies
Proof it works locally
TS isnt complaining in the endpoint itself:
Are you running Prisma generate during your deploy
If I have to do that explicitly then I don't think I have
Then I'm guessing I should throw that in as a prebuild step in package.json?
Yeah that did the trick, thanks a bunch!