-
Notifications
You must be signed in to change notification settings - Fork 36
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
homebridge-zigbee needs to be updated for Node v12 #52
Comments
HOOBS runs on Node 12. I have a user that can't install the plugin. Here is the log output.
It looks like one of your deps is causing the issue [email protected]. There is a new version available 8.0.5, this seems to work in Node LTS. |
Upgrading serialport to 8.0.5 fixes the problem. |
I contacted the maintainer. He is a bit busy but will look at the problem next week. So i think he will contact us here 😉 |
I have the same problem too |
I have the same problem. Did you find any other solution besides waiting for fixed version? I tried to upgrade to serialport 8.0.6. However, that did not solve the problem I installed serialport 8.0.6 and got this messages:
Now I don't know whether it has been installed successfully? Can you give me any hints? |
I‘m still waiting for the update 😉 |
You can downgrade Node to 10.17.0. It installs in this version. |
@mkellsy But this time the homebridge config ui x wont work. |
That‘s not a solution if you use systems like Hoobs or a ready to go homebridge image. The only right way is to actualize the plugin. |
UI-X runs in 10.17.0, you need to uninstall it then reinstall it after you change the Node version.
Then
|
I make the HOOBS img file, and as of 3.1.9 we are using 10.17.0, because many plugins don't support Node 12 yet. |
For those, who installed Hoobs 3 with Node 12, what is the best way to downgrade? |
We have a script for that.
|
Then i will test the downgrade after holidays. |
@mkellsy the downgrade unfortunately broke my HOOBS installation. It's not booting anymore.
|
Run it again. I added the -k flag to the curl command that downloads Node |
Thanks, it worked! :) |
Yes, Finally managed to make it work. However, my bulb was not a supperted device :( |
So, one day before christmas the maintainer release a new npm plugin: zigbee v2 |
@jonnycastaway nice 👍🏻 Which Zigbee adapter do you use? |
Is it updatable via Homebridge GUI? Or manual installation? |
https://www.npmjs.com/package/homebridge-zigbee-v2 has the same error for me :( |
I switched to RaspBee and homebridge-hue in combination with HOOBS. |
Issue still exists, look like the installation fails on serialport install script. Tried on Node 12.14.1 and 10.17.0 /tmp/.node-gyp/12.14.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo ::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo ::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’: |
[email protected] is way behind. latest release 8.0.6 atm |
Any News for this? I use hoobs and today I bought a Zigbee Stick to integrate my Aqara things. But first we need a working plugin :) |
I updated serialport to v9.0.0 and still getting the same error. |
Hello,
Looks like homebridge-zigbee plugin needs to be updated for Nove v12, as it causes errors after installation on docker-homebridge with Node v12.
Details:
homebridge/docker-homebridge#250
The text was updated successfully, but these errors were encountered: