NEWS
SOLVED [gelöst] Javascript Adapter lässt sich nicht updaten
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3 Arbeitsspeicher: 1GB Festplattenart: SSD Betriebssystem: Raspian Stretch Node-Version: v10.20.1 Nodejs-Version: v10.20.1 NPM-Version: 6.14.4 Installationsart: Skript Image genutzt: Ja Ort/Name der Imagedatei: https://www.raspberrypi.org/downloads/raspbian/ Ich habe heute auf node 10.x und js-controller 3.x geupdatet, alles lief sauber durch und es scheint auch alles wieder zu laufen, lediglich das neuste Javascript/ScriptEngine Adapter Update lässt sich nicht einspielen.
pi@raspberrypi:/opt/iobroker $ ./iobroker upgrade javascript Update javascript from @4.4.3 to @4.5.1 NPM version: 6.14.4 npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call) Update javascript from @4.4.3 to @4.5.1 NPM version: 6.14.4 npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call) Update javascript from @4.4.3 to @4.5.1 NPM version: 6.14.4 npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call) ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1 info sharp Attempting to build from source via node-gyp but this may fail due to the above error info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8> ^ compilation terminated. make: *** [Release/obj.target/sharp/src/common.o] Fehler 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:191:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.66-v7+ 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 v10.20.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok Could not install NodeJS typings. This is not critical. Reason: npm ERR! code ENOENT npm ERR! syscall access npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-04-23T07_40_36_061Z-debug.log ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1 info sharp Attempting to build from source via node-gyp but this may fail due to the above error info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies npm ERR! code ENOENT npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/jsonata npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/.jsonata.DELETE npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/jsonata' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/.jsonata.DELETE' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-04-23T07_40_59_955Z-debug.log host.raspberrypi Cannot install iobroker.javascript@4.5.1: 254
MOD-Edit: Code in code-tags gesetzt!
Leider habe ich keinen match im Forum dazu finden können und hoffe trotzdem, dass mir jemand aufzeigen kann was ich machen muss, damit das Update sauber durchläuft.
Vielen Dank im Voraus.
Gruß,
Marc -
@monarc warum aktualisierst du es nicht vom Admin aus ??
-
@monarc warum aktualisierst du es nicht vom Admin aus ??
-
@arteck ja what the heck.... hatte ich auch schon gemacht, allerdings mit dem gleichen Fehlerbild. Wollte jetzt gerade nochmal die Fehlermeldung generieren, jetzt lief das Update ratz fatz und ohne Meckerei durch....
-
@monarc dann setzt auf gelöst