79577995

Date: 2025-04-16 19:52:08
Score: 1
Natty:
Report link

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.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KOHEXO