1

When I use Prisma Client I have a problem. After the import i have a mistake: no module found "@prisma/client" enter image description hereenter image description here

I tried to install node_modules again and it didn't helped. It's just can't find this module in app folder and I have no idea what to do.

1
  • Sharing my issue here as it is very specific: In my case it was due to the baseUrl property I had set for the project: "./" . However I am working on a monorepo and all other config is extended from a base ts file. I just had to remove the baseUrl property and the prisma client was resolved properly. According to the docs you might not need it either: typescriptlang.org/tsconfig/#baseUrl
    – Abraham L
    Commented Dec 9 at 5:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.