nextjs-course-code
nextjs-course-code copied to clipboard
MongoDb
Hi, While I try to database MongoDB I got a lot of error
reason: TopologyDescription { type: 'ReplicaSetNoPrimary', servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] }, stale: false, compatible: true, heartbeatFrequencyMS: 10000, localThresholdMS: 15, setName: 'rs0', maxElectionId: null, maxSetVersion: null, commonWireVersion: 0, logicalSessionTimeoutMinutes: null }, code: undefined, page: '/api/comments/[eventId]', [Symbol(errorLabels)]: Set(0) {}
How can I fix this?