Wire version doesn't support for nodejs in mongodb - node.js

ConfigurationError: Server at xxxxx:27017 reports wire version 0, but this version of nodejs requires at least 2 (MongoDB 2.6).

I had the same issue using Linux subsystem for Windows and Nodejs mongoose v5.0.7.
I solved the issue by upgrading my MongoDB to v3.6.3 following the instructions on their documentation page. Install docs here.
Hope it helps.

Related

ExpressJs Compatibility with NodeJs Version

I am trying to find to see if expressjs 4 can support Nodejs 10.15.3 ( Lts) version. Is there any compatibility matrix that i can look into before deciding versions to choose?
If you check out express/package.json you can see that express needs node v0.10.0 or newer.
So yes, Express.js v4 is supporting Node.js v10.15.3.

Node js not working on windows 2008 server

I am trying to run my application on Windows 2008 server and i am getting the same error "This application is only supported on Windows 7,Windows Server 2008 R2, or higher".
Can someone suggest on how to fix this.
Please try to install the Node 4.x LTS version. The current LTS version is 8.12.0.
You can check this link to get supported NodeJS version https://nodejs.org/en/download/releases/
Take note that ES6 will not work in there.
I had the same problem, I followed the link https://nodejs.org/en/download/releases/
and installed Version 8x.
So far works well. If some have a higher version which is works, please share.

PHP7 and mongodb old querynot work

I have update my php 5.6 to php 7 and update mongodb driver also. but now my old code is not working on new environment.
please help
yes i have install in php7 mongodb using pecl.
then use https://github.com/alcaeus/mongo-php-adapter.
then use composer and change the code according to mongo-php-adapter library.
then its work.
enjoy :)

Setting up Nodejs 5.10.1 on Openshift

I run a Discord bot. I am using Nodejs on Openshift. I was using their latest cartridge until I realized NodeJS 6.3 has an out of bounds bug.
I have been trying to use an earlier version of Nodejs (like 5.10.1), but I don't know how to set up the application in their cartridge. Does anyone know how to go through the setup process?
According to openshift cartridge nodejs readme, you have to set environment variables NODE_VERSION_URL & NPM_VERSION_URL if you want custom version of node/npm :
NODE_VERSION_URL=https://semver.io/node/resolve/4.3.2
NPM_VERSION_URL=https://semver.io/npm/resolve/3.6.0

valid version of connect with node v0.8.1

I am trying to use connect v2.3.5 with node 0.8.1 - does anyone know whether this is stable (I am also using express v2.5.11 on Ubuntu 11). I can move to an older version of connect that would work with node 0.8.1 and express 2.5.11 as long as I know the cutoff connect version.
I moved to older version of connect - v1.8.5 & I am not experiencing the issue with path/fs I was experiencing earlier.

Resources