Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Mi Vacuum Adapter - Fehler bei Installation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Mi Vacuum Adapter - Fehler bei Installation

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HanSolo78 last edited by HanSolo78

      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 25
      

      Versuche 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+
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @HanSolo78 last edited by

        @HanSolo78 canvas bauen. Hab das die Tage in irgendeinem Thread gemacht. Kann aber gerade nicht gut suchen. Schau mal meine Posts durch.

        H 1 Reply Last reply Reply Quote 0
        • H
          HanSolo78 @Thomas Braun last edited by

          @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 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          911
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          mi vacuum
          2
          3
          396
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo