Cannot import prisma

Hi, I was following the nextjs course. I follow the codes diligently but am stuck at part 7 of database integration with prisma.
Is a simple line
import { prisma } from “@prisma/client”;

But vscode reported error that it should be Prisma not prisma
Do you know what it might be the problem?
regards
QF

I found the solution, just import to the correct directory, in my case, it is
import { prisma } from “…/…/…/prisma/client”;

However, anyone knows why @prisma/client cant work?

1 Like