@phenomlab Only way all works is if i use node v12 anything more i get errors like that on the page.
MongoDB shell version v5.0.14 and MongoDB server version: 3.6.8 is what I am using. I get a warning that they do not match but i cant seem to update mongo server version either.
I am not at a level where I understand to be honest. Node, npm, nvm mongo…things work on some versions and not others. Updating to the latest just breaks things.
[email protected]:~$ mongo
MongoDB shell version v5.0.14
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("b7326d9b-2817-403e-b072-2f0f5330761d") }
MongoDB server version: 3.6.8
WARNING: shell and server versions do not match
================
Warning: the "mongo" shell has been superseded by "mongosh",
which delivers improved usability and compatibility.The "mongo" shell has been deprecated and will be removed in
an upcoming release.
For installation instructions, see
https://docs.mongodb.com/mongodb-shell/install/
================
> show dbs
uncaught exception: Error: Failed to acquire database information from privileges :
[email protected]/mongo/shell/utils.js:25:13
[email protected]/mongo/shell/mongo.js:69:15
Mongo.prototype.getDBs/<@src/mongo/shell/mongo.js:134:31
[email protected]/mongo/shell/mongo.js:97:12
[email protected]/mongo/shell/utils.js:956:13
[email protected]/mongo/shell/utils.js:838:15
@(shellhelp2):1:1
> exit
bye