码迷,mamicode.com
首页 > 其他好文 > 详细

Keystone, Start, Failed to Load Bson

时间:2017-03-08 21:07:05      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:err   sid   pac   comm   span   version   when   error:   trie   

If you have installed the Keystone.js, and properly installed mongodb, but when tried to start the keystone thought command node keystone.js, you might get the error

{ [Error: Cannot find module ../build/Release/bson] code: MODULE_NOT_FOUND } 
  js-bson: Failed to load c++ bson extension, using pure JS version

Once you have this problem, you could open the package.json inside node_modules/keystone/package.json, then change the line of mongoose to version 4.4, reinstall the moongose, it should be okay then.

Keystone, Start, Failed to Load Bson

标签:err   sid   pac   comm   span   version   when   error:   trie   

原文地址:http://www.cnblogs.com/Jedimaster/p/6522966.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!