azat-co / mongoui

MongoDB admin UI server written in Node.js 🎮
MIT License
585 stars 132 forks source link

npm WARN mongoskin@2.0.3 requires a peer of mongodb@~2.0 but none was installed. #46

Open lopugit opened 7 years ago

lopugit commented 7 years ago

I am just trying to install mongoui, I install it, then run npm i, my package.json looks like this, I've tried the earlier version of mongodb work around but it didn't work either:

`[ec2-user@ip-10-0-0-119 html]$ sudo npm i

npm WARN mongoskin@2.0.3 requires a peer of mongodb@~2.0 but none was installed. GNU nano 2.5.3 File: package.json

{ "name": "lopu", "version": "1.0.0", "description": "ai", "main": "index.js", "dependencies": { "mongoui": "^4.0.5", "mongodb": "^2.0.0"

}, "devDependencies": {}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "lopu" }, "keywords": [ "ai" ], "author": "lopu", "license": "ISC" }

`

simonschaufi commented 7 years ago

I have the same problem. A full zip download with all dependencies would be great!

azat-co commented 7 years ago

@lopugit is this from a git repo or after npm i -g?

simonschaufi commented 7 years ago

It's a long time ago but I think I just installed it as written here: https://github.com/azat-co/mongoui#installation with a zip download of master branch

endo64 commented 7 years ago

I have same issue, on Windows I executed npm i -g mongoui and it gives npm WARN mongoskin@2.0.3 requires a peer of mongodb@~2.0 but none was installed error.