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
Post a Comment