max4tf
PPrisma
•Created by max4tf on 4/8/2025 in #help-and-questions
Prisma Error After Nuxt 3.16.0 & Nitro 2.11.6 Update
Hey everyone,
after updating to Nuxt 3.16.0 and Nitro 2.11.6, I'm getting this error during build related to Prisma: TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module ".prisma" is not a valid package name imported from node_modules/@prisma/client/default.js There's also a deprecation warning: [DEP0155] DeprecationWarning: Use of deprecated trailing slash pattern mapping "./" in the "exports" field... Looks like Prisma Client might be the cause. Has anyone else experienced this or found a workaround?
after updating to Nuxt 3.16.0 and Nitro 2.11.6, I'm getting this error during build related to Prisma: TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module ".prisma" is not a valid package name imported from node_modules/@prisma/client/default.js There's also a deprecation warning: [DEP0155] DeprecationWarning: Use of deprecated trailing slash pattern mapping "./" in the "exports" field... Looks like Prisma Client might be the cause. Has anyone else experienced this or found a workaround?
9 replies