@@ -156,6 +156,16 @@ Set the location where `make` installed it:
...
@@ -156,6 +156,16 @@ Set the location where `make` installed it:
node -e 'require("sqlite3")'
node -e 'require("sqlite3")'
### Custom builds and Electron
Running sqlite3 through [electron-rebuild](https://github.com/electron/electron-rebuild) does not preserve the sqlcipher extension, so some additional flags are needed to make this build Electron compatible. Your `npm install sqlite3 --build-from-source` command needs these additional flags (be sure to replace the target version with the current Electron version you are working with):