Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started