Prisma import fails in monorepo deployed on Vercel
I've got some issues import issues from the
db package (prisma wrapper).Basically, the generator client looks like this:
My
app.config.ts looks like this:However, in the logs of the deployed version I'm getting the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@prisma-app/client' imported fromI specify this works as expected on local dev server.
Any clue why this is happening & what should I do.
I can provide more config info if needed.