node-sqlite
node-sqlite copied to clipboard
With this fixes sqlite should work with new nodes.
Fixing sources to work with nodes 0.6.x I have added extends module. Perhaps it should be done in different way.
This two commits should be merged to work properly.
@rbochenski
Error: Cannot find module './sqlite3_bindings'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object.
Just link build/Release/sqlite3_bindings.node into sqlite3_bindings sqlite dir. I am not sure how to do it properly during compilation/installation.
I fixed the "Cannot find module './sqlite3_bindings'" error differently: https://github.com/panzi/node-sqlite/commit/f6791b9e9c2418fc43f9b9e76ace1e6a39c11d8a No idea if this is better.