Mkiza
PPrisma
•Created by Mkiza on 6/13/2024 in #help-and-questions
Error: @prisma/client did not initialize yet.
Hello everybody!
I'm working on a small nextjs project and ran into this error, after entering my info and going to my dashboard page:
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
export const client = globalThis.prisma || new PrismaClient()
I've tried running the command again, deleting node modules and installing everything again to no avail. Can anybody help out?
9 replies