The error Accessing non-existent property 'MongoError' of > module exports inside circular dependency
is caused by a bug in mongodb 3.6.4
It’s already reported here
Back to version 3.6.3 works for me:
npm uninstall mongodb --save
Install version 3.6.3
npm i [email protected]
More Related Contents:
- access MONGODB on remote server [closed]
- Updating a Nested Array with MongoDB
- How to properly reuse connection to Mongodb across NodeJs application and modules
- Issue in returning data retrieved from DB queries called in the loop
- How do I update/upsert a document in Mongoose?
- Render basic HTML view?
- How do I remove documents using Node.js Mongoose?
- Mongoose difference between .save() and using update()
- UnhandledPromiseRejectionWarning: MongooseServerSelectionError
- MongoDB select where in array of _id?
- Inserting and Querying Date with MongoDB and Nodejs
- What is the right way to make a synchronous MongoDB query in Node.js?
- Mongoose subdocuments vs nested schema
- Formatting ISODate from Mongodb
- How to get updated document back from the findOneAndUpdate method?
- Can I determine if a string is a MongoDB ObjectID?
- How to change all the array elements in a mongodb document to a certain value? [duplicate]
- Cannot find module ‘../build/Release/bson’] code: ‘MODULE_NOT_FOUND’ } js-bson: Failed to load c++ bson extension, using pure JS version
- Server Discovery And Monitoring engine is deprecated
- How to use MongoDB with promises in Node.js?
- Create an ISO date object in javascript
- MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
- Handlebars: Access has been denied to resolve the property “from” because it is not an “own property” of its parent
- Node.js – wait for multiple async calls
- Find after populate mongoose
- Storing data stream from POST request in GridFS, express, mongoDB, node.js
- node.js mongodb select document by _id node-mongodb-native
- Group by Date with Local Time Zone in MongoDB
- MongooseError: Model.findOne() no longer accepts a callback at Function
- Mongoose find() not returning result