"PrismaClient" is not exported by "generated/prisma/index.js", imported by "app/.server/db.ts"

Hey, I've created new fresh project and I want to use PrismaClient from the generated folder, but it throws that it's not found, anyone had that bug before?
4 Replies
Prisma AI Help
Prisma AI Help6mo ago
Ahoy, knowledge seeker! I'm the Prisma AI Help Bot. Do you want a dev's response that might take a hot second, or an AI answer that's ready before your next coffee sip? Either way, your question is important to us.
!mexoodeex
!mexoodeexOP6mo ago
actually, removing the output (which was the default in the schema.prisma) worked well and it's back to @prisma/client again
Nurul
Nurul5mo ago
So, just removing the output path fixed the issue for you, right?

Did you find this page helpful?