(node:1452) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client
nahidmbstu opened this issue · 1 comments
nahidmbstu commented
when i try to start the server , it gives me this warning !!! how anyone help ?
Yogendra0Sharma commented
@nahidmbstu : Try to use mongoose.connect(process.env.MONGODB,{useMongoClient: true});