title: How to use GPIO of raspberry pi in electron App?
body: <p>I am trying to build an app for raspberry pi 3 (b) using electronJs. I am not able to use "<a href="https://www.npmjs.com/package/onoff" rel="nofollow noreferrer">onoff</a>" module of nodejs to communicate with GPIO of raspberry pi. When I import it in main process and try to run the app using <code>electron .</code> command, the command exits with no error info. Can anyone please suggest how to use GPIO of raspberry pi3 in electron App.</p>
  
  <p>Also if its not possible with electronJs then please suggest how can I implement a GUI app for raspberry pi which can use GPIO.</p>
  
  <p>Sample repo of same <a href="https://github.com/AkshayKanchan/electron_gpio" rel="nofollow noreferrer">https://github.com/AkshayKanchan/electron_gpio</a></p>