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

js-bson: Failed to load c++ bson extension, using pure JS version #7

Closed
jeisonspaniol opened this issue Apr 18, 2015 · 1 comment
Closed
Labels

Comments

@jeisonspaniol
Copy link
Collaborator

Ao rodar o server do Express, aparece o seguinte erro:

{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }

js-bson: Failed to load c++ bson extension, using pure JS version
@jeisonspaniol
Copy link
Collaborator Author

Fix:

Alterar a linha 15 do arquivo path\to\repo\OpenPBL\node_modules\mongoose\node_modules\mongodb\node_modules\bson\ext\index.js

bson = require('../browser_build/bson');

@jeisonspaniol jeisonspaniol changed the title [ERRO] js-bson: Failed to load c++ bson extension, using pure JS version js-bson: Failed to load c++ bson extension, using pure JS version Apr 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant