Hello Guys, I am a newbie in web programming.

I was just starting to learn about node.js and MongoDB.

I was following this video:

https://www.youtube.com/watch?v=ldGl6L4Vktk&list=LLIgdqDlETkodK6t_B6Lhcqg

And the problem start when i want to write to mongoDB (at 21:05)

I got an error saying `MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms`.

My code are as following:

r/webdev - This Video

index.js

r/webdev - This Video

User.js

r/webdev - This Video

auth.js

r/webdev - This Video

The error

I have been tinkering this problem for days. I would really appreciate if any of you guys can help me out . Thank you in advance



Source link

Write A Comment