Closed gianpaj closed 5 years ago
You probably installed it through npm, right?
The project is outdated on npm because it doesn't keep sync with GitHub automatically.
You can compare the hacks/show.js file installed by npm on your machine and the current on GitHub repository to understand why it is occurring.
Yes, is installed via npm.
If I replace the .show()
function in ~/.mongorc.js
with the one from show.js, then yes there is no error.
I wonder why npm doesn't have the latest .show()
since it was last edited in 2 Nov 2016.
$ npm list -g --depth=0 mongo-hacker
/Users/gianfranco/.nvm/versions/node/v8.11.1/lib
└── mongo-hacker@0.0.15
The last publish on npm was 2 years ago, before fix show
function.
This should be resolved with Mongo Hacker 0.0.16 published to npm in Oct 2018.
Which query/command could it be?
mongod logs