VS Code imports PrismaClient from wrong folder
VS Code auto imports PrismaClient from
@prisma/client/extension
instead from the generated folder. I ran npx prisma generate
in the console before that. I have Prisma extension installed.
I get
instead of
when importing.
Intellisense works for the other PrismaClient
, not for the one from @prisma/client/extension
.4 Replies
You selected to wait for the human sages. They'll share their wisdom soon.
Grab some tea while you wait, or check out
#ask-ai
if you'd like a quick chat with the bot anyway!Anyone??
Hey!
Are you referring to auto importing by VS Code?
Like you just write PrismaClient in your file and the auto import is referring to wrong location?
Yes.