TurboRepo: Prisma-Kysely Generator
Weirdest thing: It worked before, and all of a sudden it doesn't. I switched to using
prisma-client-js
and switch it back to prisma-kysely
, then it didn't work.
Error log:
inputs in Turbo.json
tsconfig:
generator set up in schema.prisma
package.json db:generate
command set up:
practically similar set up with https://acme-corp.jumr.dev/, I throw my schema in there and it successfully generated, but in my set up after I switched to using prisma-client-js
and switch it back to prisma-kysely
it didn't work. Even after using pnpm clean
, deleted node-modules, and pnpm i
again...is there some weird cache exists I don't know even if I specify cache:false
Did some search around didn't find anyone has similar issue, anyone know what could be the cause?
prisma is hoisted here in a turborepo.Acme Corp
Next.js starter kit that includes everything you need to build a modern web application. Mobile application preconfigured, ready to go.
1 Reply
fixed. Delete the whole repo and clone it again. thanks to @tonya_ mod team the best