In this video, I have explained how you can use SQLite3 with Electron JS to develop desktop applications with a database. Check out the code yourself at …



  1. I find this new IPC architecture a little more complex than it should. I cannot make async calls to IPC channels because otherwise, all listeners will get all responses. There would need to be another protocol on top of this IPC to get specific calls to return to their specific callbacks. Any comments on this?

  2. 1-instead of –npm i –save-dev electron-rebuild– do npm i –save-dev electron-builder
    2- "scripts": {
    "postinstall": "electron-builder install-app-deps"
    3- npm run postinstall

  3. For people who even tried to manually install and update everything but still didn`t work, try this:

    (OFC install electron and sqlite3)

    Instead of electron-rebuild do `npm i –save-dev electron-builder`

    add to scripts the following line "postinstall": "electron-builder install-app-deps"

    Then do `npm run postinstall`. This should rebuild native dependencies. After this i was able to `npm start` and everything worked properly.


Please enter your comment!
Please enter your name here