I am trying to convert prisma schema to typescript models using pal schema typescript as per the docs. I am getting this error "◢ Converting your schema TypeError: Cannot read properties of undefined (reading 'includes')"
I tried pal g to generate with below json, it says "✔ Generating your files" but I am not seeing any files.
{
"schema1": {
"schema": "./prisma/schema.prisma",
"backend": {
"prismaName": "prisma",
"generator" : "nexus",
"onDelete" : true,
"output" : "src/test.ts"
},
"frontend": {
"admin": "false"
}
}
}
Hello,
I am trying to convert prisma schema to typescript models using pal schema typescript as per the docs. I am getting this error "◢ Converting your schema TypeError: Cannot read properties of undefined (reading 'includes')"
I tried pal g to generate with below json, it says "✔ Generating your files" but I am not seeing any files. {
"schema1": { "schema": "./prisma/schema.prisma", "backend": {
"prismaName": "prisma", "generator" : "nexus", "onDelete" : true, "output" : "src/test.ts" }, "frontend": { "admin": "false" } }
}
Could someone guide me in this regard please?.
Thanks Sunil K