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:Jump to solution
When reinstalling everything as a dependency in a new project it worked out.
Dont know why the old project got ruined...
2 Replies
If it really is a dependency, then it is not installed properly.
Did you try in a new, minimal project to confirm it is also happening there?
Solution
When reinstalling everything as a dependency in a new project it worked out.
Dont know why the old project got ruined