NEWS
Fehler beim installieren vom mihome Vacuum Adapter
-
Hallo an alle,
ich wollte heut Abend den Adapter von 1.1.5 auf 2.0.7 updaten. Anscheinend wurde er deinstalliert, da er nicht in der Übersicht auftaucht, aber installieren kann ich die neue Version nicht.
Kann das bitte jemand übersetzen?
Danke schön.
Viele Grüße
Chris$ ./iobroker add mihome-vacuum --host raspberrypi NPM version: 6.14.4 npm install iobroker.mihome-vacuum@2.0.7 --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' foundgyp: 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:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.118-v7l+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=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.17.0gyp ERR! node-gyp -v v5.1.0gyp 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=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (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:315:20)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Linux 4.19.118-v7l+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 v12.17.0 node-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! /home/iobroker/.npm/_logs/2020-06-25T21_39_36_498Z-debug.log ERROR: host.raspberrypi Cannot install iobroker.mihome-vacuum@2.0.7: 1 ERROR: process exited with code 25
-
@Ente canvas bauen. Steht in zig Threads wie man das macht. Nutze die Suchfunktion.
-
@Thomas-Braun
Jetzt bin ich leider nicht schlauer als zuvor. Beim Suchen nach canvas kamen Ergebnisse, die - so zumindest mein Eindruck - nichts mit meinem Problem zu tun haben. -
sudo apt install libpixman-1-dev libpango1.0-dev libjpeg62-turbo-dev libgif-dev cd /opt/iobroker npm rebuild canvas --build-from-source npm install canvas
Dein node12 könntest du zuvor auch updaten.
Wenn sauber installiert:sudo apt update sudo apt upgrade
-
@Thomas-Braun
Danke schön. -
Updates liefen erfolgreich durch.
Danke schön @Thomas-Braun
-
@thomas-braun Danke!