node-sqlite3 icon indicating copy to clipboard operation
node-sqlite3 copied to clipboard

Uncaught TypeError: Cannot read property '_ansicursor' of undefined

Open raulromanp opened this issue 11 years ago • 4 comments

That error is showed on 'sqlite3' simply when I require it through var sqlite3 = require('sqlite3').verbose();

I'm on a angularjs-nodewebkit stack and using gulp, and made all install steps. That error is showed on both, serving app on browser and compiling final app.

raulromanp avatar Sep 16 '15 20:09 raulromanp

+1 I'm trying to use knex.js in a web browser enviroment (a cordova app) and encountered the same error trying to connect to my sqlite db via cordova-sqlite-storage. knex.js uses node-sqlite3 to connect to the local db with a websql-wrapper.

chauthai avatar Nov 27 '15 12:11 chauthai

+1 Got the same problem when trying to use node-sqlite3 with ember and ember-browserify.

RodrigoBalest avatar Apr 04 '16 00:04 RodrigoBalest

Hi All,

Got the same problem when trying to use node-sqlite3 with ember and ember-browserify.

Did anybody got resolution.

Regards,

shaikhather avatar Apr 17 '16 10:04 shaikhather

node-sqlite3 is a native module: it should not be expected to work browserify or web environments. SQLite3 is a C library.

tmcw avatar Oct 05 '16 15:10 tmcw