Having trouble with a native dependency? Getting a "module not found" on native modules even thought you've just installed them?
Electron Documentation - https://electronjs.org/docs/tutorial/...
Sqlite3 + Electron stackoverflow - https://stackoverflow.com/questions/3...
Steps from SO question + update to commands:
npm install --save-dev electron-builder
npm install sqlite3
Add to package.json script:
"postinstall": "electron-builder install-app-deps"
And then run:
npm run postinstall