pnpm workspace/monorepo using nuxt: ✘ [ERROR] Could not resolve ".prisma/client/index-browser"
I think this is related (maybe) to this known issue: https://www.prisma.io/docs/orm/more/help-and-troubleshooting/prisma-nuxt-module#resolving-typeerror-failed-to-resolve-module-specifier-prismaclientindex-browser
here's my error:
but when i add the fix, i still get the same error
i am using the nuxt module, and the prisma stuff is in a separate nuxt layer.
so i assume there are quite a few points of failure, but maybe somebody has experienced this already?
perhaps i just need to put a different path in the vite alias cuz of the pnpm workspace does funky things, or hoisting something specific (i don't understand hoisting tbh)
here's my error:
but when i add the fix, i still get the same error
i am using the nuxt module, and the prisma stuff is in a separate nuxt layer.
so i assume there are quite a few points of failure, but maybe somebody has experienced this already?
perhaps i just need to put a different path in the vite alias cuz of the pnpm workspace does funky things, or hoisting something specific (i don't understand hoisting tbh)
Learn how to easily add Prisma ORM to your Nuxt apps, use its features, and understand its limitations.
