homebridge zerschossen

  • morgen bin am verzweifeln nachdem ich das homebridge-weather-station-extended nicht zum laufen bekommen habe und mir veraltete node, Homebridge und hue-plugin Versionen angezeigt wurden dachte ich mir ich update mal alles seitdem bekomme ich die Homebridge nicht mehr zum starten. ich habe rebuild usw versucht doch es wird weiterhin folgender Fehler ausgeworfen. woran kann es liegen


    module.js:559

    throw err;

    ^


    Error: Cannot find module './lib/Accessory.js'

    at Function.Module._resolveFilename (module.js:557:15)

    at Function.Module._load (module.js:484:25)

    at Module.require (module.js:606:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/index.js:1:79)

    at Module._compile (module.js:662:30)

    at Object.Module._extensions..js (module.js:673:10)

    at Module.load (module.js:575:32)

    at tryModuleLoad (module.js:515:12)

    at Function.Module._load (module.js:507:3)





  • Man updated nie alles auf einmal, und bei produktiv Systemen, schon gar nicht aus purer Laune heraus.

    Unter anderem genau aus dem Grund, welcher dir jetzt widerfahren ist.

    Wo will man jetzt wissen wo der Hund begraben ist?



    Bevor man stundenlang rumdoktort:

    Schau ob das Node Update ordnungsgemäß gelaufen ist, ggf. nach justieren.

    Homebridge restlos entfernen & neu installieren.

    Benötigte Plugins wieder installieren

    Config zurückspielen.


    Damit sollte das Problem in einer halben Stunde erledigt sein.

  • Lehrgeld bezahlt ?

  • hab die Homebridge deinstalliert, node, npm, auch alles neu nun geht so gar nichts mehr :(


    /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/npm-package-arg/npa.js:6

    let url

    ^^^

    SyntaxError: Unexpected strict mode reserved word

    at exports.runInThisContext (vm.js:73:16)

    at Module._compile (module.js:443:25)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

    at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/add.js:6:11)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    npm ERR! Linux 4.9.59+

    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "outdated" "-g"

    npm ERR! node v0.12.6

    npm ERR! npm v2.11.2


    npm ERR! /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/npm-package-arg/npa.js:6

    npm ERR! let url

    npm ERR! ^^^

    npm ERR! Unexpected strict mode reserved word

    npm ERR!

    npm ERR! If you need help, you may report this error at:

    npm ERR! <https://github.com/npm/npm/issues>