unable to install any plugins
<!--
You must use the issue template below when submitting a bug
-->

<!--
If you are having an issue with a certain plugin, please raise the issue on that plugin's project page instead.
-->

<!--
The Homebridge Raspberry Pi image is just Raspbian Linux with Homebridge installed as a service.
If you are facing an issue that is not Homebridge related you should look elsewhere for support.
-->

**Describe The Bug: unable to install plugins on a new fresh installation. terminal is constantly starting up and then disconnecting  secs later.**

**To Reproduce:not sure as this is a fresh installation**
<!--  -->

**Expected behavior: install the homebridge image and add plugins and edit config and have all my devices running in homekit. **
<!-- -->

**Logs:**

```
[5/6/2020, 20:46:46] [HB Supervisor] Starting Homebridge with extra flags: -I
[5/6/2020, 20:46:46] [HB Supervisor] Started Homebridge v1.0.4 with PID: 12423
[5/6/2020, 20:46:47] Loaded config.json with 0 accessories and 1 platforms.
[5/6/2020, 20:46:47] ---
[5/6/2020, 20:46:47] Loaded plugin: homebridge-config-ui-x
[5/6/2020, 20:46:47] Registering platform 'homebridge-config-ui-x.config'
[5/6/2020, 20:46:47] ---
[5/6/2020, 20:46:47] Loading 1 platforms...
[5/6/2020, 20:46:47] [Config] Initializing config platform...
[5/6/2020, 20:46:47] [Config] Running in Service Mode
Setup Payload:
X-HM://0023N5OQ8F85G
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 104-56-944 │     
    └────────────┘     
                       
[5/6/2020, 20:46:47] Homebridge is running on port 51220.
[5/6/2020, 20:46:48] [Config] Homebridge Config UI X v4.17.1 is listening on :: port 8581
[5/6/2020, 20:47:49] [Config] Starting terminal session
[5/6/2020, 20:47:54] [Config] [homebridge] Failed to check registry.npmjs.org for updates: timeout of 5000ms exceeded
[5/6/2020, 20:50:00] [Config] Terminal session ended.
[5/6/2020, 20:50:09] [Config] Starting terminal session
[5/6/2020, 20:50:27] [Config] Terminal session ended.
[5/6/2020, 20:53:51] [Config] Starting terminal session
[5/6/2020, 20:54:40] [Config] Terminal session ended.
[5/6/2020, 20:54:46] [Config] Starting terminal session
[5/6/2020, 20:56:15] [Config] Terminal session ended.
[5/6/2020, 20:56:15] [Config] Starting terminal session
[5/6/2020, 20:57:00] [Config] Terminal session ended.
[5/6/2020, 20:57:08] [Config] Sent request to clear cached accesories to hb-service
[5/6/2020, 20:57:08] [HB Supervisor] Sending SIGTERM to Homebridge
[5/6/2020, 20:57:08] Got SIGTERM, shutting down Homebridge...
[5/6/2020, 20:57:13] [Config] Starting terminal session
[5/6/2020, 20:57:13] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[5/6/2020, 20:57:18] [HB Supervisor] Restarting Homebridge...
[5/6/2020, 20:57:18] [HB Supervisor] Starting Homebridge with extra flags: -I
[5/6/2020, 20:57:18] [HB Supervisor] Started Homebridge v1.0.4 with PID: 13921
[5/6/2020, 20:57:19] Loaded config.json with 0 accessories and 1 platforms.
[5/6/2020, 20:57:19] ---
[5/6/2020, 20:57:20] Loaded plugin: homebridge-config-ui-x
[5/6/2020, 20:57:20] Registering platform 'homebridge-config-ui-x.config'
[5/6/2020, 20:57:20] ---
[5/6/2020, 20:57:20] Loading 1 platforms...
[5/6/2020, 20:57:20] [Config] Initializing config platform...
[5/6/2020, 20:57:20] [Config] Running in Service Mode
Setup Payload:
X-HM://0023N5OQ8F85G
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 104-56-944 │     
    └────────────┘     
                       
[5/6/2020, 20:57:20] Homebridge is running on port 51220.
[5/6/2020, 20:57:40] [Config] Terminal session ended.
[5/6/2020, 20:57:48] [Config] Running Command: sudo -E -n npm install homebridge-zp@latest
[5/6/2020, 20:57:53] [Config] Command failed. Please review log for details.
[5/6/2020, 21:02:47] [Config] Starting terminal session
[5/6/2020, 21:04:12] [Config] Terminal session ended.
[5/6/2020, 21:04:49] [Config] Starting terminal session
[5/6/2020, 21:06:38] [Config] Terminal session ended.
[5/6/2020, 21:06:40] [Config] Starting terminal session
[5/6/2020, 21:07:10] [Config] Terminal session ended.
[5/6/2020, 21:07:15] [Config] Starting terminal session
[5/6/2020, 21:09:00] [Config] Terminal session ended.
```

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Homebridge Raspberry Pi Image Version**:
* **Node.js Version**:12.16.3 <!-- 12.16.3-->
* **NPM Version**:6.14.4 <!-- 6.14.4-->
* **Homebridge Version**:V1.04 <!-- homebridge -V1.04 -->
* **Homebridge Config UI X Plugin Version**:v4.17.1 <!-- hb-service -v4.17.1 -->
