NEWS
[gelöst] Update mihome-vaccum Adapter auf 2.0.7 schlägt fehl
-
Hallo,
ich bin auf der Fehlersuche. Das Update des mihome-vacuum Adapter von @1.1.5 to @2.0.7 schlägt mit folgendem Log fehl. Für Tips wäre ich dankbar :-)
Mein System:
Multihost. Master
Admin: 4.1.1
JS controller: 3.1.4
Node.js: v12.18.0
NPM: 6.14.42020-06-28 19:32:49.206 - info: host.ioBrokerMaster iobroker upgrade mihome-vacuum 2020-06-28 19:32:51.329 - info: host.ioBrokerMaster iobroker Update mihome-vacuum from @1.1.5 to @2.0.7 2020-06-28 19:32:51.947 - info: host.ioBrokerMaster iobroker NPM version: 6.14.4 2020-06-28 19:32:51.949 - info: host.ioBrokerMaster iobroker npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call) 2020-06-28 19:33:15.000 - info: host.ioBrokerMaster iobroker 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 2020-06-28 19:33:15.003 - info: host.ioBrokerMaster iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp 2020-06-28 19:33:15.021 - info: host.ioBrokerMaster iobroker 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.18.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 2020-06-28 19:33:15.031 - info: host.ioBrokerMaster iobroker node-pre-gyp ERR! build error 2020-06-28 19:33:15.032 - info: host.ioBrokerMaster iobroker 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. (/opt/iobroker/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) 2020-06-28 19:33:15.033 - info: host.ioBrokerMaster iobroker node-pre-gyp ERR! System Linux 4.19.118-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp 2020-06-28 19:33:15.035 - info: host.ioBrokerMaster iobroker ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v12.18.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 2020-06-28 19:33:16.789 - info: host.ioBrokerMaster iobroker npm ERR! code ELIFECYCLEnpm ERR! errno 1npm 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. 2020-06-28 19:33:16.805 - info: host.ioBrokerMaster iobroker 2020-06-28 19:33:16.806 - info: host.ioBrokerMaster iobroker npm ERR! 2020-06-28 19:33:16.807 - info: host.ioBrokerMaster iobroker A complete log of this run can be found in:npm 2020-06-28 19:33:16.810 - info: host.ioBrokerMaster iobroker ERR! /home/iobroker/.npm/_logs/2020-06-28T17_33_16_783Z-debug.log 2020-06-28 19:33:16.831 - error: host.ioBrokerMaster iobroker host.ioBrokerMaster Cannot install iobroker.mihome-vacuum@2.0.7: 1 -
Hallo,
ich bin auf der Fehlersuche. Das Update des mihome-vacuum Adapter von @1.1.5 to @2.0.7 schlägt mit folgendem Log fehl. Für Tips wäre ich dankbar :-)
Mein System:
Multihost. Master
Admin: 4.1.1
JS controller: 3.1.4
Node.js: v12.18.0
NPM: 6.14.42020-06-28 19:32:49.206 - info: host.ioBrokerMaster iobroker upgrade mihome-vacuum 2020-06-28 19:32:51.329 - info: host.ioBrokerMaster iobroker Update mihome-vacuum from @1.1.5 to @2.0.7 2020-06-28 19:32:51.947 - info: host.ioBrokerMaster iobroker NPM version: 6.14.4 2020-06-28 19:32:51.949 - info: host.ioBrokerMaster iobroker npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call) 2020-06-28 19:33:15.000 - info: host.ioBrokerMaster iobroker 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 2020-06-28 19:33:15.003 - info: host.ioBrokerMaster iobroker gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp 2020-06-28 19:33:15.021 - info: host.ioBrokerMaster iobroker 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.18.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 2020-06-28 19:33:15.031 - info: host.ioBrokerMaster iobroker node-pre-gyp ERR! build error 2020-06-28 19:33:15.032 - info: host.ioBrokerMaster iobroker 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. (/opt/iobroker/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) 2020-06-28 19:33:15.033 - info: host.ioBrokerMaster iobroker node-pre-gyp ERR! System Linux 4.19.118-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp 2020-06-28 19:33:15.035 - info: host.ioBrokerMaster iobroker ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v12.18.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 2020-06-28 19:33:16.789 - info: host.ioBrokerMaster iobroker npm ERR! code ELIFECYCLEnpm ERR! errno 1npm 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. 2020-06-28 19:33:16.805 - info: host.ioBrokerMaster iobroker 2020-06-28 19:33:16.806 - info: host.ioBrokerMaster iobroker npm ERR! 2020-06-28 19:33:16.807 - info: host.ioBrokerMaster iobroker A complete log of this run can be found in:npm 2020-06-28 19:33:16.810 - info: host.ioBrokerMaster iobroker ERR! /home/iobroker/.npm/_logs/2020-06-28T17_33_16_783Z-debug.log 2020-06-28 19:33:16.831 - error: host.ioBrokerMaster iobroker host.ioBrokerMaster Cannot install iobroker.mihome-vacuum@2.0.7: 1https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum#error-at-installation
Das sollte nach Installation der genannten Packages behoben sein
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev -
@mrbungle64 Perfekt, danke für den Hinweis

Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden