Hallo zusammen,
ich habe heute mein homebridge-config-ui-x upgedated und bekomme seit dem meine Homebridge nicht mehr ans laufen.
hier mal ein Auszug aus meiner log:
Code
[2.9.2020, 19:01:54] [Config] Error: The module '/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty-prebuilt-multiarch/build/Release/pty.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
[2.9.2020, 19:01:54] [Config] [node-pty] Node.js v14.7.0
[2.9.2020, 19:01:54] [Config] [node-pty] Failed to load node-pty module
[2.9.2020, 19:01:54] [Config] [node-pty] This could be because the installation of this plugin did not complete successfully or you may have recently upgraded Node.js to a new major version.
[2.9.2020, 19:01:54] [Config] [node-pty] Follow the steps below to resolve this issue.
[2.9.2020, 19:01:54] [Config] [node-pty] Trying to rebuild automatically...
.
.
.
.
.
[2.9.2020, 19:05:55] Homebridge is running on port 51826.
2020-09-02 19:06:18 caching: ESPEasy_Sauna_Klimasensor-Humidity: 62.0
[2.9.2020, 19:06:18] [FHEM] caching: CurrentRelativeHumidity: 62 (as number; from '62.0')
2020-09-02 19:06:18 caching: ESPEasy_Sauna_Klimasensor-Temperature: 26.5
[2.9.2020, 19:06:18] [FHEM] caching: CurrentTemperature: 26.5 (as number; from '26.5')
[2.9.2020, 19:06:19] [Config] [node-pty] Module rebuilt successfully (maybe) - if you are still encountering errors follow the steps below.
[2.9.2020, 19:06:19] [Config] [node-pty] From the terminal run these commands (exact commands may vary):
[2.9.2020, 19:06:19] [Config] cd /usr/local/lib/node_modules/homebridge-config-ui-x
[2.9.2020, 19:06:19] [Config] sudo npm rebuild --unsafe-perm
[2.9.2020, 19:06:19] Got SIGTERM, shutting down Homebridge...
<img src="https://forum.smartapfel.de/images/smilies/emojione/2639.png" alt=":(" class="smiley" srcset="https://forum.smartapfel.de/images/smilies/emojione/[email protected] 2x" height="23" data-tooltip="sad" aria-label="sad" id="wscSmiley_0_0">
Alles anzeigen
bekomme das Problem auch nicht mit einem rebuilt hin, hab das config ui x auch deinstalliert und neu installiert, kein Erfolg. Die Homebridge läuft gefühlt 10 Sekunden bis zum shut down. Ich verzweifele langsam hab mehrere Sachen aus den verschiedensten Foren getestet alles mit dem gleichen wiederkehrenden Fehler. Ich hoffe hier kann mir einer Schritt für Schritt helfen.
hier noch meine node version
Code
pi@raspberrypi:~ $ node -v
v14.7.0
pi@raspberrypi:~ $ nodejs -v
v10.22.0
pi@raspberrypi:~ $ npm -v
6.14.7
vielleicht ist es noch hilfreich das die Homebridge ohne das config ui x auch nicht mehr läuft. Meine FHEM Software läuft weiterhin ohne Probleme.