NEWS
UNSOLVED Installationsproblem / Fehler mihome-vacuum Installation
-
Hallo zusammen,
ich habe immer die identische Fehlermeldung bei meiner Installation vom mihome-vacuum Adapter:
$ ./iobroker url "https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master" mihome-vacuum install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master NPM version: 6.14.8npm install https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/master --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:351:16)gyp ERR! stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.72-v7l+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=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v14.15.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/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=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (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:1048:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)node-pre-gyp ERR! System Linux 5.4.72-v7l+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 v14.15.0node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok npm ERR! code ELIFECYCLEnpm 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-11-09T15_35_06_007Z-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
Mein System:
Raspberry Pi 4 - 2 GB
ioBroker neueste Version
npm neueste Version
Node.js neues VersionKöntn ihr mir hier unter die Arme greifen?
Danke und Grüße,
Patrick -
@patsmo pixman und canvas nachinstallieren
-
@Thomas-Braun kannst du mir die genauen Befehle zusenden?
-
sudo apt update sudo apt install libpixman-1-0 libpixman-1-dev sudo apt dist-upgrade sudo reboot
Dein node ist aber auch falsch installiert. Das zuerst gerade rücken.
Lies hier:
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian