title: Electron ERROR Error: Cannot find module 'mysql' Require stack:
body: <p>My Electron app uses a nodejs dependency (in my case it's mysqljs) and it works fine when running on development mode.</p>
  
  <p>However when I build it and launch as a native desktop app, it fails with:</p>
  
  <blockquote>
    <p>Electron ERROR Error: Cannot find module 'mysql' Require stack: ...</p>
  </blockquote>