scottksmith95/beerlocker

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

Opened this issue · 1 comments

Failed to load c++ bson extension, using pure JS version,how to solve this problem?

Hi.

It is misconfiguration between installed programs and npm packages.

remove node_modules directory.
run npm cache clean
edit package.json file -> remove all dependencies:
{
"name": "beerlocker",
"main": "server.js",
"dependencies": {
}
}

run npm install.
install required packages with npm
f.e.
npm install express --save
npm install mongoose --save
npm install body-parser --save