homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.59k stars 369 forks source link

Update from 4.55.1 to 4.56.0 fails with an error. #2032

Closed roe1974 closed 3 months ago

roe1974 commented 3 months ago

Describe The Bug

An update from 4.55.1 fails with an error (see log)

Logs

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

Config

No response

Homebridge UI Version

4.55.1

Homebridge Version

1.7.0

Node.js Version

18.20.0

Operating System

Ubuntu / Debian (or a variant)

Environment Info

Using systemd

Raspberry Pi Model

Raspberry Pi 4 B

bwp91 commented 3 months ago

Please install git on your raspberry pi using this command from the homebridge terminal:

sudo apt install git

Once this has finished, try the upgrade again

roe1974 commented 3 months ago

That was it :-) ... Thank you very much ! greetings Richard

muzzymate commented 3 months ago

Getting the same issue on a Windows install of Homebridge following instructions at URL below. Attempted to install git by running "npm install -g git" and tried "npm install git" after still receiving the same error.

Can not seem to get past this error.

npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 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

https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10

bwp91 commented 3 months ago

Getting the same issue on a Windows install of Homebridge following instructions at URL below. Attempted to install git by running "npm install -g git" and tried "npm install git" after still receiving the same error.

Can not seem to get past this error.

npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 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

https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10

For Windows install git with this method: https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Windows-10#git

muzzymate commented 3 months ago

Thank you! That did it. Didn't notice that section got added. Appreciate it!