NEWS
UNSOLVED Bekomme die nodejs Installation nicht vernünftig hin
-
@homoran sagte in Bekomme die nodejs Installation nicht vernünftig hin:
which npm
pi@ioBroker-Pi:~ $ which npm /usr/local/bin/npm
-
das versuche ich ja leider vergeblich.
-
ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war
-
@dustin-f ein weiteter Hinweis dass alles verbogen ist.
-
@dustin-f wär mir neu, warum sollte das nicht funktionieren?
-
@thomas-braun sagte in Bekomme die nodejs Installation nicht vernünftig hin:
sudo rm /usr/local/bin/n*
heißt das. BashCompletion ftw....
das war schon mal sehr hilfreich
pi@ioBroker-Pi:~ $ which npm /usr/bin/npm
-
@dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:
update zu bullseye nicht anders zu installieren war
Quatsch.
-
*** NodeJS-Installation *** /usr/bin/nodejs v16.20.1 /usr/bin/node v16.20.1 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 nodejs: Installed: 16.20.1-deb-1nodesource1 Candidate: 16.20.1-deb-1nodesource1 Version table: *** 16.20.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
Danke sehr!
-
Ich verzweifel
pi@ioBroker-Pi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/local/bin/npx v18.16.1 v18.16.1 9.5.1 -bash: /usr/local/bin/npx: No such file or directory
wo verdammt noch mal kommt der local Ordner nun wieder her? Ich habe mich penibelst an diese Anleitung gehalten [HowTo] Nodejs-Installation und Upgrades unter Debian
ok
which npx
ergibt
/usr/bin/npx -
@dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:
/usr/local/bin/
ls -lAh /usr/local/bin
sagt?
Kiste einmal sauber neugestartet? Kann sein das der $PATH nochmal neu eingelesen werden muss.