I wanted play around with mongo-client by Raynos. However, when I add "mongo-client" : "0.2.1"
to my package.json
dependencies, I get the following:
(node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bson/ext/bson.o
SOLINK_MODULE(target) Release/bson.node
SOLINK_MODULE(target) Release/bson.node: Finished
The builderror log
is empty. And if I run npm install
again, I get a lot of unmet dependencies
, such as:
npm WARN unmet dependency /node_modules/mongo-client requires reducible@'Raynos/reducible#v1.0.6' but will load
npm WARN unmet dependency /node_modules/reducible,
Now, I haven't encountered an error like this before. There are no reported issues on GIT with mongo-client
. So, I want to know at a high-level what is going on and how to interpret the error?
Of course, I googled too. I'm thinking this might fix it:
https://github.com/TooTallNate/node-gyp/wiki/Updating-npm's-bundled-node-gyp
but when I run:
$ sudo npm explore npm -g -- npm install node-gyp
I get TypeError: Bad argument
Any insight and guidance on next steps appreciated.
Thank you.