Cannot install, update, or uninstall anything.  Service works fine though.
### Current Situation

Sorry if this winds up being a noob issue.  I have tried all kinds of things.  Rollbacks, updates, restarts, from UI, from SSH, from terminal.  To no avail.  The service is working just fine, but I cannot update, install, or uninstall anything without this same message after it works for a bit.

Thoughts?  I am loosing my mind over here!

### Logs

```markdown
pi@homebridge:/var/lib/homebridge $ npm i homebridge@2.0.0-beta.0
npm ERR! Cannot read properties of null (reading 'isDescendantOf')

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2023-03-06T03_30_41_560Z-debug-0.log
pi@homebridge:/var/lib/homebridge $
```


### Configuration

```json
{
    "bridge": {
        "advertiser": "ciao",
        "pin": "439-14-xxx",
        "name": "Homebridge CA73",
        "port": 51637,
        "username": "0E:92:xxxxx:73",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [
        {
            "name": "Projector",
            "ipAddress": "192.168.5.248",
            "model": "5140UB",
            "timeout": 10000,
            "refreshInterval": 15,
            "debug": false,
            "accessory": "Epson Projector"
        },
        {
            "accessory": "HyperionControl",
            "name": "Basement TV Backlight",
            "url": "http://192.168.6.112",
            "port": 8099
        },
        {
            "name": "Downstairs Bath Fan Timer",
            "delay": 720000,
            "sensorType": "motion",
            "flipSensorState": false,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Fake Garage Switch",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "random": false,
            "resettable": false,
            "disableLogging": false,
            "_bridge": {
                "username": "0E:7D:D9:1A:66:84",
                "port": 32612
            },
            "accessory": "DummySwitch"
        },
        {
            "name": "Basement Can Lights Auto-Off Trigger 1 Minute",
            "stateful": false,
            "reverse": false,
            "time": 60000,
            "random": false,
            "resettable": true,
            "disableLogging": true,
            "accessory": "DummySwitch"
        },
        {
            "name": "Upstairs Bath Fan Timer",
            "delay": 720000,
            "disableSensor": false,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Master Bath Fan Timer",
            "delay": 720000,
            "disableSensor": false,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Fan 1 Off 40 min",
            "delay": 1800000,
            "disableSensor": true,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Fan 2 Off 40 min",
            "delay": 1800000,
            "disableSensor": true,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Fan 3 Off 40 min",
            "delay": 1800000,
            "disableSensor": true,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "accessory": "DS18B20",
            "name": "Pool Water Temperature",
            "device": "28-3c01d60725f6"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.89/win&PL=8",
            "status_url": "",
            "name": "Office WLED Android"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.89/win&PL=11",
            "status_url": "",
            "name": "Office WLED Rain Runner"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.89/win&PL=7",
            "status_url": "",
            "name": "Office WLED Ripple"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.216/win&PL=1",
            "status_url": "",
            "name": "Family Room WLED Blue"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.217/win&PL=5",
            "status_url": "",
            "name": "Pergola Night Light"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.21/win&PL=3",
            "status_url": "",
            "name": "Kitchen WLED Sunrise"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.21/win&PL=2",
            "status_url": "",
            "name": "Kitchen WLED Nightlight"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.21/win&PL=1",
            "status_url": "",
            "name": "Kitchen WLED Night"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.21/win&PL=4",
            "status_url": "",
            "name": "Kitchen WLED White"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.228/win&PL=3",
            "status_url": "",
            "name": "Traffic WLED Red"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.228/win&PL=9",
            "status_url": "",
            "name": "Traffic WLED White"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.228/win&PL=8",
            "status_url": "",
            "name": "Traffic WLED Pink"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.228/win&PL=7",
            "status_url": "",
            "name": "Traffic WLED Blue"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.228/win&PL=6",
            "status_url": "",
            "name": "Traffic WLED Normal"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.89/win&PL=15",
            "status_url": "",
            "name": "Office Flow"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.227/win&PL=4",
            "status_url": "",
            "name": "Coffee Table Hypnotic"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.133/win&PL=1",
            "status_url": "",
            "name": "Sam Minecraft Torch"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.6.136/win&PL=4",
            "status_url": "",
            "name": "Basement Ceiling Blue"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.6.136/win&PL=3",
            "status_url": "",
            "name": "Basement Ceiling Red"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.6.136/win&PL=5",
            "status_url": "",
            "name": "Basement Ceiling Colorful"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.6.185/win&PL=4",
            "status_url": "",
            "name": "Basement Stairs Down"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.6.185/win&PL=1",
            "status_url": "",
            "name": "Basement Stairs Bathroom"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.10/win&PL=1",
            "status_url": "",
            "name": "Basement Wall Red"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.10/win&PL=3",
            "status_url": "",
            "name": "Basement Wall Blue"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.10/win&PL=2",
            "status_url": "",
            "name": "Basement Wall Colorful"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.211/win&PL=1",
            "status_url": "",
            "name": "Matrix Kristin Home"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.211/win&PL=2",
            "status_url": "",
            "name": "Matrix Mail"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.211/win&PL=3",
            "status_url": "",
            "name": "Matrix Front Door"
        },
        {
            "accessory": "httpSwitchWebhook",
            "set_on_url": "http://192.168.7.211/win&PL=6",
            "status_url": "",
            "name": "Matrix Weather"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "red",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Meross",
            "username": "shaunrobxxxxxxl.com",
            "password": "xxxxxxx",
            "disableDeviceLogging": true,
            "lightDevices": [
                {
                    "name": "Master Toilet HK",
                    "serialNumber": "2101153456207355853148e1e946736a",
                    "ignoreDevice": true
                }
            ],
            "_bridge": {
                "username": "0E:A7:BF:6C:95:58",
                "port": 35983
            },
            "platform": "Meross"
        },
        {
            "buslog": "off",
            "servers": [
                {
                    "switches": [
                        {
                            "pico": [
                                4
                            ],
                            "name": "Garage Entry Pico 4 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                5
                            ],
                            "name": "Master Bedroom Pico 5 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                6
                            ],
                            "name": "Master Bedroom Pico 6 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                7
                            ],
                            "name": "Audio Pico 7",
                            "type": "PJ2-3BRL"
                        },
                        {
                            "pico": [
                                8
                            ],
                            "name": "Audio Pico 8",
                            "type": "PJ2-3BRL"
                        },
                        {
                            "pico": [
                                9
                            ],
                            "name": "Office Pico 9 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                10
                            ],
                            "name": "Office Pico 10 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                12
                            ],
                            "name": "Sam's Bedroom Pico 12 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                13
                            ],
                            "name": "Family Room Pico 13 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                14
                            ],
                            "name": "Basement Pico 14 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                15
                            ],
                            "name": "Basement Pico 15 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                17
                            ],
                            "name": "Dining room Pico 17 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                18
                            ],
                            "name": "Dining Room Pico 18 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                19
                            ],
                            "name": "Playroom Pico 19 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                20
                            ],
                            "name": "Pergola Pico 20 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                22
                            ],
                            "name": "Garage Pico 22 B4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                23
                            ],
                            "name": "Garage Pico 23 B4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                24
                            ],
                            "name": "Kitchen Pico 24 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                25
                            ],
                            "name": "Open Pico 25 2B",
                            "type": "PJ2-2B"
                        },
                        {
                            "pico": [
                                26
                            ],
                            "name": "Basement Pico 26 4B",
                            "type": "PJ2-4B-XXX-L31"
                        },
                        {
                            "pico": [
                                27
                            ],
                            "name": "Office Fan Pico 27 5B",
                            "type": "PJ2-3BRL"
                        },
                        {
                            "pico": [
                                28
                            ],
                            "name": "Pico 28 3B",
                            "type": "PJ2-3B"
                        },
                        {
                            "pico": [
                                29
                            ],
                            "name": "Pico 29 3B",
                            "type": "PJ2-3B"
                        },
                        {
                            "pico": [
                                30
                            ],
                            "name": "Pico 30 3B",
                            "type": "PJ2-3B"
                        },
                        {
                            "pico": [
                                32
                            ],
                            "name": "Pico 32 3B",
                            "type": "PJ2-3B"
                        },
                        {
                            "pico": [
                                33
                            ],
                            "name": "Pico 33 3B",
                            "type": "PJ2-3B"
                        }
                    ],
                    "host": "192.168.4.143",
                    "port": 23
                }
            ],
            "longname": true,
            "_bridge": {
                "username": "0E:FB:50:B5:E5:B3",
                "port": 36265
            },
            "platform": "Pico"
        },
        {
            "refreshToken": "eyJhbGciOiJSxxxxxxxxxxxxxxxxxxxxxxxxxxiOiJfYmE0S1RzNW9tIiwic2Vzc2lvbl9pZCI6ImIwNjNiNGIyLTI5NmQtNDhkYS05Mjg5LTNmNzY2NTk1OTQyYiIsInR5cGUiOiJyZWZyZXNoLXRva2VuIn0.rJfYSBMSm-PRWt0OWZRdgCZp-cH4K8TqnAPIaAZWxNKnfp972pvs95IJMQbxQRVzNSoVpJmu81yhf35bN3j0C4r6iu2mY-bUOkt4SmbC-D12m2cadTgIyVC7QlekboUh7EETzYlhb8ame6U92hyOy7MAkiTP1W93GDq0MBtddmP5L0BUaltbQ9EDuFwgZtLnDbbIrGnr3Qy_pPIyUXmwW-fko4yA0_MdJHd1WmM_99l36QcS2VwLLt4CxmPCqDGM1jqZze463v1XzawWSm3v18NYnFJ03l_r3_DauRfUUzIzxOb9DtNIqOvrRWaK03e7kVB-T8a2X9EWd9gIL8EFOQ",
            "hideLightGroups": false,
            "hideDoorbellSwitch": false,
            "hideCameraLight": false,
            "hideCameraSirenSwitch": false,
            "hideAlarmSirenSwitch": false,
            "avoidSnapshotBatteryDrain": false,
            "_bridge": {
                "username": "0E:78:B6:2A:12:B5",
                "port": 31658
            },
            "platform": "Ring"
        },
        {
            "platform": "WLED",
            "wleds": [
                {
                    "host": "192.168.7.211",
                    "log": false,
                    "name": "Office Matrix"
                },
                {
                    "host": "192.168.7.9",
                    "log": false,
                    "name": "Sam Xbox Light"
                },
                {
                    "host": "192.168.7.10",
                    "log": false,
                    "name": "Basement Wall SR"
                },
                {
                    "host": "192.168.7.8",
                    "log": false,
                    "name": "Sam Traffic Light"
                },
                {
                    "host": "192.168.7.141",
                    "log": false,
                    "name": "Sam Room Floor"
                },
                {
                    "host": "192.168.7.133",
                    "log": false,
                    "name": "Sam Room Torch"
                },
                {
                    "host": "192.168.7.21",
                    "log": false,
                    "name": "Kitchen WLED"
                },
                {
                    "host": "192.168.7.227",
                    "log": false,
                    "name": "Office Coffee Table"
                },
                {
                    "host": "192.168.7.37",
                    "log": false,
                    "name": "Office Shelves WLED"
                },
                {
                    "host": "192.168.7.217",
                    "log": false,
                    "name": "Pergola LED"
                },
                {
                    "name": "Basement Stairs WLED",
                    "host": "192.168.6.185",
                    "log": false
                },
                {
                    "host": "192.168.6.136",
                    "log": false,
                    "name": "Basement Ceiling WLED"
                },
                {
                    "name": "Office WLED",
                    "host": "192.168.7.89",
                    "log": false
                },
                {
                    "name": "Family Room LED",
                    "host": "192.168.7.216",
                    "log": false
                },
                {
                    "name": "Traffic Light WLED",
                    "host": "192.168.7.228",
                    "log": false
                }
            ],
            "_bridge": {
                "port": 56649,
                "username": "0E:53:07:B9:A8:95"
            }
        },
        {
            "name": "Nest",
            "googleAuth": {
                "issueToken": "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token id_token&login_hint=xxxxxxxu-SMCQLMJfOUep6S7tCeWfuxxxxxxxxxxxxxxxxxxxx9lrq.apps.googleusercontent.com&origin=https://home.nest.com&scope=openid profile email https://www.googleapis.com/auth/nest-account&ss_domain=https://home.nest.com&include_granted_scopes=true",
                "cookies": "__Secure-3PSID=MQiAkbism1J6dfne7EMfU5pFXgjAUIHFAKmbfNsGxxxxxxxxxxxxxxxUBl4sEu_z_Zo; NID=511=dmkuUSkFPpbwlECKvrpzQkaqNZ3vwbayl-auPqvHhIhVGwib8S0TFR5VdE2JSx5ttbg6Rd7jkE5IpuZABl9jlDWNtDGXu81UG0-4LgC3_X2zD1JdLUU8MMGYj0rYlIwzF7pX845rBGJVLahhnJSu-6QRHdRnhnF0sYeS4hkHEgSuSrf0Ohfh4fZcrLOc6Kpg7R7HB5s; __Host-3PLSID=s.youtube:MQiAkT6oxxxxxxxxxxxxxxxy8Gral36mwKNTUntwVFUZuIcFZDkf5ZF5Ftw"
            },
            "options": [
                "Thermostat.Fan.Disable",
                "Thermostat.Eco.Disable",
                "HomeAway.Disable",
                "Protect.MotionSensor.Disable"
            ],
            "_bridge": {
                "username": "0E:39:26:82:42:D0",
                "port": 58258
            },
            "platform": "Nest"
        },
        {
            "devices": [
                {
                    "name": "Marantz",
                    "host": "192.168.4.169",
                    "port": 8080,
                    "zoneControl": 0,
                    "volumeControl": 1,
                    "masterPower": false,
                    "masterVolume": false,
                    "masterMute": false,
                    "infoButtonCommand": "MNOPT",
                    "disableLogInfo": true,
                    "disableLogDeviceInfo": true,
                    "enableDebugMode": false,
                    "inputs": [
                        {
                            "name": "Apple TV",
                            "reference": "CBL/SAT",
                            "mode": "SI",
                            "switch": false,
                            "displayType": 0
                        },
                        {
                            "name": "Nintendo",
                            "reference": "GAME",
                            "mode": "SI",
                            "switch": false,
                            "displayType": 0
                        },
                        {
                            "name": "Xbox",
                            "reference": "MPLAY",
                            "mode": "SI",
                            "switch": false,
                            "displayType": 0
                        }
                    ],
                    "enableMqtt": false,
                    "mqttAuth": false,
                    "mqttDebug": false
                }
            ],
            "_bridge": {
                "username": "0E:C2:8C:61:91:D9",
                "port": 54047
            },
            "platform": "DenonTv"
        },
        {
            "devices": [
                {
                    "api_key": "0d56167c-bcd5-xxxxxx",
                    "device_id": "89495cea-3aaa-4271xxxxxxxxxxx6",
                    "name": "Office Samsung TV",
                    "ip": "192.168.xxxxx",
                    "mac": "70:2a:d5:xxxxx2",
                    "inputs": [
                        {
                            "type": "input",
                            "name": "PC",
                            "value": "HDMI3"
                        },
                        {
                            "type": "input",
                            "name": "Apple TV",
                            "value": "HDMI4"
                        },
                        {
                            "type": "app"
                        }
                    ]
                }
            ],
            "_bridge": {
                "username": "0E:F4:98:24:48:B1",
                "port": 54077
            },
            "platform": "SamsungTizen"
        },
        {
            "name": "Govee",
            "username": "xxx@gmail.com",
            "password": "xxxxxxxx",
            "apiKey": "xxxxxxxxx",
            "debug": false,
            "disablePlugin": false,
            "thermoDevices": [
                {
                    "label": "Grill Thermo",
                    "deviceId": "5E:81:C6:31:30:30:04:5B",
                    "ignoreDevice": true,
                    "overrideLogging": "disable"
                }
            ],
            "platform": "Govee"
        },
        {
            "name": "eWeLink",
            "username": "xxxxxxxx",
            "password": "xxxxxx",
            "mode": "auto",
            "language": "en",
            "disableDeviceLogging": true,
            "platform": "eWeLink"
        },
        {
            "platform": "NotifyEvents",
            "action": {
                "enabled": false,
                "listen": "0.0.0.0",
                "port": 53535,
                "host": "",
                "path": "/"
            },
            "channels": []
        }
    ],
    "disabledPlugins": [
        "homebridge-sp108e-platform",
        "homebridge-device-alive",
        "homebridge-ds18b20",
        "homebridge-notifyevents"
    ]
}
```


### Environment

- OS:Raspbian GNU/Linux Bullseye (11)
- Software:1.5.1
- Node:18.14.2
- npm:9.5.0


### Process Supervisor

hb-service

### Additional Context

_No response_