Santosh Madar
Santosh Madar

Reputation: 11

(node:52213) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency (Use node --trace-warnings

What is meant by this?

(node:52213) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:52213) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.

Upvotes: 1

Views: 3690

Answers (1)

Salem
Salem

Reputation: 129

You can just ignore this warning for now, look at this answer by Lauren_Schaefer which is a MongoDB Employee.

enter image description here

Link for the answer from the mongoDB developers community is here:

https://developer.mongodb.com/community/forums/t/warning-accessing-non-existent-property-mongoerror-of-module-exports-inside-circular-dependency/15411/6

Upvotes: 2

Related Questions