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

Uncaught TypeError: Cannot read property '_ansicursor' of undefined #512

Closed
Tracked by #240
raulromanp opened this issue Sep 16, 2015 · 4 comments
Closed
Tracked by #240

Comments

@raulromanp
Copy link

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.

@chauthai
Copy link

+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.

@RodrigoBalest
Copy link

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

@shaikhather
Copy link

Hi All,

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

Did anybody got resolution.

Regards,

@tmcw
Copy link
Contributor

tmcw commented Oct 5, 2016

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

@tmcw tmcw closed this as completed Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants