Skip to content

Module not found: Can't resolve '.prisma/client/default' #23766

Closed Answered by matt-roz
DavDeDev asked this question in Q&A
Discussion options

You must be logged in to vote

I encountered the same issue when attempting to build a next-js project with pnpm (npmworks just fine).

Changing from

    "@prisma/client": "^5.12.1",
    "prisma": "^5.12.1",

to version

    "@prisma/client": "5.10.2",
    "prisma": "5.10.2",

fixed it for me. I did not check for any version in between.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DavDeDev
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/bug A reported bug.
3 participants
Converted from issue

This discussion was converted from issue #23756 on April 08, 2024 09:15.