PrismaP
Prisma10mo ago
8 replies
max4tf

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?
Was this page helpful?