Does run mongoskin only with mongodb version 1.4 and older?

十年热恋 提交于 2019-12-03 09:08:27

It's expecting version 1.4 of the MongoDB driver, not the database.

You should remove the 2.0.6 version of the driver, as mongoskin doesn't work with that yet (issue), and install the 1.4 version instead:

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

(however, I'm not sure if the 1.4 driver works properly with 3.x databases)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!