NorthernMan54 / homebridge-yamaha-home

Homebridge plugin for my Yamaha Receiver optimized for use with the Home App and Alexa
26 stars 9 forks source link

Access denied ? #14

Closed Partizan7676 closed 6 years ago

Partizan7676 commented 6 years ago

While try to install get error in logs: 39 verbose stack Error: Command failed: /usr/bin/git clone -q git://github.com/NorthernMan54/yamaha-nodejs.git /home/pi/.npm/_cacache/tmp/git-clone-c5e105f1 39 verbose stack /home/pi/.npm/_cacache/tmp/git-clone-c5e105f1/.git: Access denied

Any suggestions ?

NorthernMan54 commented 6 years ago

Sound like a permission issue, have you tried installing with sudo?

Partizan7676 commented 6 years ago

of course, and with unsafe-perm too. there something wrong with installation script which is try to clone git to folder root(i don,t have it). but other plugins from github or npmjs is installing correctly without any errors. BTW Will my reciever RX-A810 work with that plugin?

NorthernMan54 commented 6 years ago

I’m stumped as install is something that is not part of the plugin itself, but part of npm.

If your receiver uses the Yamaha av controller app, then it should work. The plugin mimics the app’s interface

Partizan7676 commented 6 years ago

So I install it. Only annotation about installation must be announced. User root must be enabled and installation can be done only under user root, sudo is not working