Skip to main content

Posts

Showing posts from May, 2017

Setup electron and sqlite3 in windows

I am writing this post to share the information that will be helpful to you to setup the electron and sqlite3 in windows environment. Setup of electron is quite simple but sqlite3 is some tricky to setup.So to setup electron and sqlite3 with minimum setup is as follows. Install NodeJs Install the electron-prebuilt  Install the electron-rebuild as dev dependency Install the sqlite3 Now it is time to pull node-gyp node - gyp  is a cross-platform command-line tool written in  Node .js for compiling native addon modules for  Node .js. It bundles the  gyp  project used by the Chromium team and takes away the pain of dealing with the various differences in build platforms. For detail node-gyp Now we have to install build tools consisting   python 2.7 and visual c++  dependency so gyp can built our native module. Just run the command shown below and it will pull the necessary files automatically. I recommend to use this. This comma