According to the final comment in https://github.com/mapbox/node-sqlite3/issues/1311 - This package does not currently support Node.js 14.x. Several people reported in the issue problems when trying to install it on 14.x.
This issue was created to clearly state the need for supporting SQLite3 on Node.js 14.x.
In my case, I'm in the final stages of finishing the 5th edition of my book, _Node.js Web Development_, where the main focus is updating for the Node.js 14.x release.
The book features SQLite3 prominently as a way to simplify doing SQL development because you don't have to set up a database server.
It's problematic to tell the reader to use 14.x with SQLite3 if the combination does not work.
I think the book will be publishable within 2 months. If I have to, I will be telling the reader that if 14.x with SQLite3 is still giving errors they must backtrack to Node.js 13.13 because that's the last supported release.
Just to share some hope here, [email protected] builds just fine on my Windows 10 x64 with Node.js v14.0.0.
My app using it is very simple, but it does some basic CRUD with it. Hopefully this means that the changes needed in the source code will be minimal, and might just need some configuration changes to prebuild the binary for all platforms.
cc4b598c8cbaaa128c0528fa4a2075bfca17a5f6
Will be fixed in v5.0.0.
Has this been released to npmjs?
@ujwal-setlur If you look up this issue, you see that @kewde added this issue to the 5.0.0 milestone. In other words, this will be in 5.0.0.
My question is - when will that be?
I have a practical reason for asking this. As I said at the top of this, I am working on a new edition of my book, and part of the book uses SQLite3. I need to know whether to have the book reference 4.2.0 of this module, or 5.0.0, and what will determine that is the time frame that 5.0.0 will be released in. The book should be finished in June, FWIW.
Any news? V5.0.0 still missing in npm.
Any news? V5.0.0 still missing in npm.
What's the status of this release?
It looks like the tag and release are missing, but the code is there and appears to be working in latest master.
While certainly not best practice, I installed at this commit hash, and everything worked as expected:
https://github.com/mapbox/node-sqlite3#c196b05103cc34f33e7292d0578974ccd1fe349a"
It's appalling that there is a lack of communication as to when this is coming. My company is waiting to upgrade to Node 14 exactly because this one, single package doesn't support it. Very frustrating. 馃槨
https://kewde.github.io/sqlite
I am waiting as well, but this is open source. Yes, this is a sponsored project...but it's still open source. Time to contribute or fork.
I have released it. It's quite a major release that will ensure that I don't need to do a release every time that Node releases as well.
From now on forth, we only need to do a release when we want to, not when Node upgrades.
Due to the major changes, I have decided to not release until I have more time available to support the project in case of failures.
Thanks
Most helpful comment
I have released it. It's quite a major release that will ensure that I don't need to do a release every time that Node releases as well.
From now on forth, we only need to do a release when we want to, not when Node upgrades.
Due to the major changes, I have decided to not release until I have more time available to support the project in case of failures.
Thanks