Prisma Mongodb error #106
-
I am trying to setup the project locally and the env variables I am using are set as below: DATABASE_URL="mongodb://localhost:27017/styleshare" On signing up I get this error |
Beta Was this translation helpful? Give feedback.
Answered by
Ultimateutkarsh11
Jun 4, 2024
Replies: 1 comment
-
Hey, @05priyanshu Prisma may give an error for the MongoDB replica set, in such case use Mongodb atlas for the database instead of the local database or start a Mongo docker container with the replica set. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
VaibhavArora314
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, @05priyanshu Prisma may give an error for the MongoDB replica set, in such case use Mongodb atlas for the database instead of the local database or start a Mongo docker container with the replica set.