Failed to load c++ bson extension

I guess you did not have the make tools available when you installed your mongodb library. I suggest you do

xcode-select --install (on a mac)
or sudo apt-get install gcc make build-essential (on ubuntu)

and run

rm -rf node_modules
npm cache clean
npm install

OR just npm update based on @tobias comment (after installing build-essential)

npm update

Leave a Comment