Go to your prisma folder and check your schema.prisma file. The generator client should give you an idea where you should look for the client:
generator client {
provider = "prisma-client-js"
output = "../src/generated/prisma"
}
I was import the client from '@prisma/client' but as you can see from the output above. The import should be from "../generated/prisma" or '@/generated/prisma/client', depending on your coding style.