Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms node js

mongoose 
 .connect(process.env.MONGO_PROD_URI, {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        useCreateIndex: true,   })   
 .then(() => console.log("Database connected!"))
 .catch(err => console.log(err));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Operation #buffering #timed #node #js
ADD COMMENT
Topic
Name
3+1 =