PrismaP
Prisma2y ago
3 replies
Johan

Prisma: command not found (Vercel)

I am confused whether I have completely misunderstood this, but how is it possible to integrate prisma with a vercel deployment? I have a postgress database in vercel set up, and I want to use prisma on top of that. Everywhere it says that it is possbile but I cannot get vercel to use a prisma command. I want it to prisma generate during build but all I get is prisma: command not found in the Vercel log.

I have it as a dependency. Following the guide on the prisma website I have not gotten any luck, as well as AI and stack overflow.
Solution
When reinstalling everything as a dependency in a new project it worked out.
Dont know why the old project got ruined
Was this page helpful?