Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter mihome-vacuum v2.0.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Test Adapter mihome-vacuum v2.0.x

Geplant Angeheftet Gesperrt Verschoben Tester
xiaomiroborockmihome-vacuummap
1.5k Beiträge 144 Kommentatoren 498.1k Aufrufe 118 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F Freaknet

    @Thomas-Braun

    Jupp bin ich grad am studieren ;-)
    Werde das Kind schon schaukeln.
    Danke bis dahin für die tolle Hilfe!

    Hier auch noch meine aktuelle package.json

    stefan@debian-iobroker:~$ getfacl /opt/iobroker/node_modules/canvas/package.json
    getfacl: Entferne führende '/' von absoluten Pfadnamen
    # file: opt/iobroker/node_modules/canvas/package.json
    # owner: iobroker
    # group: iobroker
    user::rw-
    group::r-x			#effective:r--
    group:iobroker:rwx		#effective:r--
    mask::r--
    other::r--
    
    S Offline
    S Offline
    Sweatchuck
    schrieb am zuletzt editiert von Sweatchuck
    #1025

    @Freaknet

    Ich habe das gleiche Problem. Seit dem Update auf nodejs 12.xxx ist die Karte weg. Vorher lief das ganze ohne Probleme somit schließe ich ein Problem mit Canvas aus.

    Denke, dass das bei dir auch nicht viel bringen wird... Entweder zurück auf nodejs 10.xxx oder ohne Karte leben bis jemand dieses Problem mit der neuen nodejs-Version lösen kann.

    Ich teste heute mal ein Downgrade von nodejs, muss mich aber auch erst etwas belesen.

    Grüße

    ? F 2 Antworten Letzte Antwort
    0
    • D dirkhe

      @BoehserWolf klingt entweder nach fehlender Netzwerk Verbindung oder ggf. Geblockter Internetverbindung. Sicher das Server, key, ip use. Richtig sind?

      B Offline
      B Offline
      BoehserWolf
      schrieb am zuletzt editiert von
      #1026

      @dirkhe said in Test Adapter mihome-vacuum v2.0.x:

      @BoehserWolf klingt entweder nach fehlender Netzwerk Verbindung oder ggf. Geblockter Internetverbindung. Sicher das Server, key, ip use. Richtig sind?

      So bin endlich dazu gekommen. Also ja, habe eine Firewall laufen aber geblockt wurde nix. Vorsichtshalber habe ich den Server auf die Whitelist gesetzt und hatte auch da das selbe Fehlerbild. Der Client, von dem ich iobroker bediene, ist ebenfalls nicht in der Firewall aufgelaufen. Keine Adblocker oder sonstiges am Laufen. Am Server habe ich weder im iobroker Log noch im journalctl etwas gefunden.

      Was meinst du mit IP? Ich muss doch nur diese Felder ausfüllen (Email, Passwort, Server) und "Get Devices" wählen oder?
      b2e649d8-e7ad-43bf-b3fa-e9c1e2a5c03c-grafik.png

      Hast du noch eine andere Idee?

      D 1 Antwort Letzte Antwort
      0
      • S Sweatchuck

        @Freaknet

        Ich habe das gleiche Problem. Seit dem Update auf nodejs 12.xxx ist die Karte weg. Vorher lief das ganze ohne Probleme somit schließe ich ein Problem mit Canvas aus.

        Denke, dass das bei dir auch nicht viel bringen wird... Entweder zurück auf nodejs 10.xxx oder ohne Karte leben bis jemand dieses Problem mit der neuen nodejs-Version lösen kann.

        Ich teste heute mal ein Downgrade von nodejs, muss mich aber auch erst etwas belesen.

        Grüße

        ? Offline
        ? Offline
        Ein ehemaliger Benutzer
        schrieb am zuletzt editiert von
        #1027

        @Sweatchuck Also der Adapter läuft mit Node 12.x einwandfrei, wenn du von 10 nach 12 ein Update gefahren hast, dann solltest du canvas neu builden, sonst geht das nicht.

        1 Antwort Letzte Antwort
        -1
        • S Sweatchuck

          @Freaknet

          Ich habe das gleiche Problem. Seit dem Update auf nodejs 12.xxx ist die Karte weg. Vorher lief das ganze ohne Probleme somit schließe ich ein Problem mit Canvas aus.

          Denke, dass das bei dir auch nicht viel bringen wird... Entweder zurück auf nodejs 10.xxx oder ohne Karte leben bis jemand dieses Problem mit der neuen nodejs-Version lösen kann.

          Ich teste heute mal ein Downgrade von nodejs, muss mich aber auch erst etwas belesen.

          Grüße

          F Offline
          F Offline
          Freaknet
          schrieb am zuletzt editiert von
          #1028

          @Sweatchuck said in Test Adapter mihome-vacuum v2.0.x:

          @Freaknet

          Ich habe das gleiche Problem. Seit dem Update auf nodejs 12.xxx ist die Karte weg. Vorher lief das ganze ohne Probleme somit schließe ich ein Problem mit Canvas aus.

          Hey, das dachte ich auch als letztes, aber dank @Thomas-Braun der mich auf den Fehler bei der Rechtevergabe einzelner Dateien unter /node_modules/canvas verwiesen hat konnte ich das Problem lösen. Habe die Rechte nach Post von Thomas-Brau von oben dann angepasst mit setfacl und siehe da, die Karte ist wieder da :blush: :+1:

          Nochmal großen Dank an @Thomas-Braun !
          Hat zwar bissl gedauert bis ich dahinter gestiegen bin, aber jetzt läuft alles wieder :-)

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • F Freaknet

            @Sweatchuck said in Test Adapter mihome-vacuum v2.0.x:

            @Freaknet

            Ich habe das gleiche Problem. Seit dem Update auf nodejs 12.xxx ist die Karte weg. Vorher lief das ganze ohne Probleme somit schließe ich ein Problem mit Canvas aus.

            Hey, das dachte ich auch als letztes, aber dank @Thomas-Braun der mich auf den Fehler bei der Rechtevergabe einzelner Dateien unter /node_modules/canvas verwiesen hat konnte ich das Problem lösen. Habe die Rechte nach Post von Thomas-Brau von oben dann angepasst mit setfacl und siehe da, die Karte ist wieder da :blush: :+1:

            Nochmal großen Dank an @Thomas-Braun !
            Hat zwar bissl gedauert bis ich dahinter gestiegen bin, aber jetzt läuft alles wieder :-)

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #1029

            @Freaknet Freut mich zu lesen.
            Als 'lesson learned' bitte 'Nicht-als-root-einloggen' mitnehmen. Offenbar hast du nämlich canvas als dieser in das System gebastelt.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            F 1 Antwort Letzte Antwort
            1
            • Thomas BraunT Thomas Braun

              @Freaknet Freut mich zu lesen.
              Als 'lesson learned' bitte 'Nicht-als-root-einloggen' mitnehmen. Offenbar hast du nämlich canvas als dieser in das System gebastelt.

              F Offline
              F Offline
              Freaknet
              schrieb am zuletzt editiert von
              #1030

              @Thomas-Braun

              Jupp, das habe ich aus der Aktion gelernt und mitgenommen ;-):+1:

              S 1 Antwort Letzte Antwort
              0
              • B BoehserWolf

                @dirkhe said in Test Adapter mihome-vacuum v2.0.x:

                @BoehserWolf klingt entweder nach fehlender Netzwerk Verbindung oder ggf. Geblockter Internetverbindung. Sicher das Server, key, ip use. Richtig sind?

                So bin endlich dazu gekommen. Also ja, habe eine Firewall laufen aber geblockt wurde nix. Vorsichtshalber habe ich den Server auf die Whitelist gesetzt und hatte auch da das selbe Fehlerbild. Der Client, von dem ich iobroker bediene, ist ebenfalls nicht in der Firewall aufgelaufen. Keine Adblocker oder sonstiges am Laufen. Am Server habe ich weder im iobroker Log noch im journalctl etwas gefunden.

                Was meinst du mit IP? Ich muss doch nur diese Felder ausfüllen (Email, Passwort, Server) und "Get Devices" wählen oder?
                b2e649d8-e7ad-43bf-b3fa-e9c1e2a5c03c-grafik.png

                Hast du noch eine andere Idee?

                D Offline
                D Offline
                dirkhe
                Developer
                schrieb am zuletzt editiert von
                #1031

                @BoehserWolf das machst du dort einmal, um den Token auszulesen. Wichtig ist, was untrn unter manuell setings steht

                KevinK 1 Antwort Letzte Antwort
                0
                • D dirkhe

                  @BoehserWolf das machst du dort einmal, um den Token auszulesen. Wichtig ist, was untrn unter manuell setings steht

                  KevinK Offline
                  KevinK Offline
                  Kevin
                  schrieb am zuletzt editiert von
                  #1032

                  Hatte auch das Problem mit nodejs12 das die map nicht mehr funktionierte. bin nun zurück auf 10.x und es hat sofort wieder funktioniert

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • KevinK Kevin

                    Hatte auch das Problem mit nodejs12 das die map nicht mehr funktionierte. bin nun zurück auf 10.x und es hat sofort wieder funktioniert

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #1033

                    @Kevin Was aber bestimmt kein Problem von node12 selber ist, sondern nur die Auswirkung von 'krummen' Installationen.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Antwort Letzte Antwort
                    0
                    • F Freaknet

                      @Thomas-Braun

                      Jupp, das habe ich aus der Aktion gelernt und mitgenommen ;-):+1:

                      S Offline
                      S Offline
                      Sweatchuck
                      schrieb am zuletzt editiert von
                      #1034

                      @Freaknet

                      Kannst du dein Vorgehen vielleicht beschreiben.

                      Kämpfe mich durch den Wiki-Eintrag, komme aber nicht weiter.

                      Habe allerdings eine Docker-Installation auf einer Synology DS

                      Danke

                      KevinK K 2 Antworten Letzte Antwort
                      0
                      • S Sweatchuck

                        @Freaknet

                        Kannst du dein Vorgehen vielleicht beschreiben.

                        Kämpfe mich durch den Wiki-Eintrag, komme aber nicht weiter.

                        Habe allerdings eine Docker-Installation auf einer Synology DS

                        Danke

                        KevinK Offline
                        KevinK Offline
                        Kevin
                        schrieb am zuletzt editiert von
                        #1035

                        @Sweatchuck geht mir auch so. Habe versucht canvas neu zu installieren, ging aber trotzdem nicht

                        1 Antwort Letzte Antwort
                        0
                        • S Sweatchuck

                          @Freaknet

                          Kannst du dein Vorgehen vielleicht beschreiben.

                          Kämpfe mich durch den Wiki-Eintrag, komme aber nicht weiter.

                          Habe allerdings eine Docker-Installation auf einer Synology DS

                          Danke

                          K Online
                          K Online
                          K_o_bold
                          schrieb am zuletzt editiert von K_o_bold
                          #1036

                          @Sweatchuck ,

                          falls du den Container von Buanet nutzt, dann nimm die neue Version 5 davon. Das ist eine saubere Installation mit node 12 und der aktuellste js-controller..

                          Ich empfehle ich dir folgende Vorgehensweise:

                          1. Backup von Iobroker mit z.B. backitup.
                          2. neues leeres Volume anlegen.
                          3. Container Image V 5 stable laden und starten
                          4. In den container wechseln und das backup einspielen.

                          Dann sollte alles laufen

                          S 1 Antwort Letzte Antwort
                          0
                          • X Offline
                            X Offline
                            xADDRx
                            schrieb am zuletzt editiert von
                            #1037

                            Also ich habe jetzt alles versucht. Habe auch den robi zurückgesetzt wieder verbunden.

                            Trotzdem werden sowohl die Räume als auch die Karte nicht geladen...

                            Kann es an Node 12 liegen??

                            Jemand eine Anleitung?

                            Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • X xADDRx

                              Also ich habe jetzt alles versucht. Habe auch den robi zurückgesetzt wieder verbunden.

                              Trotzdem werden sowohl die Räume als auch die Karte nicht geladen...

                              Kann es an Node 12 liegen??

                              Jemand eine Anleitung?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #1038

                              @xADDRx Liegt nicht an node12, aber vielleicht an eine falschen Installation von node oder canvas.
                              Ohne Meldungen im Log kann man da aber nichts zu sagen.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              KevinK 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @xADDRx Liegt nicht an node12, aber vielleicht an eine falschen Installation von node oder canvas.
                                Ohne Meldungen im Log kann man da aber nichts zu sagen.

                                KevinK Offline
                                KevinK Offline
                                Kevin
                                schrieb am zuletzt editiert von
                                #1039

                                @Thomas-Braun

                                Also ich hab es nun gefixed bekommen.

                                Node12 installieren
                                IoBroker fix
                                npm rebuild im IoBroker Verzeichnis
                                npm rebuild --build-from-source canvas
                                Iobroker fix

                                Seitdem funktioniert es auch mit node 12

                                Thomas BraunT X 3 Antworten Letzte Antwort
                                1
                                • KevinK Kevin

                                  @Thomas-Braun

                                  Also ich hab es nun gefixed bekommen.

                                  Node12 installieren
                                  IoBroker fix
                                  npm rebuild im IoBroker Verzeichnis
                                  npm rebuild --build-from-source canvas
                                  Iobroker fix

                                  Seitdem funktioniert es auch mit node 12

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #1040

                                  @Kevin Mein reden...

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  0
                                  • KevinK Kevin

                                    @Thomas-Braun

                                    Also ich hab es nun gefixed bekommen.

                                    Node12 installieren
                                    IoBroker fix
                                    npm rebuild im IoBroker Verzeichnis
                                    npm rebuild --build-from-source canvas
                                    Iobroker fix

                                    Seitdem funktioniert es auch mit node 12

                                    X Offline
                                    X Offline
                                    xADDRx
                                    schrieb am zuletzt editiert von
                                    #1041

                                    @Kevin verändert es irgendwas am System?

                                    Nicht das dann gar nichts mehr geht.

                                    Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

                                    KevinK 1 Antwort Letzte Antwort
                                    0
                                    • X xADDRx

                                      @Kevin verändert es irgendwas am System?

                                      Nicht das dann gar nichts mehr geht.

                                      KevinK Offline
                                      KevinK Offline
                                      Kevin
                                      schrieb am zuletzt editiert von
                                      #1042

                                      @xADDRx kann nur von meiner Erfahrung sprechen. Bei mir lief dannach immer noch alles wie davor.

                                      1 Antwort Letzte Antwort
                                      0
                                      • KevinK Kevin

                                        @Thomas-Braun

                                        Also ich hab es nun gefixed bekommen.

                                        Node12 installieren
                                        IoBroker fix
                                        npm rebuild im IoBroker Verzeichnis
                                        npm rebuild --build-from-source canvas
                                        Iobroker fix

                                        Seitdem funktioniert es auch mit node 12

                                        X Offline
                                        X Offline
                                        xADDRx
                                        schrieb am zuletzt editiert von
                                        #1043

                                        @Kevin IObroker fix ging durch..

                                        beim npm Fehler:

                                        root@debian:/opt/iobroker# npm rebuild
                                        
                                        > iobroker@1.0.6 install /opt/iobroker/node_modules/iobroker
                                        > node lib/setup.js
                                        
                                        NPM version: 6.13.4
                                        
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        NPM 5 is currently NOT supported!
                                        Please use "npm install -g npm@4" to downgrade npm to 4.x and try again.
                                        You need to make sure to downgrade again with the above command after you
                                        installed an update to nodejs/npm!
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! iobroker@1.0.6 install: `node lib/setup.js`
                                        npm ERR! Exit status 1
                                        npm ERR! 
                                        npm ERR! Failed at the iobroker@1.0.6 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-08-07T09_32_00_912Z-debug.log
                                        root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                                        
                                        > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                                        > node-pre-gyp install --fallback-to-build
                                        
                                        node-pre-gyp WARN Using request for node-pre-gyp https download 
                                        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 variable
                                        No 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: 1
                                        gyp 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:310:20)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                        gyp ERR! System Linux 4.9.0-4-amd64
                                        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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                        gyp ERR! node -v v12.16.3
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp 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=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.9.0-4-amd64
                                        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/canvas
                                        node-pre-gyp ERR! node -v v12.16.3
                                        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                        node-pre-gyp ERR! not ok 
                                        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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                        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 1
                                        npm 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-08-07T09_32_42_894Z-debug.log
                                        root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                                        
                                        > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                                        > node-pre-gyp install --fallback-to-build
                                        
                                        node-pre-gyp WARN Using request for node-pre-gyp https download 
                                        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 variable
                                        No 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: 1
                                        gyp 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:310:20)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                        gyp ERR! System Linux 4.9.0-4-amd64
                                        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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                        gyp ERR! node -v v12.16.3
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp 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=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.9.0-4-amd64
                                        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/canvas
                                        node-pre-gyp ERR! node -v v12.16.3
                                        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                        node-pre-gyp ERR! not ok 
                                        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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                        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 1
                                        npm 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-08-07T09_36_07_361Z-debug.log
                                        

                                        Sonos, Intel Nuc, Iobroker Pro, Proxmox, IPad Air (Wand), Vis, Xiaomi, Devolo, Bose, Philips Hue, Instar, Synology

                                        KevinK Thomas BraunT 2 Antworten Letzte Antwort
                                        0
                                        • X xADDRx

                                          @Kevin IObroker fix ging durch..

                                          beim npm Fehler:

                                          root@debian:/opt/iobroker# npm rebuild
                                          
                                          > iobroker@1.0.6 install /opt/iobroker/node_modules/iobroker
                                          > node lib/setup.js
                                          
                                          NPM version: 6.13.4
                                          
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          NPM 5 is currently NOT supported!
                                          Please use "npm install -g npm@4" to downgrade npm to 4.x and try again.
                                          You need to make sure to downgrade again with the above command after you
                                          installed an update to nodejs/npm!
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! iobroker@1.0.6 install: `node lib/setup.js`
                                          npm ERR! Exit status 1
                                          npm ERR! 
                                          npm ERR! Failed at the iobroker@1.0.6 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-08-07T09_32_00_912Z-debug.log
                                          root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                                          
                                          > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                                          > node-pre-gyp install --fallback-to-build
                                          
                                          node-pre-gyp WARN Using request for node-pre-gyp https download 
                                          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 variable
                                          No 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: 1
                                          gyp 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:310:20)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                          gyp ERR! System Linux 4.9.0-4-amd64
                                          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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                                          gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                          gyp ERR! node -v v12.16.3
                                          gyp ERR! node-gyp -v v5.1.0
                                          gyp 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=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.9.0-4-amd64
                                          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/canvas
                                          node-pre-gyp ERR! node -v v12.16.3
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp ERR! not ok 
                                          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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                          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 1
                                          npm 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-08-07T09_32_42_894Z-debug.log
                                          root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
                                          
                                          > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
                                          > node-pre-gyp install --fallback-to-build
                                          
                                          node-pre-gyp WARN Using request for node-pre-gyp https download 
                                          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 variable
                                          No 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: 1
                                          gyp 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:310:20)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                          gyp ERR! System Linux 4.9.0-4-amd64
                                          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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                                          gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                          gyp ERR! node -v v12.16.3
                                          gyp ERR! node-gyp -v v5.1.0
                                          gyp 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=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.9.0-4-amd64
                                          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/canvas
                                          node-pre-gyp ERR! node -v v12.16.3
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp ERR! not ok 
                                          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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                          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 1
                                          npm 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-08-07T09_36_07_361Z-debug.log
                                          
                                          KevinK Offline
                                          KevinK Offline
                                          Kevin
                                          schrieb am zuletzt editiert von
                                          #1044

                                          @xADDRx

                                          ist deine npm version aktuell?

                                          X 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          334

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe