If I want to start my node.js (v10.6.0) app on my Raspberry Pi 3 B+ (OS Raspbian Stretch) via
npm run start:prod
and my MongoDB (v2.4) was started before via
sudo mongod
I receive this error message
info: Runnning in production mode (server/dist/index.js)
info: Starting server on port 8000...
info: Connecting to database at mongodb://localhost:27017/mldms...
(node:1826) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
warn: Couldn't connect to a database: MongoError: Server at localhost:27017 reports wire version 0, but this version of Node.js Driver requires at least 2 (MongoDB2.6).
I read from another forum you can only download MongoDB version 2.4 for Raspberry Pi. Is there any possibility to fix this problem, so I can connect to my MongoDB? I was also thinking of downgrading node.js.