javascript - Does run mongoskin only with mongodb version 1.4 and older? -


i'm trying understand nodejs, express , mongodb i'm running mongodb v 2.0.6 , latest nodejs , express , trying connect express application mongodb through mongoskin. problem is:

npm err! peerinvalid package mongodb not satisfy siblings' peerdependencies requirements! npm err! peerinvalid peer mongoskin@1.4.13 wants mongodb@~1.4 

does mean mongoskin can work mongodb v 1.4? version old me (current 3)

it's expecting version 1.4 of mongodb driver, not database.

you should remove 2.0.6 version of driver, mongoskin doesn't work yet (issue), , install 1.4 version instead:

$ npm uninstall mongodb $ npm install mongodb@~1.4 [--save] $ npm install mongoskin [--save] 

(however, i'm not sure if 1.4 driver works 3.x databases)


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -