Bonjour,
Il me semble qu'il y a un bug. J'avais installé homebridge après domoticz il y a quelque temps sans problème particulier.
Je fais une nouvelle carte SD et au moment d'installer homebridge j'ai maintenant ce problème :
pi@raspberrypi:~ $ sudo npm install -g unsafe-perm homebridge homebridge-config-ui-x
npm ERR! code E404
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/unsafe-perm - not_found
npm ERR! 404
npm ERR! 404 'unsafe-perm@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-08-20T20_45_32_222Z-debug.log
pourtant les versions de node et de npm ont l'air OK :
pi@raspberrypi:~ $ node -v
v12.22.5
pi@raspberrypi:~ $ npm -v
7.21.0
Les tutos et le github de homebridge indiquent pourtant cette méthode d'installation.
D'où peut venir le problème ?
Ma version de raspbian est 5.10.59-v7+ sur un pi 3+
installation homebridge ne fonctionne plus
-
Chrominator
- Messages : 1042
- Inscription : 19 déc. 2015, 07:29
- Localisation : France
Re: installation homebridge ne fonctionne plus
On dirait que tu as mal recopié la ligne d'install.
Le tuto indique deux tirets devant unsafe-perm et on en voit aucun dans ta trace.
Le tuto indique deux tirets devant unsafe-perm et on en voit aucun dans ta trace.
Un bon frein vaut mieux que deux sparadraps.
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Re: installation homebridge ne fonctionne plus
Merci Chrominator,
je ne connais pas bien la syntaxe Linux et ce -- m'avait échappé.
je pense que j'avais bien essayé initialement en copiant la ligne complète et que cela n'avait pas marché non plus.
durant l'execution j'ai plusieurs :
npm WARN deprecated class-transformer@0.3.2: This release contains a breaking change from 0.3.1 but otherwise functions properly. Please read the changelog on Github to learn more.
qui ont attiré mon attention aussi j'ai changé la version de node de 12.22.5 à 14.17.5
pi@raspberrypi:/usr/local/bin $ node -v
v14.17.5
pi@raspberrypi:/usr/local/bin $ npm -v
6.14.14
jai relancé
et ... cela a fonctionné.
pi@raspberrypi:/usr/local/bin $ sudo hb-service install --user homebridge
ℹ Installing Homebridge Service
ℹ Created service user: homebridge
ℹ Creating Homebridge directory: /var/lib/homebridge
ℹ Creating default config.json: /var/lib/homebridge/config.json
ℹ Starting Homebridge Service...
✔ Homebridge Started
✔ Homebridge Setup Complete
je ne connais pas bien la syntaxe Linux et ce -- m'avait échappé.
je pense que j'avais bien essayé initialement en copiant la ligne complète et que cela n'avait pas marché non plus.
durant l'execution j'ai plusieurs :
npm WARN deprecated class-transformer@0.3.2: This release contains a breaking change from 0.3.1 but otherwise functions properly. Please read the changelog on Github to learn more.
qui ont attiré mon attention aussi j'ai changé la version de node de 12.22.5 à 14.17.5
pi@raspberrypi:/usr/local/bin $ node -v
v14.17.5
pi@raspberrypi:/usr/local/bin $ npm -v
6.14.14
jai relancé
et ... cela a fonctionné.
pi@raspberrypi:/usr/local/bin $ sudo hb-service install --user homebridge
ℹ Installing Homebridge Service
ℹ Created service user: homebridge
ℹ Creating Homebridge directory: /var/lib/homebridge
ℹ Creating default config.json: /var/lib/homebridge/config.json
ℹ Starting Homebridge Service...
✔ Homebridge Started
✔ Homebridge Setup Complete