Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

关于mongodb版本3.0版本上运行jsgen解决方案 #73

Open
tanbo800 opened this issue Sep 11, 2015 · 0 comments
Open

关于mongodb版本3.0版本上运行jsgen解决方案 #73

tanbo800 opened this issue Sep 11, 2015 · 0 comments

Comments

@tanbo800
Copy link

默认jsgen下如果运行最新jsgen将出现:Failed to load c++ bson extension, using pure JS version
{ [MongoError: driver is incompatible with this server version] name: 'MongoError' }
^Z
测试发现此为mongoskin的版本过低导致
解决方案:
将root下package.js的"mongoskin": "~1.3.x"修改为"mongoskin": "~1.4.x"
npm install
运行正常

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant