coopboost icon indicating copy to clipboard operation
coopboost copied to clipboard

js-bson: Failed to load c++ bson extension, using pure JS version

Open s2imon opened this issue 7 years ago • 5 comments

Hi there first of all thanks for creating this. I'm trying to get this running and am failing at the same step installing through the Heroku button or terminal:

when trying to seed the accounts, I get this error:

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

One of the things I've tried is this https://stackoverflow.com/a/28932441/937708 answer, changed the path, deployed to Heroku, running again returns the same error.

Is this anything you've run into?

Thank you 🙏

s2imon avatar Aug 31 '17 18:08 s2imon

Same issue here!

neuman avatar Sep 23 '17 04:09 neuman

Ah yes, this is a monk / mongo error. I'm going to rewrite the entire thing with Promises, so hopefully this error should be eliminated. Thanks everyone for your support!

lambtron avatar Sep 26 '17 23:09 lambtron

Well you are doing the support, so thank you :)

s2imon avatar Sep 27 '17 07:09 s2imon

i just pushed a few commits to master that upgrade node and npm, as well as includes mongoose. Can you try with this version?

lambtron avatar Sep 27 '17 07:09 lambtron

Maybe @neuman can go ahead, I'll make a note to try on the weekend!

s2imon avatar Sep 27 '17 07:09 s2imon