nodemon] app crashed waiting for file changes before starting...
[nodemon) restarting due to changes... [nodemon] starting node server.js
(node:15228) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4. 0.0 and will be removed in the next major version
(Use node --trace-warnings ... to show where the warning was created)
(node: 15228) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver vers ion 4.0.0 and will be removed in the next major version
Example app listening on port 3000
MongoDB connection FAIL
[nodemon] app crashed waiting for file changes before starting...
hey idts this is issue from nodemon side rather ur mongo db driver, it does state that useNewUrlParser & useUnifiedTopology is deprecated. dont use them
nodemon] app crashed waiting for file changes before starting...
[nodemon) restarting due to changes... [nodemon] starting node server.js
(node:15228) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4. 0.0 and will be removed in the next major version
(Use node --trace-warnings ... to show where the warning was created)
(node: 15228) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver vers ion 4.0.0 and will be removed in the next major version
Example app listening on port 3000
MongoDB connection FAIL
[nodemon] app crashed waiting for file changes before starting...