tool · inferred from evidence
nodenext
A module resolution strategy in Node.js, referenced as the project's configuration.
- ReferenceError: exports is not defined in ES module scope with provider = "prisma-client"
When switching the generator provider from "prisma-client-js" to the new "prisma-client" in a CommonJS project (moduleResolution: "nodenext"), the generated client crashes at startup: Object.defineProperty(exports, "__esModule", { value: tr