jptaranto / homebridge-roon-outputs

Apache License 2.0
11 stars 2 forks source link

Cant install this extension on homebridge docker #13

Open Fletcher-Alderton opened 1 year ago

Fletcher-Alderton commented 1 year ago

when i go to install this extension i get the error. npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/RoonLabs/node-roon-api.git npm ERR! git@github.com: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

jptaranto commented 1 year ago

The issue affects homebridge docker users, and it can be fixed by added a Dockerfile. Create one next to your docker-compose.yml file with this inside it:

FROM oznu/homebridge

RUN npm config set cache /homebridge/.npm --location=global
RUN git config --global url."https://".insteadOf ssh://