Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find the nodejs driver version? [duplicate]

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.

like image 279
Gus Avatar asked Aug 14 '26 12:08

Gus


1 Answers

Check your package.json file. Depending on what package you're using, it might be:

  • mongoose
  • mongoDB
  • or even some of these
like image 185
Lazyexpert Avatar answered Aug 16 '26 06:08

Lazyexpert



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!