Skip to content

Cannot find module 'sqlite3' #1

@axelkennedal

Description

@axelkennedal

I cloned your repo in hopes of getting sqlite3 to work with Electron after trying for several hours, looking at different resources online. Unfortunately your repo doesn't seem to work either.

This is what I did immediately after cloning your repo

First I ran npm install and got the error that the comment needs to be removed, so I did that.

Then when running npm install again there were a lot of install errors related to sqlite (npm ERR! Failed at the [email protected] install script.).

Then, after ignoring that warning and running npm run rebuild followed by npm start I get the error Electron failed to install correctly, please delete node_modules/electron and try installing again. So I ran npm install --save electron (no errors here).

With this done I ran npm start and got lots of error messages, starting with Error: Cannot find module 'sqlite3'.

Note; I'm on macOS Mojave.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions