lprhodes / homebridge-broadlink-rm

Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
571 stars 285 forks source link

Hoobs error "spawn git ENOENT" #667

Open Jirka-Sirka opened 4 years ago

Jirka-Sirka commented 4 years ago

Hello, I started installing plugin into HOOBS (RPi3). Instalation ends with error "spawn git ENOENT"

Configuration: Raspbian GNU/Linux Buster (10) node.js: v12.16.2 npm: v6.14.4 Homebridge: v1.1.1

Do you know solution for this problem? Thanks a lot!


hoobs@hoobs:/var/lib/homebridge $ sudo -E -n npm install homebridge-broadlink-rm@latest npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/lprhodes/homebridge-platform-helper.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/hoobs/.npm/_logs/2020-07-17T10_26_30_539Z-debug.log


bpelech commented 4 years ago

Same here on both homebridge and hoobs jails plugins on freenas. Exactly the same errors.

FreeNAS-11.3-U3.1 Plugin: homebridge (from community collection) Homebridge version: 1.1.1. Npm inside homebridge jails: 6.12.1 Node.js version inside homebridge jails: 14.4.0

Screenshot from homebridge plugin/jails:

Homebridge
kiddmj commented 4 years ago

I had the exact same error. It was caused by git not being installed on my machine, try: sudo apt install git