BezpromiaresterectionWarning: MongonotConnectedError:

// Node Express.js
// if you get this error this.
// MongoNotConnectedError:
// UnhandledPromiseRejectionWarning: MongoNotConnectedError:
// you have comment this line on your index.js

//client.close();
 Solved
Shamimzz