Question: how can i fix this? [ nodemon ] starting ` node server.js ` ( node: 2 5 3 4 0 ) [ MONGOOSE ] DeprecationWarning:
how can i fix this? nodemon starting node server.js
node:MONGOOSE DeprecationWarning: Mongoose: the strictQuery option will be switched back to false by default in Mongoose Use mongoosesetstrictQuery false; if you want to prepare for this change. Or use mongoosesetstrictQuery true; to suppress this warning.
Use node tracedeprecation to show where the warning was created
MongoServerError: bad auth : authentication failed
at Connection.onMessage C:Userspauliwmyphabbeckeusstates
odemodulesmongodblibcmapconnectionjs::
at MessageStream. C:Userspauliwmyphabbeckeusstates
odemodulesmongodblibcmapconnectionjs::
at MessageStream.emit node:events::
at processIncomingData C:Userspauliwmyphabbeckeusstates
odemodulesmongodblibcmapmessagestream.js::
at MessageStream.write C:Userspauliwmyphabbeckeusstates
odemodulesmongodblibcmapmessagestream.js::
at writeOrBuffer node:internalstreamswritable::
at write node:internalstreamswritable::
at Writable.write node:internalstreamswritable::
at TLSSocket.ondata node:internalstreamsreadable::
at TLSSocket.emit node:events::
ok:
code:
codeName: 'AtlasError',
connectionGeneration:
SymbolerrorLabels: Set 'HandshakeError', 'ResetPool'
nodemon clean exit waiting for changes before restart
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
