Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency version": "4.4.3", code example
Example: Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
install this version npm i mongoose@5.11.15