P
Prisma5mo ago
Uncle

Module '"prisma/prisma-client"' has no exported member 'PrismaClient'.

I'm suddenly getting this error from typescript and I don't know what's changed. I'm also no longer getting autocomplete in VSCode. I've restarted my computer and regenerated the client a few times. I'm at a loss on how to troubleshoot this. Studio works fine. My seed file works fine. import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient({ omit:{ user: { passwordHash: true } } }) export default prisma
Solution:
It's now fixed its self. Which is kinda worrisome.
Jump to solution
1 Reply
Solution
Uncle
Uncle5mo ago
It's now fixed its self. Which is kinda worrisome.
Want results from more Discord servers?
Add your server