Skip to content

DBCode fails to download SQLite binary on VS Code 1.123 macOS ARM64 / Electron ABI v146 #1123

@bora-yarkin

Description

@bora-yarkin

Bug Description

On the latest version of VS Code on macOS Tahoe with an Apple Silicon / ARM64 processor, DBCode fails when trying to connect to a SQLite database.

When opening the DBCode tab and attempting to connect to a SQLite database, the extension tries to download a native SQLite binary, but the expected prebuilt binary is not found and the request returns 404: Not Found.

Repro steps

  1. Open VS Code.
  2. Open the DBCode tab.
  3. Try to create or open a connection to a SQLite database.
  4. DBCode attempts to download the SQLite native binary.
  5. The download fails with a 404: Not Found error.

VS Code version:

Version: 1.123.0 Commit: 6a44c352bd24569c417e530095901b649960f9f8 Date: 2026-06-03T11:29:03+02:00 Electron: 42.2.0 ElectronBuildId: 14159160 Chromium: 148.0.7778.97 Node.js: 24.15.0 V8: 14.8.178.14-electron.0 OS: Darwin arm64 25.5.0

Expected Behavior

DBCode should download or provide a SQLite native binary compatible with the VS Code runtime, Electron version, Node.js version, OS, and architecture.

For this environment, DBCode appears to need a macOS ARM64 binary compatible with Electron ABI v146.

Actual Behavior

DBCode fails to fetch the required native binary:

Failed to fetch https://github.com/dbcodeio/public/raw/main/packages/better-sqlite3/better-sqlite3-multiple-ciphers-v12.10.0-electron-v146-darwin-arm64.tar.gz. Error: 404: Not Found

The requested file does not appear to exist at that URL.

Environment

  • DBCode version: latest available version
  • VS Code version: 1.123.0
  • Commit: 6a44c352bd24569c417e530095901b649960f9f8
  • Electron: 42.2.0
  • Node.js: 24.15.0
  • OS: macOS Tahoe / Darwin arm64 25.5.0
  • Architecture: ARM64 / Apple Silicon
  • Database: SQLite
  • Connection: direct

Error Messages

Failed to fetch https://github.com/dbcodeio/public/raw/main/packages/better-sqlite3/better-sqlite3-multiple-ciphers-v12.10.0-electron-v146-darwin-arm64.tar.gz. Error: 404: Not Found

Logs

Relevant DBCode log output:

Failed to fetch https://github.com/dbcodeio/public/raw/main/packages/better-sqlite3/better-sqlite3-multiple-ciphers-v12.10.0-electron-v146-darwin-arm64.tar.gz. Error: 404: Not Found

Additional Context

This appears to be caused by the latest VS Code version using Electron 42.2.0, which requires Electron ABI v146. DBCode is requesting the following binary:

better-sqlite3-multiple-ciphers-v12.10.0-electron-v146-darwin-arm64.tar.gz

However, that binary is not available in the DBCode public binary repository at the requested path.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions