Skip to content

Upgrade better-sqlite3 to 12.10.0 for Node 26 compatibility - #78

Open
loekvangool wants to merge 1 commit into
block:mainfrom
deheerhoreca:main
Open

Upgrade better-sqlite3 to 12.10.0 for Node 26 compatibility#78
loekvangool wants to merge 1 commit into
block:mainfrom
deheerhoreca:main

Conversation

@loekvangool

Copy link
Copy Markdown

better-sqlite3@12.6.2 fails to compile on Node.js 26 due to V8 API breaking changes — specifically, v8::PropertyCallbackInfo<T>::This() was removed and v8::External::New/Value signatures changed.

No prebuilt binaries exist for this combination (target=26.0.0 runtime=node arch=x64), so it falls through to node-gyp rebuild, which fails with:

error: 'const class v8::PropertyCallbackInfo<v8::Value>' has no member named 'This'

Upgrading to 12.10.0 resolves this — prebuilt binaries are available and the native code is compatible with the new V8 API.

@loekvangool
loekvangool requested a review from jom-sq as a code owner May 19, 2026 19:37
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.

2 participants