Support Request: Cannot install switchbot on home bridge running native on Synology
### Describe Your Problem

When I try to update switchbot, it fails

### Relevant log output

```shell
-
\
|
/
-

> @serialport/bindings-cpp@12.0.1 install
> node-gyp-build
-
\

> @stoprocent/bluetooth-hci-socket@1.4.4 install
> node-gyp-build
\
\

> @stoprocent/noble@1.18.2 install
> node-gyp-build
\
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/lib/index.js:16:17)
gyp ERR! stack at which (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/lib/index.js:77:9)
gyp ERR! stack at async doWhich (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:119:22)
gyp ERR! stack at async loadConfigGypi (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:78:7)
gyp ERR! stack at async build (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:36:3)
gyp ERR! stack at async run (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
gyp ERR! System Linux 4.4.302+
gyp ERR! command "/volume1/@appstore/Node.js_v20/usr/local/bin/node" "/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /volume1/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/@stoprocent/noble
gyp ERR! node -v v20.9.0
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not ok
\
|
/
npm error code 1
/npm error path /volume1/homebridge/node_modules/@switchbot/homebridge-switchbot/node_modules/@stoprocent/noble
/
npm error command failed
/
npm error command sh -c node-gyp-build
/
npm error A complete log of this run can be found in: /var/packages/homebridge/home/.npm/_logs/2025-01-08T02_21_07_387Z-debug-0.log
/


Error: Operation failed with code 1.

You can download this log file for future reference.

See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
```


### Config for homebridge-switchbot

```shell
{
    "bridge": {
        "name": "Homebridge 88B6",
        "username": "0E:2C:D2:77:82:1B",
        "port": 51733,
        "pin": "344-26-788",
        "advertiser": "ciao"
    },
    "accessories": [
        {
            "name": "Away Mode",
            "sensors": [
                {
                    "name": "Katie's Room Away"
                },
                {
                    "name": "Kitchen Away"
                },
                {
                    "name": "Laundry Room Away"
                },
                {
                    "name": "Drew's Office Away"
                },
                {
                    "name": "Mayo's Office Away"
                },
                {
                    "name": "Foyer Away"
                },
                {
                    "name": "Living Room Away"
                },
                {
                    "name": "Hallway Away"
                }
            ],
            "minOffTime": 300,
            "maxOffTime": 1800,
            "minOnTime": 1800,
            "maxOnTime": 3600,
            "activeTimes": [
                {
                    "start": "sunset",
                    "end": "23:17",
                    "absolute": true
                }
            ],
            "location": {
                "lat": 37.36436,
                "long": -122.044866
            },
            "accessory": "AwayMode"
        },
        {
            "accessory": "AirScape-WHF-Gen2-HTTP",
            "name": "Whole House Fan",
            "ip": "192.168.1.95",
            "pollingIntervalMs": "15000",
            "hasTPS": "false"
        },
        {
            "name": "Hot Tub Privacy",
            "stateful": false,
            "dimmer": false,
            "reverse": false,
            "time": 1800000,
            "random": false,
            "resettable": false,
            "brightness": 0,
            "disableLogging": false,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": false,
            "broadcast": "192.168.1.255",
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "devicesUseDiscoveryPort": false,
            "_bridge": {
                "username": "0E:9C:16:66:09:AE",
                "port": 40515
            },
            "platform": "TplinkSmarthome"
        },
        {
            "fans": [
                {
                    "name": "Master Bedroom Big Ass Fan",
                    "ip": "192.168.1.195",
                    "mac": "54:43:b2:0c:95:9c",
                    "showWhooshSwitch": false,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": true
                },
                {
                    "name": "Drews Office Big Ass Fan",
                    "ip": "192.168.1.106",
                    "mac": "24:4c:ab:86:3a:74",
                    "showWhooshSwitch": false,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": true
                },
                {
                    "name": "Mayos Ofiice Big Ass Fan",
                    "ip": "192.168.1.252",
                    "mac": "94:b5:55:b8:db:88",
                    "showWhooshSwitch": false,
                    "showFanAutoSwitch": false,
                    "showLightAutoSwitch": false,
                    "showDimToWarmSwitch": false,
                    "showEcoModeSwitch": false,
                    "disableDirectionControl": true
                }
            ],
            "_bridge": {
                "username": "0E:E2:76:D9:E0:55",
                "port": 51546
            },
            "platform": "BigAssFans-i6"
        },
        {
            "name": "Levoit Humidifiers",
            "email": "",
            "password": "",
            "accessories": {
                "humidity_sensor": true,
                "mist": true,
                "warm_mist": true,
                "sleep_mode": true,
                "display": true,
                "night_light": true,
                "auto_pro": true
            },
            "options": {
                "showOffWhenDisconnected": false
            },
            "platform": "LevoitHumidifiers"
        },
        {
            "controllers": [
                {
                    "address": "192.168.1.1",
                    "username": "homebridge",
                    "password": "usher-anchovy-BOO-prawn12"
                }
            ],
            "name": "UniFi Protect",
            "platform": "UniFi Protect",
            "_bridge": {
                "username": "0E:BA:1C:2A:5D:22",
                "port": 43410
            }
        },
        {
            "name": "UniFiPoeControl",
            "url": "https://192.168.1.1:443",
            "username": "homebridge",
            "password": "usher-anchovy-BOO-prawn12",
            "refreshInterval": 60000,
            "ports": [
                {
                    "mac": "f4:e2:c6:5d:39:2d",
                    "idx": 4,
                    "name": "Backyard Left G5 Bullet POE",
                    "onMode": "auto"
                },
                {
                    "onMode": "auto"
                }
            ],
            "_bridge": {
                "username": "0E:22:0A:10:C3:A4",
                "port": 39487
            },
            "platform": "UniFiPoeControl"
        },
        {
            "name": "Lutron",
            "platform": "LutronCasetaLeap",
            "options": {
                "filterPico": false,
                "filterBlinds": false,
                "clickSpeedDouble": "default",
                "clickSpeedLong": "default"
            },
            "secrets": [
                {
                    "bridgeid": "02BF640F",
                }
            ],
            "_bridge": {
                "username": "0E:93:F7:14:6A:F8",
                "port": 50856
            }
        },
        {
            "devices": [
                {
                    "name": "Living Room TV",
                    "host": "192.168.1.190",
                    "mac": "A8:23:FE:E3:E5:39",
                    "getInputsFromDevice": false,
                    "disableLoadDefaultInputs": false,
                    "filterSystemApps": false,
                    "inputsDisplayOrder": 0,
                    "inputs": [
                        {
                            "mode": 0
                        }
                    ],
                    "buttons": [
                        {
                            "mode": 0,
                            "displayType": 0
                        }
                    ],
                    "sensorPower": false,
                    "sensorPixelRefresh": false,
                    "sensorVolume": false,
                    "sensorMute": false,
                    "sensorInput": false,
                    "sensorChannel": false,
                    "sensorSoundMode": false,
                    "sensorSoundOutput": false,
                    "sensorPictureMode": false,
                    "sensorScreenOnOff": false,
                    "sensorScreenSaver": false,
                    "sensorInputs": [
                        {
                            "displayType": 0
                        }
                    ],
                    "turnScreenOnOff": false,
                    "turnScreenSaverOnOff": false,
                    "brightnessControl": false,
                    "backlightControl": false,
                    "contrastControl": false,
                    "colorControl": false,
                    "pictureModeControl": false,
                    "pictureModes": [
                        {
                            "displayType": 0
                        }
                    ],
                    "volumeControlNamePrefix": false,
                    "volumeControl": 0,
                    "soundModeControl": false,
                    "soundModes": [
                        {
                            "displayType": 0
                        }
                    ],
                    "soundOutputControl": false,
                    "soundOutputs": [
                        {
                            "displayType": 0
                        }
                    ],
                    "serviceMenu": false,
                    "sslWebSocket": false,
                    "disableTvService": false,
                    "ezAdjustMenu": false,
                    "infoButtonCommand": "MENU",
                    "enableDebugMode": false,
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "restFul": {
                        "enable": false,
                        "debug": false
                    },
                    "mqtt": {
                        "enable": false,
                        "debug": false,
                        "auth": false
                    }
                }
            ],
            "platform": "LgWebOsTv",
            "_bridge": {
                "username": "0E:48:9A:9D:9E:D1",
                "port": 30544
            }
        },
        {
            "debugToInfo": false,
            "devices": [
                {
                    "name": "Marantz  Receiver",
                    "ip": "192.168.1.52",
                    "zone": 1,
                    "switchInfoMenu": true
                }
            ],
            "switches": [
                {
                    "name": "Denon Receiver Input",
                    "ip": "192.168.1.52",
                    "zone": 1,
                    "pollAllInput": false
                }
            ],
            "volumeControl": [
                {
                    "name": "Receiver volume",
                    "ip": "192.168.1.52",
                    "zone": 1,
                    "controlType": "bulb",
                    "volumeLimit": 60
                }
            ],
            "platform": "DenonAVR",
            "_bridge": {
                "username": "0E:10:86:FA:E1:74",
                "port": 31698
            }
        }
    ],
    "disabledPlugins": [
        "homebridge-meross"
    ]
}
```


### Screenshots

[@switchbot_homebridge-switchbot-error.log](https://github.com/user-attachments/files/18341141/%40switchbot_homebridge-switchbot-error.log)


### Device & Model

Synology DS920+ running DSM 7.2.2-72806 Update 2

### Node.js Version

v20.9.0

### NPM Version

v10.9.0

### Homebridge Version

v1.8.5

### Homebridge SwitchBot Plugin Version

latest, also tried several previous versions and latest beta 4.18?

### Homebridge Config UI X Plugin Version

v4.67.0

### Operating System

Synology DSM  7.2.2-72806 Update 2