Prisma Type Error in latest version.

I am using nest.js with prisma. I have upgraded prisma(6.7.0) to the latest version. All of the prisma services are broken. It shows
Property 'location' does not exist on type 'PrismaService'.ts(2339)
Property 'location' does not exist on type 'PrismaService'.ts(2339)
and there is no suggestion for all of the defined models. In the prisma service file, I am confused to import the prismaClient from which resources. The vscode suggests the three import path called
@prisma/client
@prisma/client/extension
src/generated/prisma
@prisma/client
@prisma/client/extension
src/generated/prisma
.
2 Replies
Prisma AI Help
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurul2w ago
I assume this is resolved ✅

Did you find this page helpful?