NEWS
UNSOLVED Mi vacuum Adapter kann nicht installiert werden
-
Hallo
Ich versuche den mi vacuum adapter zu installieren leider kommt bei der Installation immer ein oder mehrere Errors. Leider bin ich ein absoluter Noob und kann damit nichts anfangen$ ./iobroker url "https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master" mihome-vacuum --debug install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master NPM version: 6.13.4 npm install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master --loglevel error --prefix "/opt/iobroker" (System call) > canvas@2.6.1 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)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.93-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.18.1gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)node-pre-gyp ERR! System Linux 4.19.93-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.18.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-02-29T11_13_28_603Z-debug.log ERROR: host.raspberrypi Cannot install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master: 1 ERROR: process exited with code 25
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
Hallo, als Anfänger sollte man nicht die Entwicklerversionen installieren außer man weiß was man macht. Desweiteren sollte man auch immer die readme lesen bevor man loslegt. Dort ist der Fehler aufgeführt und beschrieben was gemacht werden muss
-
Hallo,
vorab, ich habe die Readme gelesen und die Bibliotheken manuell installiert. Hierbei hatte ich jedoch folgenden Fehler, vielleicht kann einer was damit anfangen.
E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/g/gettext/autopoint_0.19.8.1-2_all.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/g/gettext/gettext_0.19.8.1-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/i/icu/icu-devtools_57.1-6+deb9u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/e/expat/libexpat1_2.2.0-2+deb9u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/e/expat/libexpat1-dev_2.2.0-2+deb9u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/g/glib2.0/libglib2.0-bin_2.50.3-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/g/glib2.0/libglib2.0-dev_2.50.3-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/i/icu/libicu-dev_57.1-6+deb9u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80] E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
Beim Update kommt es trotzdem zu dem unten stehenden Fehler. Ferner ist bei dem fehlerhaften Update, der Adapter auch anschließend aus der Liste der Adapter verschwunden, die Instanze ist aber noch da. Habe dann manuell wieder die Version 1.1.5 installiert.
$ ./iobroker upgrade mihome-vacuum Update mihome-vacuum from @1.1.5 to @2.0.7 NPM version: 6.9.0 npm install iobroker.mihome-vacuum@2.0.7 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call) Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)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.14.34-v7+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.16.0gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)node-pre-gyp ERR! System Linux 4.14.34-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.16.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2020-03-02T07_59_18_524Z-debug.log ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1 ERROR: process exited with code 25
-
hat sich erledigt. Habe den Fixer drüber laufen lassen