Anyone have cache issues when deploying to vercel?...
# orm-help
n
j
Unfortunately not right now, we are working on figuring out a way to avoid this. Vercel has some pretty aggressive caching that unfortunately leads to the postinstall hook not being run, which means that Prisma Client is not generated. The best around this is to add
npx prisma generate
(or equivalent) to one of the build commands that are run.
n
Thanks very much for the answer!
👍 1