3

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.

Gus
  • 31
  • 1
  • 3

1 Answers1

5

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

  • mongoose
  • mongoDB
  • or even some of these
Lazyexpert
  • 3,106
  • 1
  • 19
  • 33