Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Installation error: Module not found ../build/Release/bson #8

Open
dewwwald opened this issue Jun 30, 2017 · 5 comments
Open

Installation error: Module not found ../build/Release/bson #8

dewwwald opened this issue Jun 30, 2017 · 5 comments

Comments

@dewwwald
Copy link

dewwwald commented Jun 30, 2017

Node Version: v6.9.1
actual node module dir: [project dir]/node_modules/bson/build/Release/nodec

Could this issue be caused by the installation with out the proper versions?

Here is the full error log.

Error: failed to connect to [localhost:27017]
    at .<anonymous> (/Users/dewald/work/sites/sharemate/node_modules/mongodb/lib/mongodb/connection/server.js:556:25)
    at emitThree (events.js:116:13)
    at emit (events.js:194:7)
    at .<anonymous> (/Users/dewald/work/sites/sharemate/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
    at emitTwo (events.js:106:13)
    at emit (events.js:191:7)
    at Socket.<anonymous> (/Users/dewald/work/sites/sharemate/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at emitErrorNT (net.js:1276:8)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
/Users/dewald/work/sites/sharemate/node_modules/keystone/lib/core/mount.js:630
			throw new Error('KeystoneJS (' + keystone.get('name') + ') failed to start');

Any direction in how I can go about solving this issue?

I am also on mac.

@eltel
Copy link

eltel commented Jul 2, 2017

Same issue here

@eltel
Copy link

eltel commented Jul 2, 2017

Instructions here!!

#7

@dewwwald
Copy link
Author

dewwwald commented Jul 2, 2017

@eltel You are Power! Thanks!

Are you referring to the mongo permissions part?

I don't think version conflicts should be solved by editing node modules.

@eltel
Copy link

eltel commented Jul 2, 2017

No...the missing bson file - worked my end. Mongo DB was the other reason it wasn't initiating.

You may be right on the node modules part - but for now it's working.

@robksawyer
Copy link

I was able to fix the problem by simply running yarn upgrade keystone.

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

3 participants