I just installed keystone for a personal project and to learn it. After install I just run the command node keystone
but this error shows:
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
------------------------------------------------
Mongo Error:
[Error: failed to connect to [localhost:27017]]
/Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/keystone/lib/core/mount.js:616
throw new Error('KeystoneJS (' + keystone.get('name') + ') failed to start');
^
Error: KeystoneJS (test-keystone) failed to start
at NativeConnection.<anonymous> (/Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/keystone/lib/core/mount.js:616:10)
at emitOne (events.js:77:13)
at NativeConnection.emit (events.js:169:7)
at NativeConnection.Connection.error (/Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/mongoose/lib/connection.js:389:8)
at /Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/mongoose/lib/connection.js:416:14
at /Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:57:21
at /Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/mongodb/lib/mongodb/db.js:286:18
at /Users/msantamaria/Documents/dev/presonal_projects/test-keystone/node_modules/mongodb/lib/mongodb/db.js:365:7
at doNTCallback0 (node.js:428:9)
at process._tickCallback (node.js:357:13)
I've been reading a lot around but I cant find a fix for this, many suggest changing the node version, others that deleting node_modules and doing a npm install
again will fix it, but with no luck.
Thanks in advance, this are my specs:
OS: Mac OSX 10.10.5
node: v5.0.0
npm: v3.3.6
Python: 2.7.10
Mongo: 3.2.1