Prisma MongoDB
Hello everyone. I want to using Prisma with MongoDB, NestJS. I was setup with docs, and when start server, I have an error with Typescript:
this is my version of prisma:
"prisma": "6.2.1",
"@prisma/client": "6.2.1",
And my mongoDB is local MongoDB, not replicate. But I not using transaction on my code
This is my schema:
4 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai
channel awaits if you're curious!Hi @Nguyễn Văn Vỹ
What's your version of Typescript?
Hi @RaphaelEtim . Thanks about your support. I was find an error issue, Because I am using Typescript 4.5.3. And it not compare with lastest Prisma
After downgrade Prisma ( because this is old project and very hard to upgrade all package version). it work now. thanks :heart:
A note for another pepople have this issue that you must using TS version > 5.0 to using Prisma version 5 and over
You're welcome.