P
Prisma•2mo ago
jsoneaday

6.12 failing when using typedSql and tsx

I'm trying out prisma 6.12 and have switched over to using prisma-client and ran npx prisma generate as well as npx prisma generate --sql for my typedSql files. I can see that the generated folder get's created and my two sql related files are there. I then run npx tsx --test and for some reason my generated/prisma/sql folder's contents get deleted and my tests using typedSql fail. Any ideas as to what's happening?
2 Replies
Prisma AI Help
Prisma AI Help•2mo ago
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurul•2mo ago
Hey! What exactly happens when you run npx tsx --test command? The files shouldn't be deleted in any case 🤔 Just for checking does the issue happen in Prisma 6.11 as well?

Did you find this page helpful?