title: Electron i32 app cant find sqlite3 module
body: <p>I have Electron App with <a href="https://www.npmjs.com/package/electron-sqlite3" rel="nofollow noreferrer">electron-sqlite3 dependency</a> when I'm exporting it to exe using <code>electron-packager</code>
  the x64  version working fine.</p>
  
  <pre><code>electron-packager .  app64  --platform=win32 --arch=x64
  electron-packager .  app32  --platform=win32 --arch=ia32
  </code></pre>
  
  <p>but the i32 version throw this error message when running the app.</p>
  
  <pre><code> Uncaught Error: Cannot find module 
  'C:\myApp\myapp-win32-ia32\resources\app\node_modules\sqlite3\lib\binding\electron-v4.0-win32-ia32\node_sqlite3.node'
  </code></pre>
  
  <p>I already tried the suggested solution .<a href="https://stackoverflow.com/questions/38716594/electron-app-cant-find-sqlite3-module">in this thread</a> and other thread</p>
  
  <p>in one of the threads found this <a href="https://stackoverflow.com/a/41207052/2090426">ANSWER</a>  talking about using native node modue is the issue.</p>
  
  <p>How can I fix my app to run on both x64 and x32</p>
  
  <hr>
  
  <p>After more digging I think it is npm related issue because node_modules directory only has x64 version of the module since my current os is 64
  and this Dir is empty</p>
  
  <pre><code>node_modules\sqlite3\lib\binding\electron-v4.0-win32-ia32
  </code></pre>