Open Jamyz opened 1 year ago
Hello,
I have a similar issue :
homebridge@homebridge:/var/lib/homebridge $ hb-service add homebridge-synology CMD: npm --prefix "/var/lib/homebridge" add homebridge-synology@latest npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -2 npm ERR! enoent An unknown git error occurred 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! /home/homebridge/.npm/_logs/2023-05-18T10_59_14_857Z-debug-0.log ✖ Plugin installation failed.
I'm running Homebridge on a LXC container on Proxmox.
OS | Debian GNU/Linux Bullseye (11) Node.js : v18.16.0
Here is the log file :
2023-05-18T10_59_14_857Z-debug-0.log
Many thanks for the help.
I did some test, I'm able to install the plugin until the 3.1 👍
After the 4.0 beta and 4.0 final, I can't update.
If that can help.
Same issue here on a raspberry pi 4 with homebridge installed as homebridge-service.
Guys you have to install Git to fix the issue.
Instructions: https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Install-git
Describe The Bug: Cant install
To Reproduce: Install Package homebridge-synology
Expected behavior: Works without bug
Logs:
/home/homebridge/.npm/_logs/2023-05-01T10_19_16_852Z-debug-0.log
Environment: Docker
I try
hb-service add homebridge-synology
in bash container without succes