This question already has answers here:
Find the version of an installed npm package
(33 answers)
Closed 5 years ago.
Hi everyone? I'm new on mongoLab, and i have a database connected with a sandbox plan with mongodb 3.2 version. I'm getting a warning message about the upgrade to mongodb 3.4 soon. After looking deep into compatibilities changes that are needed (https://docs.mongodb.com/manual/release-notes/3.4-compatibility/), i find out i need to make sure that the Node Js driver version i'm using will be suitable with MongoDB 3.4. According to this doc https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#node-js-driver-compatibility, the nodejs driver that i need is 2.2.12.
Does someone know how to check the nodejs driver version in a nodejs app.
Check your package.json file. Depending on what package you're using, it might be:
mongoose
mongoDB
or even some of these
Related
Would there ever be a case where we shouldn't use the latest stable version of node with the latest version Angular? Whenever I read the Angular update guide, there is always a mention of the minimum version of node to be used with that version Angular. So rather than worrying about using the minimum version of node, just use the current stable version.
Are there any drawbacks to doing that?
I'm not aware of anything that may create a problem here, so yes, but...
As this answer mentions it, you'll find in this link every node version that are safe to use with the version of angular you're using.
We upgraded our Oracle DB and oracle client from 12.1 to 19.10.
Our application server have below setup
OS is Linux
Python version is 2.7.5 and there is no plan to upgrade the python version yet
cx_Oracle library version is 5.3
A quick test shows the application works fine but I am wondering if I need to upgrade the cx_Oracle library? Does it have a support expiry date? I tried to google it, read the information on its Github page but can't find any statement that answers my question.
This combination hasn't been tested. But since the Oracle Client libraries keep compatibility it is likely to work, subject to whatever underlaying enforced changes have been made to the Oracle libraries, perhaps to drop unsupported TLS versions or whatever has occurred in the 8 years since 12.1 was released that I don't know about. You application testing should be the final confirmation.
You should definitely set a goal to update to Python 3 so you can get the latest cx_Oracle version.
Has anyone tried running pubnub sdk in node 12.x?
On their docs, found that it supports till node 8. Link - https://www.pubnub.com/docs/web-javascript/supported-platforms
Does anyone have any updates whether they are going to add support for 12 soon or any possible workaround?
PubNub Node Versions Support
Thanks for bringing this to our attention. We are building in travis on node 12 with success, we just need to update the supported versions. We will likely update it when when do a new release (4.27.2) today.
I'm running a website through node.js on my raspberry pi and want to connect it to a mongodb database. Unfortunately the through the repositories provided mongodb server is only of version 2.4 due to the 32 bit system.
I tried to compile a higher version of mongodb without success. Trying to connect to the database through my node.js application gives me this error:
MongoError: Server at localhost:27017 reports wire version 0, but this version of Node.js Driver requires at least 2 (MongoDB2.6).
Is there any way to tell the mongodb node.js package to use the lower version of Mongodb?
Ok, so I solved it quite easily. You can set the version of mongodb in the package.json file to a lower one. The 2.X versions apparently use mongodb version 2.4 or less!
I have a node.js server and I was using a Mongodb v2.6. Today I have upgraded that to Mongodb v3.0 and the app has stopped responding but it still responds to v2.6. Any ideas on how to fix this? Mongolab will be upgrading all databases to v3.0.
I have also tried implementing it at modulus.io without any results. I use Mongoose with my node.js app.
Since the version of Mongoose you included in package.json isn't shared, I am hoping that needs an update too.
Here's the article where Mongoose 4.0 is said to be supporting Mongo 3.0: https://www.mongodb.com/blog/post/introducing-version-40-mongoose-nodejs-odm
Also, if you are upgrading Mongoose to 4.0, check the backwards incompatible changes and new features sections in their Release Notes.
https://github.com/Automattic/mongoose/wiki/4.0-Release-Notes