I have the same issue as a lot of people with nodejs/mongodb/express.
I'm using ubuntu 14.04 on virtual box 4.3.12. Nodejs is v4.2.6 and npm 2.4.12.
The issue is described here : Failed to load c++ bson extension
I did manage to get the error out (by making sure I had build essentials, removing node_modules and installing again).
However, to do so I have to type "sudo npm start".
When I type "npm start", I get the lovely :
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version
I understand what sudo means, but I don't understand why it would get the error out.
I've been battling against this issue for hours and I just want to make sure that the error is indeed gone instead of being hidden in some way by sudo. (I am a beginner in linux and nodejs, so bear with my stupid questions).
Thank you for your time.