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

Homebridge #592

Open stolek5 opened 4 years ago

stolek5 commented 4 years ago

Hello!

First of all - thanks a lot for this plugin!

I've tried to update the Broadlink Rm plugin from version 3.5.5 on HOOBS, homebridge platform to the news version 3.6.22, but there was an error. Then I decided to uninstall and install it again. Unfortunately, now I cannot install this plugin due to the below errors:

` [Homebridge] [4/5/2020, 20:45:53] Got SIGINT, shutting down service... 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 `

regards, Mario

Spanishu commented 4 years ago

same here

Faisalthe01 commented 4 years ago

same here

Faisalthe01 commented 4 years ago

C:\Users\Faisal>npm i homebridge-broadlink-rm 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! C:\Users\Faisal\AppData\Roaming\npm-cache_logs\2020-04-08T03_12_54_149Z-debug.log

Spanishu commented 4 years ago

I did some research and found that in my case the problem was that I did not have "git" installed. Take a look for your platfform and install git. Should solve it!

Faisalthe01 commented 4 years ago

So just a matter of installing Git application?

aferro17 commented 4 years ago

Hi, I found other issues closed by other users few weeks ago about the same errors. I have that too, i installed git desktop gui so that the git cli is available to powershell and cmd but when i try to install the plugin again it give the same error.

Do you think that I should perform some npm cache clearing or stuff like that?