Using Prisma with pnpm results in inability to call database related commands #18238
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: pnpm
Milestone
Bug description
I am using pnpm with Prisma in my app, but whenever I try running
prisma migrate dev
orprisma generate
, the program hangs for about 10 minutes before returning an error.How to reproduce
pnpm prisma migrate dev
orpnpm prisma generate
Expected behavior
I expected Prisma to play nicely with the pnpm format, but it didn't. It seems like the problem might be a mismatch between the usage of
pnpm
andnpm
when installing@prisma/client
, because even on my pnpm project, it still says thatnpm install @prisma/client
was used.Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: