Skip to content

Instantly share code, notes, and snippets.

@AttilaSATAN
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AttilaSATAN/5c54b45da76794d636c9 to your computer and use it in GitHub Desktop.
Save AttilaSATAN/5c54b45da76794d636c9 to your computer and use it in GitHub Desktop.
bson package problem on ubuntu (Failed to load c++ bson extension, using pure JS version)
//
// check the builderror.log file for error (mongoose/node_modules/mongodb/node_modules/bson/builderror.log)
// it should be about a parameter problem of node-gyp (invalid options vs.vs.)
// just erease the main node_module directory and
sudo npm update -g node-gyp
// now install packages
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment