title: electron sqlite3 Uncaught Error: Cannot find module
body: <p>I have built an electron app in Mac OS, when I try to export the package for windows and try to run it throws me following error:</p>
  
  <p><a href="http://i.stack.imgur.com/e9Fgd.png" rel="nofollow">Error Screenshot</a></p>
  
  <p>My app uses sqlite3, I installed sqlite using following command:</p>
  
  <p><code>npm install sqlite3 --build-from-source</code></p>
  
  <p>My <code>NODE_PATH</code> is also set to the node_modules folder, also tried following commands:</p>
  
  <pre><code>npm install --save-dev electron-rebuild
  
  # Every time you run "npm install", run this
  ./node_modules/.bin/electron-rebuild
  </code></pre>
  
  <p>But still I am not able to run sqlite3 on windows with electron</p>