Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Harris-Aaron opened this issue Oct 26, 2016 · 1 comment
Open

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

Harris-Aaron opened this issue Oct 26, 2016 · 1 comment

Comments

@Harris-Aaron
Copy link

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

@inaiman
Copy link

inaiman commented Mar 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants