Error: Could not resolve @prisma/client despite the installation that we just tried

I’m getting this error when I run “yarn rw deploy vercel”:

Error: Could not resolve @prisma/client despite the installation that we just tried.
Please try to install it by hand with npm install @prisma/client and rerun yarn prisma generate :pray:.
[23:36:36] Generating Prisma Client… [failed]

I’ve checked package.json and “@prisma/client” is there as a dependency and not a dev dependency

What could be the problem?

Hi there,

Is it possible you were not in the folder when you ran that command?

What were the yarn prisma generate results?

Cheers!
Al;