lprhodes / homebridge-broadlink-rm

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

Cannot intall via NPM on Raspberry PI #682

Closed ben-callaway closed 4 years ago

ben-callaway commented 4 years ago

Getting this error:

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.

After running:

sudo -E -n npm install homebridge-broadlink-rm@latest

ben-callaway commented 4 years ago

Resolved, you need git installed first: https://linuxize.com/post/how-to-install-git-on-raspberry-pi/