I am trying to get an Electron app up and running on a Windows 10 dev machine. I run npm install
and it installs all the dependencies including sqlite3
, electron-prebuilt
and electron-rebuild
.
I then run electron-rebuild -w sqlite3 -p
to create the node-sqlite3 bindings and this successfully creates electron-v1.4-win32-x64
bindings.
However when I run the electron app, it throws an error as it is expecting electron-v1.2-win32-x64
. How do I force a build of 1.2, rather than 1.4 of the bindings? Alternatively, how do I get my electron app to use v1.4?