title: Electron build for windows shows sqlite3 error. But same build for Ubuntu Works
body: <p><a href="https://i.stack.imgur.com/4zlZh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4zlZh.png" alt="enter image description here"></a></p>
  
  <p>Packed using: Electron-Packager</p>
  
  <p>Database: sqlite</p>
  
  <p>The app uses Knex as a driver to query to mysqlite.</p>
  
  <p>The module which it says that it cannot find is already present! But then too the error shows up.</p>
  
  <p>I tried to navigate to the resource/app and then use commands like </p>
  
  <blockquote>
    <p>npm run rebuild</p>
  </blockquote>
  
  <p>tried installing python, node and then tried but seems like it required some CL.exe file so had to dowload Visual Studio C++ packages too but unfortunately it didn't have that file in my case.</p>
  
  <p>Also tried</p>
  
  <blockquote>
    <p>npm install sqlite3 --build-from-source
    but got error</p>
  </blockquote>
  
  <p>Can anyone help me with the exact steps to take? I also need help in knowing do i have to take this steps on the package that is already build or before i build it?</p>