P
Prisma4mo ago
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...
Jump to solution
2 Replies
Jan Piotrowski (janpio)
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
Johan
Johan4mo ago
When reinstalling everything as a dependency in a new project it worked out. Dont know why the old project got ruined
Want results from more Discord servers?
Add your server