JamesBarwell / rpi-gpio.js

Control Raspberry Pi GPIO pins with node.js
MIT License
657 stars 116 forks source link

'Could not locate bindings file' on Electron and Webpack #75

Closed catswale closed 6 years ago

catswale commented 6 years ago

I am running a project with electron and webpack which is based on this project. However, whenever I run it, the following error appears.

Uncaught Error: Could not locate the bindings file.
Tried:
- /home/pi/build/epoll.node
- /home/pi/build/Debug/epoll.node
- /home/pi/build/Release/epoll.node
- /home/pi/out/Debug/epoll.node
...
JamesBarwell commented 6 years ago

Not sure as this looks to be an issue between epoll and Electron. Maybe this will help: https://github.com/fivdi/epoll/issues/22