Ich hab seit Ewigkeiten ausnahmsweise mal ein Problem mit config-ui-x und stecke fest.
[email protected] | npm 6.9.0 | [email protected].
config-ui-x habe ich über das Terminal zur letzten Version 3.11.0 geupdatet, sudo npm install -g --unsafe-perm homebridge-config-ui-x.
Leider, aus welchem Grund auch immer hat config-ui-x danach keine Plugins mehr in der Oberfläche angezeigt und die Seite der Plugins bliebt mit dem drehenden Kreis leer.
Mit config-ui-x hatte ich sonst nie Probleme. Lief seit Monaten einwandfrei.
Die Homebridge an sich und alle Plugins laufen weiterhin einwandfrei.
Also Plugin deinstalliert sudo npm remove --unsafe-perm -g homebridge-config-ui-x und Eintrag aus der config.jos entfernt.
Neustart des Pi und nochmal installiert mit der alten Version 3.10.0 sudo npm install -g [email protected]
Und nun bleibt alles schon bei der Installation stecken, meistens bei sowas wie [ ......] / extract:lodash: sill extract lodash@^4.17.11 extracted to /usr/local/lib/node_modules/.staging/lodash-e1e3a35a (4900ms) und ich bekomme nicht mal mehr die "alte" Version installiert. 
Der Installationsprozess verharrt einfach mittendrin und geht nicht weiter. Irgendwann dann der Fehler..
npm WARN tarball tarball data for caseless@~0.12.0 (sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=) seems to be corrupted. Trying one more time.
/usr/local/bin/homebridge-config-ui-x -> /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
> [email protected] install /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty
> node scripts/install.js
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.13.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty/.node-gyp'
gyp ERR! System Linux 4.14.92-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/node-pty
gyp ERR! node -v v11.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-10T08_13_48_395Z-debug.log
Alles anzeigen
Rebuild von node habe ich auch schon gemacht, ohne weiteren Erfolg
cd /usr/local/lib/node_modules/
sudo npm rebuild --unsafe-perm
UPADTE:
Ich hab den Terminal Befehl irgendwo herausgekramt mit dem zumindest die Installation von config-ui-x 3.11.0 nun gekappt hat.
sudo chown -R $USER /usr/local && npm install homebridge-Pluginname -g
Allerdings sehe ich weiterhin über die Weboberfläche, keine installierten Plugins mehr. Der lade Circle dreht sich und es passiert nichts.
Homebridge an sich läuft mit allen Plugins weiterhin einwandfrei.
Also falls jemand noch eine Idee hat, bin ich sehr dankbar dafür. 