Why is prisma being installed? #5450
Replies: 2 comments 2 replies
-
|
it should not install peer deps, unless pnpm is doing it by default |
Beta Was this translation helpful? Give feedback.
-
|
pnpm is being overly helpful here. Since v8, Quickest fix — add to your auto-install-peers=true
optional-peers=falseOr if you want something more surgical, tell pnpm to ignore that specific peer in "pnpm": {
"peerDependencyRules": {
"ignoreMissing": ["@prisma/client"]
}
}Run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why is prisma being install in my pnpm monorepo? I have
drizzle-orminstalled in root but no reference to prisma. See:I see prisma is listed as optional peer dependency, but that shouldn't make it be installed, right?
Beta Was this translation helpful? Give feedback.
All reactions