Re: Domoticz, Homebridge et Homekit
Publié : 05 mai 2017, 09:56
Tout est installé sur un PI3, mon syno ne stocke que mes fichiers (film + backup) donc aucun lien normalement.
Reprenez le contrôle de votre domotique
https://easydomoticz.com/forum/
Code : Tout sélectionner
sudo npm install -g homebridge --unsafe-permCode : Tout sélectionner
npm ERR! Linux 4.1.19-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge" "--unsafe-perm"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! mdns@2.3.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mdns
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.
as tu essayer a tout hasard avant d'installer de réinstaller ces application en faisantMake sure you have the latest version of node.js and npm installed.
Code : Tout sélectionner
sudo apt install nodejs npmCode : Tout sélectionner
pi@raspberrypi / $ sudo apt-get install nodejs npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
nodejs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code : Tout sélectionner
suJe dirais que le package téléchargé est pourri et il faudrait le retelecharger je pense non ?If you do, this is most likely a problem with the mdns package,
Code : Tout sélectionner
sudo apt-get updateCode : Tout sélectionner
sudo apt-get upgradeCode : Tout sélectionner
sudo npm install -g --unsafe-perm homebridgeCode : Tout sélectionner
sudo npm install -g homebridge --unsafe-permCode : Tout sélectionner
pi@raspberrypi ~ $ sudo npm install -g --unsafe-perm homebridge
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/lib
âââ homebridge@0.0.0
pi@raspberrypi ~ $ sudo npm install -g --unsafe-perm homebridge-edomoticz
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
/usr/lib
âââ homebridge-edomoticz@1.0.12
Code : Tout sélectionner
sudo apt-get update
Code : Tout sélectionner
sudo apt-get upgrade