Wednesday, 11 October 2017

Error: No valid replicaset instance servers found

events.js:160
      throw er; // Unhandled 'error' event
      ^


Error: No valid replicaset instance servers found


if you are using nodejs and you are facing above error.

then you will need to update your mongo drivers (npm packages: connect-mongo and mongoose )

below versions should work:

"connect-mongo": "^1.2.1",
"mongoose": "^4.1.2",

No comments:

Post a comment