Skip to content

nuxt prisma 0.2 bug #74

@willyhsu0130

Description

@willyhsu0130

When I use the nuxt prisma 0.2 module, there is an error in the code in the imported module that says:

"prismaClient is not a constructor"

Console refers to specifically this line:
return new PrismaClient();
that is in /node_modules/@prisma/nuxt/dist/runtime/server/utils/prisma.mjs

Problem is resolved if I revert back to the 0.1 version.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions