We are struggling with building app for windows 32bit and 64bit.
It is angular 2 application which uses sqlite3 as a database.
Everything works perfectly in
SQLite3 is a native Node.js module so it can't be used directly with Electron without rebuilding it to target Electron.The electron-builder will build the native module for our platform and we can then require it in code as normal.
The following are steps you need to follow.
First, we need to add a postinstall step in your package.json:
"scripts": {
"postinstall": "install-app-deps"
...
}
and then install the necessary dependencies and build:
npm install --save-dev electron-builder
npm install --save sqlite3
npm run postinstall
I have used this same procedure in windows 7(32 bit) and also Windows 10(64 bit). I did not face any problem regarding this.