Comments (5)
An update on this issue. I tried to identify if it could be fixed using latest node 20.x version, homebridge 1.7.0 or earlier versions of homebridge-ui. This only setting that avoid this situation is the Insecure mode. As soon as Insecure mode is disabled in Homebrige (no longer allowing accessory control) npm updates fail and homebridge restart never ends.
from homebridge-config-ui-x.
There's definitely an issue between Homebridge 1.8.0 and Node 20.12.2. Simply install both of them on a vanilla Raspberry (Debian GNU/Linux Bookworm 12) and restart the Raspberry. You'll see that it no longer starts.
ERROR: npm v10.5.0 is known not to run on Node.js v20.12.2. This version of npm supports the following node versions: ^18.17.0 || >=20.5.0. You can find the latest version at https://nodejs.org/.
from homebridge-config-ui-x.
Hi @jtasoftware
i'm afraid i haven't been able to reproduce this on my pi with HB 1.8.0, node 20.12.2 and turning off insecure mode.
have you tried a node reinstall/rebuild with
sudo hb-service update-node 20.12.2
if it skips because the version is already installed, you could try
sudo hb-service update-node 20.12.1
then
sudo hb-service update-node 20.12.2
from homebridge-config-ui-x.
I didn’t find any workaround so far (reinstalling homebridge, turning insecure, etc). Only rebuilding the Pi did fix.
My findings are:
- If I run secure mode using homebridge 1.8.0 I get the missing npm.cli error with both npm 20.12 and 18.19.
- If I update to 20.12.2 I get installation errors at the first homebridge update and the service will no longer restart.
- Homebridge logs (posted previously) mention a compatibility issue between npm 10.5 and node.js 20.12.2
- One of my older pi using previous version of Rasbian do not have this issue.
I will try again more tests.
Did you tested using latest Homebridge for Raspberry 64 bit image (2024.01.08) ?
from homebridge-config-ui-x.
Hi an update on this issue: I rebuilt the Pi using a different SDCard (premium brand) and all instabilities disappeared.
No more problems or error messages while turning off the Insecure Mode.
No more errors messages after upgrading to node 20.12.2 (compatibility warning are still there but do not seem to be a problem).
from homebridge-config-ui-x.
Related Issues (20)
- Operation failed with code 243 HOT 3
- Can‘t Update Node - Download Error HOT 7
- Cannot install package because of node-gyp-build error HOT 4
- Update from 4.55.1 to 4.56.0 fails with an error. HOT 5
- npm ERR! errno -4058 HOT 2
- Homebridge still loading at UI HOT 4
- Delay at the measurements of ram and cpu HOT 3
- Can‘t Update Node - Download Error #2029 HOT 2
- [Homebridge UI] Backup is skipping "storage/core" because it is larger than 10MB. HOT 5
- Homebridge was running smoothly for many months, now the accessories Tab is empty. HOT 4
- Persistence of Swagger tokens? HOT 11
- Homebridge status stays starting HOT 2
- Accessoires from homebridge not responding in apple homekit HOT 8
- Homebridge v1.8.0 broke connectivity to homekit HOT 3
- Homebridge v1.8.0 fails to install because of unknown git error HOT 1
- Homebridge accessoires not responding in apple homekit HOT 1
- no child bridge govee HOT 9
- becomes unreachable after restore from back up
- Update package.json for node-pty-prebuilt-multiarch for NodeJS 22 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-config-ui-x.