Skip to content

node_sqlite3.node is not a valid Win32 application #16

@bbrodbeck-memtime

Description

@bbrodbeck-memtime

Issue Summary

Windows 11 on ARM64
package used with Electron 41
package version 8.0.2

Error:

2026-05-06T10:28:39.635Z LOG   Error: \\?\C:\Users\x\Code\app\node_modules\@appthreat\sqlite3\build\Release\node_sqlite3.node is not a valid Win32 application.
2026-05-06T10:28:39.635Z LOG   \\?\C:\Users\x\Code\app\node_modules\@appthreat\sqlite3\build\Release\node_sqlite3.node
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2630)
    at Module._extensions..node (node:internal/modules/cjs/loader:1998:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2630)
    at Module.load (node:internal/modules/cjs/loader:1560:32)
    at Module._load (node:internal/modules/cjs/loader:1362:12)
    at c._load (node:electron/js2c/node_init:2:18060)
    at wrapModuleLoad (node:internal/modules/cjs/loader:262:19)
    at Module.require (node:internal/modules/cjs/loader:1583:12)
    at require (node:internal/modules/helpers:153:16)
    at load (C:\Users\x\Code\app\node_modules\node-gyp-build\node-gyp-build.js:22:10)

Works fine with version 8.0.1

Steps to Reproduce

  1. have an electron app
  2. install @appthreat/sqlite3
  3. use @appthreat/sqlite3 in electron app
  4. launch on Windows 11 (ARM)

Version

8.0.2

Node.js Version

node 24 / electron 41

How did you install the library?

npm install @appthreat/sqlite3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions