KraigM / homebridge-gpio-garagedoor

RPi GPIO based Garage Door plugin for Homebridge
22 stars 11 forks source link

Install fails with epoll error #23

Closed backpacked closed 4 years ago

backpacked commented 4 years ago

gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.118+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/homebridge-gpio-garagedoor/node_modules/epoll gyp ERR! node -v v10.21.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! epoll@0.1.22 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the epoll@0.1.22 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/homebridge/.npm/_logs/2020-07-19T19_54_00_619Z-debug.log

daniel2029 commented 4 years ago

same issue so annoying, anyone have a fix

daniel2029 commented 4 years ago

refer to #19 it solved my issue

backpacked commented 4 years ago

Will try this and maybe pull @bluephlame's code in my fork.