PrismaP
Prisma9mo ago
2 replies
myatminaung

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)
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
.
Was this page helpful?