Skip to content

fix: bump better-sqlite3 to 12.10.1 for Node 26 compatibility#1827

Open
0xSkybreaker wants to merge 1 commit into
decolua:masterfrom
0xSkybreaker:fix/better-sqlite3-node-26-compat
Open

fix: bump better-sqlite3 to 12.10.1 for Node 26 compatibility#1827
0xSkybreaker wants to merge 1 commit into
decolua:masterfrom
0xSkybreaker:fix/better-sqlite3-node-26-compat

Conversation

@0xSkybreaker

Copy link
Copy Markdown

@

Summary

Fixes #1812better-sqlite3@12.6.2 does not support Node 26.x, causing a server crash loop on startup.

Problem

better-sqlite3@12.6.2 engines field is 20.x || 22.x || 23.x || 24.x || 25.x. On Node 26.x, the native binding fails to load:

[DB] better-sqlite3 unavailable: Could not locate the bindings file.
⚠️  Server exited (code=unknown). Restarting in 1s... (1/2)

Fix

One-line change in cli/hooks/sqliteRuntime.js: bump BETTER_SQLITE3_VERSION from 12.6.2 to 12.10.1, which adds prebuilt binaries for Node 26 (ABI 147).

Verification

  • better-sqlite3@12.10.1 ships prebuilt binaries for Node 26
  • The package.json optionalDependency range ^12.6.2 already covers 12.10.1

🤖 Generated with Claude Code
@

@
fix: bump better-sqlite3 to 12.10.1 for Node 26 compatibility

better-sqlite3@12.6.2 only supports Node 20.x–25.x. Node 26.x fails to load
the native binding, causing a server crash loop on startup.

better-sqlite3@12.10.1 adds prebuilt binaries for Node 26 (ABI 147).

Fixes decolua#1812

Co-Authored-By: Claude <noreply@anthropic.com>
@
bloodf pushed a commit to bloodf/9router that referenced this pull request Jun 19, 2026
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

Successfully merging this pull request may close these issues.

better-sqlite3@12.6.2 incompatible with node 26 — server crash loop

1 participant