Open Bankaifan opened 6 years ago
I have the same problem. Is there any solution?
I have no idea, I'm using node 11.6 in my home. Is there a compelling reason why this software needs to support such outdated versions of node js?
I tried with 10 and 11 and that error is appearing on both.
I recently setup a test installation to see if i could reproduce this, aside from my regular home setup, and i'm not seeing it. Can you provide more information about your setups?
It's a fresh install on debian 9. Only homebridge + requirements + node are installed.
It seems as if this error is only appearing if the homebridge directories "accessories" and "persist" are EMPTY at startup of homebridge with a newer NodeJS version. I can't say which file or entry makes that problem. Maybe that helps you to find?
Is it required, that additionally miio is installed? https://www.npmjs.com/package/miio
It's absolutely required - it's an npm dependancy, so if you installed homebridge-miio via npm, it will have installed miio along with it.
I installed now by that command: npm install -g --unsafe-perm homebridge-miio How can I check if miio is really installed?
This is still a major issue -- totally kills my raspberry pi's logs. Avoid this and all packages dependent on it.
i have the same problem but that wasn't the case with pi3. now I'm on a pi4 with node -v v12.16.1
and npm -v 6.14.1
I meet the same issue. I'm using: pi4 node v14.17.5 npm v6.14.14
After Upgrading to 9.10.0 I had to remove Homebridge-miio since it wrote this message ever millisecond to the log (node:8662) TimeoutOverflowWarning: Infinity does not fit into a 32-bit signed integer. Timeout duration was set to 1.