Encountering hurdles in MongoDB 7.0.4 installation

Encountering hurdles in MongoDB 7.0.4 installation on my project

bash

npm install mongodb@7.0.4

output

npm ERR! code ETARGET
npm ERR! notarget No matching version found for mongodb@7.0.4.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

versions

ubuntu: 20.04.4 LTS
nodejs: 18.13.0
npm: 8.19.3

i’m referencing to this url

https://www.mongodb.com/docs/current/release-notes/7.0/#std-label-release-notes-7.0

While everything appears to be in order, is there a crucial detail that might have been overlooked, triggering this error?
Thank you in advance for any guidance provided.

Hi @work_state

The latest available version of the node driver is 6.0.3 which is why you get this error.

This is the release notes for MongoDB Server, if that is what you are intending to install go to:
https://www.mongodb.com/docs/current/installation/

MongoDB Atlas is also available but currently you will need a dedicate tier (M10+) to use 7.0 .

1 Like

thanks a lot @chris i got it now