Hey Leute, brauche dringend eure Hilfe. Wollte Node auf 9.5.0 bringen und habe folgende Meldung erhalte.:
ZitatAlles anzeigenError: The module '/usr/local/lib/node_modules/homebridge/node_modules/mdns/buil d/Release/dns_sd_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 59. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at Object.Module._extensions..node (module.js:689:18)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/m dns/lib/dns_sd.js:24:20)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
pi@raspberrypi:~ $ sudo npm uninstall npm -g
removed 476 packages in 15.501s
pi@raspberrypi:~ $ sudo npm i npm -g
sudo: npm: command not found
pi@raspberrypi:~ $ sudo npm i npm -g
sudo: npm: command not found
pi@raspberrypi:~ $ sudo npm i npm@latest -g
sudo: npm: command not found
pi@raspberrypi:~ $ sudo npm i npm@latest -g
sudo: npm: command not found
pi@raspberrypi:~ $ sudo npm i npm -g
sudo: npm: command not found
pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge@latest
sudo: npm: command not found
pi@raspberrypi:~ $
Dann habe ich npm deinstalliert, in der Hoffnung das es mir helfen würde. Nur leider bekomme ich npm jetzt nicht mehr installiert. Könnt ihr mir helfen???