Loading episodes…
0:00 0:00

Building SQLite 3 for Electron in Windows

00:00
BACK TO HOME

Building SQLite 3 for Electron in Windows

10xTeam July 09, 2018 1 min read

In this tutorial, we’ll see how to use SQLite 3 with Electron. We’ll specifically look at how to setup SQLIte 3 to work with Electron in a Windows development environment.

Installing Electron is straightforward and easy but unfortunately that’s not the case for SQLite 3 as it requires compiling to target the Electron ABI for Windows.

In nutshell. The steps required for setting up SQLIte 3 with Electron are:

  • Step 1: Installing Node.js and NPM for Windows
  • Step 2: Installing Electon, electron-prebuilt and electron-rebuild
  • Step 3: Installing SQLite 3
  • Step 4: Installing node-gyp
  • Step 5: Installing python 2.7 and visual c++ dependencies
  • Rebuild sqlite3 using electron-rebuild -f -w sqlite3

Join the 10xdev Community

Subscribe and get 8+ free PDFs that contain detailed roadmaps with recommended learning periods for each programming language or field, along with links to free resources such as books, YouTube tutorials, and courses with certificates.

Audio Interrupted

We lost the audio stream. Retry with shorter sentences?