Homebridge not working
### Current Situation

Hi Ive been trying to get home bridge to work, but I've been having some issues. I keep getting the same error message and it says Homebridge isn't connected.

### Logs

```markdown
[27/01/2022, 12:54:50] [HB Supervisor] OS: Linux 5.10.63-v7+ arm
[27/01/2022, 12:54:50] [HB Supervisor] Node.js v16.13.2 /usr/local/bin/node
[Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/homebridge/package.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/usr/local/lib/node_modules/homebridge/package.json'
}
TypeError: Cannot read properties of undefined (reading 'bin')
    at HomebridgeServiceHelper.findHomebridgePath (/usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js:375:87)
    at async HomebridgeServiceHelper.launch (/usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js:233:37)
[27/01/2022, 12:54:55] [HB Supervisor] Homebridge Path: null
[27/01/2022, 12:54:55] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[27/01/2022, 12:55:38] [Homebridge UI] Homebridge Config UI X v4.42.0 is listening on :: port 8581
[27/01/2022, 12:55:40] [HB Supervisor] Could not find Homebridge. Make sure you have installed homebridge using the -g flag then restart.
[27/01/2022, 12:55:40] [HB Supervisor] npm install -g --unsafe-perm homebridge
```


### Configuration

```json
.
```


### Environment

- OS: Raspbian GNU/Linux Bullseye (11)
- Software:
- Node: v16.13.2
- npm: v8.3.1


### Process Supervisor

not applicable

### Additional Context

I'm not very familiar with all this stuff. I tried following the steps on the Wiki!