Been trying to use GPIO from electron with an RPI. However, as I am asking this, I was unable to do it. So I wanted to know if there was any way to archive this.
Tried using 'onoff' with electron-rebuild. However got same error as if I didn't have done the './node_modules/.bin/electron-rebuild'