Repository navigation
sqlite: throw ERR_NO_SQLITE without SQLite support - #67727
Open
christianaurichzm wants to merge 1 commit into
Open
christianaurichzm wants to merge 1 commit into
christianaurichzm wants to merge 1 commit into
Conversation
Collaborator
|
Review requested:
|
aduh95
reviewed
Nov 23, 2026
In builds configured --without-sqlite, passing --experimental-sqlite exposes node:sqlite, and loading it then fails with "No such binding: sqlite". Throw ERR_NO_SQLITE instead, like node:crypto does without OpenSSL. Signed-off-by: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com>
christianaurichzm
force-pushed
the
sqlite-err-no-sqlite
branch
from
November 23, 2026 13:28
8fbf231 to
b88542b
Compare
aduh95
approved these changes
Nov 23, 2026
Collaborator
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #67727 +/- ##
=======================================
Coverage 90.55% 90.55%
=======================================
Files 801 801
Lines 284215 284223 +8
Branches 54887 54880 -7
=======================================
+ Hits 257369 257391 +22
- Misses 17015 17016 +1
+ Partials 9831 9816 -15
🚀 New features to boost your workflow:
|
cjihrig
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of #67698 so it can be backported, as @aduh95 asked there.
In builds configured
--without-sqlite, passing--experimental-sqliteexposesnode:sqlite, and loading it then fails withNo such binding: sqlite. This makes it throw the newERR_NO_SQLITEinstead, likenode:cryptodoes without OpenSSL. The flag stays off by default in those builds, and builds with SQLite don't change.Building
--without-sqlitewith the inspector enabled also needs #67722.