Closed mrigo closed 7 years ago
do you have sqlite3 installed ?
$ which sqlite3
/usr/bin/sqlite3
if your output is different, please specify the right path for the executable as explained in the Readme.
example
var dblite = require('dblite');
dblite.bin = "/usr/local/bin/sqlite3";
var db_path = __dirname+'/db/db.sqlite';
var db = dblite(db_path, '-header');
no reply over almost a year.
Hi, I've installed dblite on my raspberry pi and when I'm trying to instantiate a db
and run node app.js, I'm having this error
Error: spawn sqlite3 ENOENT
The db exists and is readable and the path is correct.
On OSX the error doesn't appear.
Thanks! \m