Open KyleSmith0905 opened 1 week ago
Hey there @KyleSmith0905 👋, thanks for reproducing the issue 😄!
(edit: I read the message of course, but it probably should not give an error if I was prompted to do something)
Migration prompts can sometimes fail. If they do, we provide steps to handle the error. Could you let me know what you were expecting to happen?
ERROR ✘ Failed to install Prisma Client.
This error seems to occur when using pnpm, but the module should work as expected. The error disappears when I run pnpm i @prisma/client.
I'll look into this further.
I would expect either one of these two:
You'll probably have better intuition, on what reads the best. 👍
Despite seeing why the error was caused, I had inferred something else was wrong (since I got a whole stack trace).
Thanks again for elaborating!
We'll possibly keep the verbose log turned off by default and add a key in the config to enable it for further debugging.
Description
When selecting yes on "Do you want to migrate database changes to your database?" my CLI would spit out an error. (edit: I read the message of course, but it probably should not give an error if I was prompted to do something).
Idk if this is a bigger error but right after I get a message saying "Failed to install Prisma Client", I assume they're linked.
Reproduction
https://github.com/KyleSmith0905/mre--prisma-nuxt
Or create a new Nuxt project with "pnpm dlx nuxi@latest init" and add prisma's packages and modules to it
CLI