Cannot find module '.prisma/client/default'

Hello everyone, I just installed Prisma, and after pulling my database schema and generating it, everything worked fine. However, I made some changes and pushed those updates, and since then, I've been encountering this error: Cannot find module '.prisma/client/default' Require stack: - C:\Users\Adam\Desktop\Dropify\node_modules\.pnpm\@prisma+client@6.13.0_prism_88360a1565554df38704add3bd67e4b4\node_modules\@prisma\client\default.js Any help would be greatly appreciated
3 Replies
Prisma AI Help
You selected to wait for the human sages. They'll share their wisdom soon. Grab some tea while you wait, or check out #ask-ai if you'd like a quick chat with the bot anyway!
Nurul
Nurul4w ago
Are you using pnpm?
Nurul
Nurul4w ago
GitHub
Cannot find module '.prisma/client/default' when using custom outpu...
Bug description Hi, we are using custom output in our Next.js project: Custom output is used because we have multiple DB and thus multiple clients The output location is something like "../nod...

Did you find this page helpful?