Skip to content

Help using rebuild to package node-sqlite3 to use with Electron  #1094

Open
@nikitavoloboev

Description

I opened an issue here first: electron-userland/electron-builder#7702

But realised this issue potentially needs rebuild.

In short I have the app I want to build with code here:

https://github.com/learn-anything/electron-version

cd app && pnpm run compile

will do a compile of the app

image

It completes without errors.

However if you open the resulting app, you get this error:

image

After googling the error I found this thread: TryGhost/node-sqlite3#1029 (comment)

And someone mentioning Rebuild to help solve this

image

But I don't get how to integrate it to actually solve it even after reading readme.

If you can help, I would really appreciate it ♥️

Thank you

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions