You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 14.04.1-Ubuntu running on SSH shell on GCP[Google Cloud Platform]
Output of uname -a:
Linux lab-rat-frontend 4.4.0-137-generic #163~14.04.1-Ubuntu SMP Mon Sep 24 17:14:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I'm trying to run a project that requires MongoDB. So I installed the following version of it:
mongod --version
db version v2.4.9
Sat Oct 27 16:58:32.692 git version: nogitversion
Everytime I run the command
node server.js
I get the following error:
MongoError: Server at localhost:27017 reports wire version 0, but this version of Node.js Driver requires at least 2 (MongoDB2.6).
I don't know which of these is at fault here, but there are some solutions which say that updating the MongoDB version gets it solved. However, the errors keep on getting more and more with this solution.
Is there any other way I could do this by configuring Node?
The text was updated successfully, but these errors were encountered:
Version:
v6.14.4
Platform:
Linux 14.04.1-Ubuntu running on SSH shell on GCP[Google Cloud Platform]
Output of
uname -a
:I'm trying to run a project that requires MongoDB. So I installed the following version of it:
Everytime I run the command
I get the following error:
I don't know which of these is at fault here, but there are some solutions which say that updating the MongoDB version gets it solved. However, the errors keep on getting more and more with this solution.
Is there any other way I could do this by configuring Node?
The text was updated successfully, but these errors were encountered: