ToddGreenfield / homebridge-onkyo

Homebridge module for Onkyo Receivers
ISC License
39 stars 24 forks source link

Plugin won't install #46

Closed mark125431 closed 4 years ago

mark125431 commented 4 years ago

Hi

Every time i try to install this plugin i get the below errors :( Any help would be much appreciated.

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t git://github.com/tillbaks/node-eiscp.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

solowalker27 commented 4 years ago

Can you share the command you’re using to try to install?

mark125431 commented 4 years ago

Hi

I’m using HOOBS and searching for the plugin and then pressing install.

I have also tried the below command from the terminal screen in HOOBS

Sudo npm install -g homebridge-onkyo

Sent from my iPhone

On 25 Feb 2020, at 22:14, solowalker27 notifications@github.com wrote:

 Can you share the command you’re using to try to install?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cbrandlehner commented 4 years ago

@mark125431
Although request was listed as a dependency in package.json, the code does not use the request library. I am going to remove this.

mark125431 commented 4 years ago

Thanks @cbrandlehner

I’ve just run it again but still get the below errors. 😢 any help would be amazing

npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t git://github.com/tillbaks/node-eiscp.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

cbrandlehner commented 4 years ago

try installing "git" on your platform. Depending on OS it might be by using

apt-get install git
yum install git

or similar.

mark125431 commented 4 years ago

Perfect. Thanks All installed now. However it isn’t picking up the “TV”. Input. Any ideas ? I have it set as model TX-NR609. But my unit is a pioneer vsx-831 using the onkyo protocol

cbrandlehner commented 4 years ago

Please open a new issue and close this one. :-)

Sent with GitHawk