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

Add support for Node 13 #1261

Closed
Pomax opened this issue Dec 19, 2019 · 8 comments
Closed

Add support for Node 13 #1261

Pomax opened this issue Dec 19, 2019 · 8 comments

Comments

@Pomax
Copy link

Pomax commented Dec 19, 2019

It looks like Sqlite3 is not compatible with Node 13 yet, only Node 12. Can binaries be generated for the new (well... October, but still) major version of Node?

@Pomax
Copy link
Author

Pomax commented Dec 22, 2019

@kewde any news on this front? Node 13's been out long enough to have had five minor version updates already, and sqlite3 is a common enough library that compatibility with new versions of Node is pretty essential. Especially since it's typically used as the "local dev" equivalent of a full blown database, with local dev generally using the most recent version of Node, rather than the LTS version.

@ibrahimcaj
Copy link

Yeah, @kewde any news? It has been over a month since Node 13 release.

@bedwardly-down
Copy link

bedwardly-down commented Jan 25, 2020

What exactly is the incompatibility here? I'm on Artix Linux running nodejs 13.7.0 with no issues so far. Of course, I'm not directly messing with Sqlite3 but one of the apps I'm contributing to and using uses it pretty heavily for its backend. Thanks

@dhkatz
Copy link

dhkatz commented Jan 25, 2020

The issue is, at least on Windows, is that node-gyp tries to request a pre-built binary for Node 13 (node-v79 ABI) but there isn't any.

It then tries to fall back to building from source, but I doubt most people have a VS 2015 compiler still running.

@bedwardly-down
Copy link

Thanks for getting back to me. So it seems to be a Windows only issue that Linux bypasses for the most part, right?

@Pomax
Copy link
Author

Pomax commented Jan 26, 2020

Any system that knows how to build C++ code using Python via node-gyp for node.js will compile from source, but sqlite3's power is that it doesn't need a build system because all the binaries are prepackaged. It was one of the first projects to add that and it was a god send. Sure, nearly every windows user is affected, but also every lean unix/linux deploy system that only installs exactly what's necessary, and not all headers and libraries necessary to compile things from source. Or even setups that are dedicated node targets and so don't have python installed. Or setups that have python installed but not the now literally dead version of python that node-gyp still rather ridiculously relies on.

So the issue is really just what's listed in the top comment: sqlite3's missing precompiled binaires, can those please be added for all the standard targets, in the same way that's been done since before I last filed an issue about the precompiled binaries back in late 2013.

@kewde
Copy link
Collaborator

kewde commented Jan 29, 2020

Support for Node 13 was added in 4.1.1.
I will verify that the windows prebuilt binaries are available.

@kewde
Copy link
Collaborator

kewde commented Jan 29, 2020

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