NEWS
Hilfe aus Karlsruhe und Umgebung
-
Homoran Global Moderator Administrators last edited by Homoran 15 Jan 2022, 11:12 15 Jan 2022, 11:12
@liv-in-sky
ok!
Dann weiterHast du den npm cache vom user iobroker geleert?
-
-
Homoran Global Moderator Administrators last edited by Homoran 15 Jan 2022, 11:20 15 Jan 2022, 11:19
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
also cache clear im /home/iobroker ausführen ?
nee, hatte eben schonmal einen Versuch zur Diskussion gestellt
@homoran sagte in Hilfe aus Karlsruhe und Umgebung:
wenn ich mich richtig erinnere muss ja der Cahce vom user iobroker geleert werden
in etwa
sudo -H -u iobroker npm cache clesn
(ohne Gewähr)weiss es aber nicht hundertprozentig
Wechsel ins Installatinonsverzeichnis ist wahrscheinlich nicht falsch
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
wußte nicht, dass der sowas hat
wer denn sonst?
Die Installationen und Updates fürht ja der user iobroker aus -
@homoran sagte in Hilfe aus Karlsruhe und Umgebung:
sudo -H -u iobroker npm cache clesn
cache clesn - glaube nicht, dass das funktioniert - gibt es auch nicht in der beschreibung unter commands (weder cache clean noch cache clear
-
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
glaube nicht, dass das funktioniert
dicke Finger am Tablett!
clean
wäre korrekt (clear
soll auch gehen - hab ich noch nie geprüft)@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
gibt es auch nicht in der beschreibung unter commands
bei npm?
der befehl läuft ja auch alscache.....
-
sudo -u iobroker -H npm cache clean --force
-
jetz habe ich es kapiert - ist gemacht - leider kein erfolg
-
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
leider kein erfolg
was machst du auch
Mir gehen jetzt die Ideen aus
-
ja - bin im moment auch ideen los - weiß zu wenig über das node
der fehler sagt zwar:
‘X’ X(Boolean) ^In file included from /home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:67, from ../../nan/nan.h:53, from
sollte aber gelöscht sein
root@ioBroker-Rock64:/home/iobroker# npm cache verify Cache verified and compressed (~/.npm/_cacache): Content verified: 0 (0 bytes) Index entries: 0 Finished in 0.133s
-
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
npm cache verify
Mach das mal für den iobroker mit. Als root rasselt der Befehl auch in das /home / ~ des roots...
sudo -u iobroker -H npm cache verify
-
geht leider nicht
root@ioBroker-Rock64:~# sudo -u iobroker -H npm cache verify Error: EACCES: permission denied, scandir '/root' root@ioBroker-Rock64:~# npm cache verify Cache verified and compressed (~/.npm/_cacache): Content verified: 0 (0 bytes) Index entries: 0 Finished in 0.134s root@ioBroker-Rock64:~#
-
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
root@ioBroker-Rock64:~# sudo -u iobroker -H npm cache verify Error: EACCES: permission denied, scandir '/root'
sorry, aber
@Thomas-Braun
kommt mir bekannt vor -
also neue situation - nur noch dieser fehler - eine idee dazu ?
NPM version: 6.14.15 npm install iobroker.iot@1.8.25 --loglevel error --prefix "/opt/iobroker" (System call) sharp: Installation error: Use with glibc 2.28 requires manual installation of libvips >= 8.10.6 ../src/common.cc:24:10: fatal error: vips/vips8: No such file or directory #include <vips/vips8> ^~~~~~~~~~~~ compilation terminated. make: *** [sharp.target.mk:137: Release/obj.target/sharp/src/common.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Linux 4.17.0-rc6-rk3328 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/sharp gyp ERR! node -v v14.18.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok
-
@liv-in-sky sagte in Hilfe aus Karlsruhe und Umgebung:
sharp: Installation error: Use with glibc 2.28 requires manual installation of libvips >= 8.10.6
da gab es schonmal was - muss suchen
-
kann das zu yakha gehören ?
-
-
-
nee - es gibt da was auf github - iot adapter
-
@homoran sagte in Hilfe aus Karlsruhe und Umgebung:
@liv-in-sky https://forum.iobroker.net/topic/32635/fehler-im-modul-sharp-libvips-fehlt/3?_=1642245231446
ignorieren
steht da auch auf github
-
@liv-in-sky na dann
https://forum.iobroker.net/topic/32635/fehler-im-modul-sharp-libvips-fehlt/3?_=1642245231446
auch da wurde nur downgegradet