Re: [sqlite] Issue with node-sqlite3

2018-06-14 Thread Wout Mertens
Another datapoint: while the sqlite3 module gets only minimal attention, it does work fine and we do use it in production for years now. On Wed, Jun 13, 2018 at 4:26 PM Peter Johnson wrote: > Hi Omer, > > Unfortunately what you are trying to do it not possible. > > You are trying to run the npm

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread Peter Johnson
Hi Omer, Unfortunately what you are trying to do it not possible. You are trying to run the npm package `node-sqlite3` in an Angular project. Angular is a front-end, browser-based framework. The npm package manager contains javascript modules which can sometimes be used either in the browser

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread Simon Slavin
On 13 Jun 2018, at 11:50am, Space Pixel wrote: > Also, some of the packages sqlite3 requires are > very ancient and deprecated: crypto, aws-sdk, http, https, and some more. sqlite3 does not require any of those packages. SQLite has no dependencies at all. You can compile sqlte3 support

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread Simon Slavin
> On 13 Jun 2018, at 11:50am, Space Pixel wrote: > > Also, some of the packages sqlite3 requires are > very ancient and deprecated: crypto, aws-sdk, http, https, and some more. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread Simon Slavin
On 13 Jun 2018, at 9:26am, Space Pixel wrote: > I am having serious trouble with the Node.js module "sqlite3". This package Hello Omer. Then retry your command using just node, with no .cs involved const db = new sqlite3.Database("file name here"); In other words, make a test.js file

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread J. King
>I can see you didn't quite understand me. The project I am attempting >to >install sqlite3 on is an Angular 6 project. Now, in the package sqlite3 >there is a CS file that spits out a warning Ryan's advice, though, is still correct: this is not a NodeJS or Angular mailing list. You'd probably

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread Space Pixel
Hi Ryan, I can see you didn't quite understand me. The project I am attempting to install sqlite3 on is an Angular 6 project. Now, in the package sqlite3 there is a CS file that spits out a warning "you need an appropriate loader to handle this file type". Also, some of the packages sqlite3

Re: [sqlite] Issue with node-sqlite3

2018-06-13 Thread R Smith
On 2018/06/13 10:26 AM, Space Pixel wrote: Hello sqlite community, I am having serious trouble with the Node.js module "sqlite3". This package is supposed to connect JavaScript or TypeScript code with a sqlite3 database (file or online database). When I try to use the sqlite file (the command I