toptal/haste-server

MongoDB not working.

typhoon11 opened this issue · 3 comments

So I have my MongoDB atlas, when I am adding the URI of the database and using npm start it's throwing the error:

db.collection('entries').update({ ^ TypeError: db.collection is not a function

My config.js is something like this:
image

Install mongodb 2.2.33 and it will work

@typhoon11 Did the solution above solve your issue?

Yeah