-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
Bug description
After upgrading to 6.0.0, our Next.js with Prisma generated into a custom output folder crashes on dev mode.
The issue is caused by this pull-request : #25734 , Next.js talks about this error here: vercel/next.js#35110 (comment)
The error is caused when we're using transpilePackages in next.config.js looks like it's also transpiling the prisma client to esm or something like that.
I've checked and removing type: commonjs works fine, so not sure how to fix it.
How to reproduce
Expected behavior
To not crash.
Prisma information
Prisma version: 6.0.0, with any prisma schema.
Environment & setup
- OS: Mac
- Database: Any
- Node.js version: 22.11.0
Prisma Version
6.0.0
Reactions are currently unavailable