You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
mongoose.connect(keys.mongoURI, {
useCreateIndex: true,
useNewUrlParser: true
})
Node ->
[nodemon] restarting due to changes...
[nodemon] starting node index index.js
Server Started on 5000
MongoDB Connected
DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
Automattic/mongoose#6890 (comment)
The text was updated successfully, but these errors were encountered: