NestJS Prisma MongoDB - Model ${model} does not exist in the database
app.module
auth config
api/auth/sign-up/email
error
91
Model ${model} does not exist in the database. If you haven't generated the Prisma client, you need to run 'npx prisma generate'
92 );
93 }
→ 94 return await db[model].create(
Prisma needs to perform transactions, which requires your MongoDB server to be run as a replica set. https://pris.ly/d/mongodb-replica-set
```
Did I miss any steps?1 Reply
my bad, it's because "Prisma needs to perform transactions, which requires your MongoDB server to be run as a replica set."