require() of ES Module when running `prisma db seed `
Getting this error and able to resolve it using
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
Getting this error and able to resolve it using
Comments