首页 > 代码库 > Keystone, Start, Failed to Load Bson
Keystone, Start, Failed to Load Bson
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。