NEWS
Mi Vacuum Adapter - Fehler bei Installation
-
Hallo Leute!
Bin neu hier.
Habe seit gestern nen RasperryPi 3b+ mit IO Broker installiert und bei der Installation des Mi Vacuum Adapter kommt bei mir folgende Fehlermeldung:$ ./iobroker add mihome-vacuum --host raspberrypi3b-iob NPM version: 6.14.4 npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call) In file included from ../src/backend/Backend.h:6, from ../src/backend/Backend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/backend/Backend.h:6, from ../src/backend/ImageBackend.h:3, from ../src/backend/ImageBackend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/backend/PdfBackend.h:4, from ../src/backend/PdfBackend.cc:1:../src/backend/../closure.h:6:10: fatal error: jpeglib.h: Datei oder Verzeichnis nicht gefunden #include <jpeglib.h> ^~~~~~~~~~~compilation terminated. make: *** [canvas.target.mk:156: Release/obj.target/canvas/src/backend/PdfBackend.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:310:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.97-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--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-v72"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.16.3gyp 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 build --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-v72' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310: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.97-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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.16.3node-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-05-10T10_32_50_598Z-debug.log ERROR: host.raspberrypi3b-iob Cannot install iobroker.mihome-vacuum@2.0.7 :1 ERROR: process exited with code 25Versuche ich die Canvas Dateien über die Konsole zu installieren haut er mir auch eine Fehlermeldung raus.
Vielleicht liegt es ja auch an anderen Dateien?
Bin leide runter Linux komplett unerfahren und weiß anhand der Fehlermeldung nicht genau, wo das Problem liegt.
Kann mir jemand auf die Sprünge helfen?Danke!
Systemdata Bitte Ausfüllen Hardwaresystem: PI3B+ Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: Raspian Buster Light Node-Version: 12.16.3 Nodejs-Version: 12.16.3 NPM-Version: 6.14.4 Installationsart: Skript Image genutzt: Ja Ort/Name der Imagedatei: https://downloads.raspberrypi.org/raspbian_lite_latest PI3b+ -
Hallo Leute!
Bin neu hier.
Habe seit gestern nen RasperryPi 3b+ mit IO Broker installiert und bei der Installation des Mi Vacuum Adapter kommt bei mir folgende Fehlermeldung:$ ./iobroker add mihome-vacuum --host raspberrypi3b-iob NPM version: 6.14.4 npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call) In file included from ../src/backend/Backend.h:6, from ../src/backend/Backend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/backend/Backend.h:6, from ../src/backend/ImageBackend.h:3, from ../src/backend/ImageBackend.cc:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/backend/PdfBackend.h:4, from ../src/backend/PdfBackend.cc:1:../src/backend/../closure.h:6:10: fatal error: jpeglib.h: Datei oder Verzeichnis nicht gefunden #include <jpeglib.h> ^~~~~~~~~~~compilation terminated. make: *** [canvas.target.mk:156: Release/obj.target/canvas/src/backend/PdfBackend.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:310:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.97-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--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-v72"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.16.3gyp 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 build --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-v72' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310: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.97-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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.16.3node-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-05-10T10_32_50_598Z-debug.log ERROR: host.raspberrypi3b-iob Cannot install iobroker.mihome-vacuum@2.0.7 :1 ERROR: process exited with code 25Versuche ich die Canvas Dateien über die Konsole zu installieren haut er mir auch eine Fehlermeldung raus.
Vielleicht liegt es ja auch an anderen Dateien?
Bin leide runter Linux komplett unerfahren und weiß anhand der Fehlermeldung nicht genau, wo das Problem liegt.
Kann mir jemand auf die Sprünge helfen?Danke!
Systemdata Bitte Ausfüllen Hardwaresystem: PI3B+ Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: Raspian Buster Light Node-Version: 12.16.3 Nodejs-Version: 12.16.3 NPM-Version: 6.14.4 Installationsart: Skript Image genutzt: Ja Ort/Name der Imagedatei: https://downloads.raspberrypi.org/raspbian_lite_latest PI3b+ @HanSolo78 canvas bauen. Hab das die Tage in irgendeinem Thread gemacht. Kann aber gerade nicht gut suchen. Schau mal meine Posts durch.
-
@HanSolo78 canvas bauen. Hab das die Tage in irgendeinem Thread gemacht. Kann aber gerade nicht gut suchen. Schau mal meine Posts durch.
@Thomas-Braun sagte in Mi Vacuum Adapter - Fehler bei Installation:
@HanSolo78 canvas bauen. Hab das die Tage in irgendeinem Thread gemacht. Kann aber gerade nicht gut suchen. Schau mal meine Posts durch.
Besten Dank!
Problem gelöst, Sonntag gerettet :)
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