title: Error: Could not locate the bindings file. Tried:
body: <p>I ran into the following error while trying to run my electron app that contains my express app.</p>
  
  <pre><code>Error: Could not locate the bindings file. Tried:
  </code></pre>
  
  <p>I think the issue has to do with <code>serialport</code> module, for without it being required everything works fine.</p>
  
  <pre><code>C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\bindings\bindings.js:91
  
  &lt;br&gt;Error: Could not locate the bindings file. Tried:
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\build\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\build\Debug\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\build\Release\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\out\Debug\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\Debug\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\out\Release\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\Release\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\build\default\serialport.node
  &lt;br&gt; → C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\compiled\6.3.1\win32\ia32\serialport.node
  &lt;br&gt;    at bindings (C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\bindings\bindings.js:88:9)
  &lt;br&gt;    at Object.&lt;anonymous&gt; (C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\lib\bindings.js:3:35)
  &lt;br&gt;&lt;/anonymous&gt;    at Module._compile (module.js:541:32)
  &lt;br&gt;    at Object.Module._extensions..js (module.js:550:10)
  &lt;br&gt;    at Module.load (module.js:458:32)
  &lt;br&gt;    at tryModuleLoad (module.js:417:12)
  &lt;br&gt;    at Function.Module._load (module.js:409:3)
  &lt;br&gt;    at Module.require (module.js:468:17)
  &lt;br&gt;    at require (internal/module.js:20:19)
  &lt;br&gt;    at Object.&lt;anonymous&gt; (C:\Users\Jonathan\Desktop\client\&lt;NAME&gt;\electron-with-express\express-app\node_modules\serialport\lib\serialport.js:15:25)
  </code></pre>