I'm trying create a desktop system using node-webkit
, and using mongoose
for handle my MongoDB
When I calling require('mongoose')
function, this will return fallowing error, and nothing is happen in database:
js-bson: Failed to load c++ bson extension, using pure JS version
I tried create my database handle functions in a external test.js
file, contain var mongoose = require('mongoose')
, and execute it with node test.js
in terminal, this is execute success, saved in database, returned insert row data.
Why this problem occur only is executed with node-webkit
? How to can I fix this problem?
My environment is Windows 7, 64 bits
Posts where I tried:
From root catalog. Or find and correct that paths manually