NEWS
NPM Installation nach Anleitung?
-
@marcuskl sagte:
ich habe ein Rollback gemacht und bin nochmal nach deiner Anleitung vorgegangen.
Ganz schön voreilig.
@marcuskl sagte:
Dabei kommt gar nichts wenn ich node -v, nodejs -v eingebe:
Dann existiert node nicht mehr im Suchpfad, aber noch irgendwo anders, was sich apt wohl gemerkt hat. Führe mal aus
sudo apt --purge remove nodejs sudo apt --purge remove npm sudo apt autoremove sudo reboot
und installiere anschließend Node.js noch einmal.
-
@paul53 Super danke, hat geklappt
Jetzt stimmt alles:root@iobroker:~# node -v v10.19.0 root@iobroker:~# nodejs -v v10.19.0 root@iobroker:~# npm -v 6.4.1 root@iobroker:~# which node /usr/bin/node root@iobroker:~# which nodejs /usr/bin/nodejs root@iobroker:~#
-
@paul53 jetzt das nächste Problem, es lässt sich npm nicht aktualisieren.
root@iobroker:~# npm install -g npm /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js + npm@6.13.7 updated 1 package in 19.505s root@iobroker:~# npm -v 6.4.1
-
-
@paul53 danke hat geklappt
-
@fredf
Danke Fred für den Befehl!
Ich hab Stundenlang im Netz gesucht und alles mögliche ausprobiert.
Mit dem einen Befehl funktioniert alles wieder!Danke dafür
-
Ich seh jetzt nicht was du da machst oder vorhast, höchst wahrscheinlich ist es aber falsch.
-
@werik sagte in NPM Installation nach Anleitung?:
Ich hab Stundenlang im Netz gesucht und alles mögliche ausprobiert.
aber oben auf "Docu" hast du anscheinend nie geklickt
https://www.iobroker.net/#de/documentation/install/linux.mdoder direkt auf der Titelseite von iobroker.net
-
Meinst du mich? Doch, kenne ich. Hab ich auch schon drauf geklickt...
-
@thomas-braun sagte in NPM Installation nach Anleitung?:
Meinst du mich?
natürlich - du besuchst doch immer die YT-Uni
-
@homoran sagte in NPM Installation nach Anleitung?:
Die hab ich schon erfolgreich abgeschlossen. Hab jetzt
Dr. met. ytb
auf der Visitenkarte stehen.