Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onoff/epoll compile fails with Node 10 #19

Open
jdtsmith opened this issue Aug 20, 2018 · 7 comments
Open

onoff/epoll compile fails with Node 10 #19

jdtsmith opened this issue Aug 20, 2018 · 7 comments

Comments

@jdtsmith
Copy link

The fixed version of onoff specified by this module, and hence epoll, includes a nan module that uses a deprecated v8::Object::ForceSet method, which breaks install:

../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
@bluephlame
Copy link

I got this working with some changes see pull request #22

@simonrb2000
Copy link

simonrb2000 commented Mar 1, 2020

Sorry for being dumb; how can I install the fixed version if it hasn't been merged? I had to upgrade node to get another plugin working and now this one wont install. Eeeek Please help :) Thank you

@simonrb2000
Copy link

npm i @bluephlame/homebridge-gpio-garagedoor

@simonrb2000
Copy link

Tried above and this:-

npm I -g @bluephlame/homebridge-gpio-garagedoor

Yet I still get Error: The requested accessory 'GPIOGarageDoor' was not registered by any plugin.

Any ideas?

@simonrb2000
Copy link

pi@raspberrypi:~ $ npm install -g @bluephlame/homebridge-gpio-garagedoor

But its not in the in the usr/lib/node_modules for some reason?

@simonrb2000
Copy link

I can not install this at all. It adds it to the Nodes_Modules folder under @bluephlame folder. Then when I run homebridge it states the plugin isn't registered anywhere. Any help would be much appreciated.

At a loss of where to go now. I did download to Nodesjs 8x just to get it to install

@daniel2029
Copy link

pi@raspberrypi:~ $ npm install -g @bluephlame/homebridge-gpio-garagedoor

But its not in the in the usr/lib/node_modules for some reason?

thank you so much @bluephlame it solved my issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants