Failed to load c++ bson extension, using pure JS version
Opened this issue · 1 comments
Harris-Aaron commented
Failed to load c++ bson extension, using pure JS version,how to solve this problem?
inaiman commented
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