Skip to content

[BUG] prebuilt file better-sqlite3 cannot work on Opencode v1.18.3 #52

Description

@Kingor-blip

Describe the bug
the prebuilt file better-sqlite3 cannot work on Opencode v1.18.3, the opencode-mem0.log show that :

[2026-07-19T16:23:40.466Z] [INFO] handleListMemories: error: {"error":"Error: The module '\\?\C:\Users\aa\.cache\opencode\packages\opencode-mem0@latest\node_modules\better-sqlite3\build\Release\better_sqlite3.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 137. This version of Node.js requires\nNODE_MODULE_VERSION 146. Please try re-compiling or re-installing\nthe module (for instance, using npm rebuild or npm install)."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions