andig / homebridge-fritz

Homebridge platform for Fritz!Box router and supported DECT devices
MIT License
74 stars 22 forks source link

Does not install on homebridge v1.5.0 #174

Open elvirusDE opened 1 year ago

elvirusDE commented 1 year ago

This awesome plugin cannot be installed on v1.5.0. I am very sad because I used to love this thing...

npm install error:

> underscore@1.13.5 postinstall
> patch-package

sh: 1: patch-package: not found
npm ERR! code 127
npm ERR! path /var/lib/homebridge/node_modules/homebridge-fritz/node_modules/underscore
npm ERR! command failed
npm ERR! command sh -c patch-package

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2022-09-23T20_09_19_973Z-debug-0.log

Operation failed. Please review log for details.
elvirusDE commented 1 year ago

Could install it by installing manually "patch-package" first.

  1. Open the three-dot menu in the upper right corner of homebridge ui
  2. choose terminal
  3. npm install -g patch-package
  4. Got to plugins and install homebridge-fritz again