Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Update js-controller und node.js

NEWS

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

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

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

Update js-controller und node.js

Scheduled Pinned Locked Moved ioBroker Allgemein
update js-controller node.js
93 Posts 10 Posters 65.2k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Josh
    wrote on last edited by
    #6

    OK, danke für die Bestätigungen. Ich werde mich morgen nochmal daran geben.

    Master: Intel NUC10i5-32GB-1TB_SSD - Proxmox 8.3 - LXC Debian 11
    Slave1: RPi3B - ZigBee CC2652P - 10x DS18B20
    Slave2: RPi3B - ZigBee CC2538+CC2592
    node.js 20.18.1 / NPM 10.8.2 / js-controller 7.0.3

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Josh
      wrote on last edited by
      #7

      Hab's gewagt und gewonnen 🙂 et läuft.

      Danke für alle Antworten.

      Gruß Josh

      Master: Intel NUC10i5-32GB-1TB_SSD - Proxmox 8.3 - LXC Debian 11
      Slave1: RPi3B - ZigBee CC2652P - 10x DS18B20
      Slave2: RPi3B - ZigBee CC2538+CC2592
      node.js 20.18.1 / NPM 10.8.2 / js-controller 7.0.3

      HomoranH 1 Reply Last reply
      0
      • J Josh

        Hab's gewagt und gewonnen 🙂 et läuft.

        Danke für alle Antworten.

        Gruß Josh

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #8

        @Josh sagte in Update js-controller und node.js:

        et läuft.

        deit et dat?

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        K 1 Reply Last reply
        0
        • J Offline
          J Offline
          Josh
          wrote on last edited by
          #9

          sischer dat 🙂

          Master: Intel NUC10i5-32GB-1TB_SSD - Proxmox 8.3 - LXC Debian 11
          Slave1: RPi3B - ZigBee CC2652P - 10x DS18B20
          Slave2: RPi3B - ZigBee CC2538+CC2592
          node.js 20.18.1 / NPM 10.8.2 / js-controller 7.0.3

          1 Reply Last reply
          0
          • HomoranH Homoran

            @Josh sagte in Update js-controller und node.js:

            et läuft.

            deit et dat?

            K Offline
            K Offline
            klausiob
            wrote on last edited by
            #10

            @Homoran Hallo müßte auchmal updaten (Meine Devise: never change a running system). Habe noch 12 alte Adapterversionen, node.js 8.16.2 und js-Controller 1.5.14. Sollte ich hier eine Reihenfolge berücksichtigen. Sollte ich gleich alles auf Latest updaten? Oder node.js erstmal auf 10 und js-controller auf 2?
            Für eine mutmachende Antwort würde ich mich freuen.🤒
            VG klausiob

            Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
            node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

            HomoranH 1 Reply Last reply
            0
            • K klausiob

              @Homoran Hallo müßte auchmal updaten (Meine Devise: never change a running system). Habe noch 12 alte Adapterversionen, node.js 8.16.2 und js-Controller 1.5.14. Sollte ich hier eine Reihenfolge berücksichtigen. Sollte ich gleich alles auf Latest updaten? Oder node.js erstmal auf 10 und js-controller auf 2?
              Für eine mutmachende Antwort würde ich mich freuen.🤒
              VG klausiob

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #11

              @klausiob sagte in Update js-controller und node.js:

              Für eine mutmachende Antwort würde ich mich freuen.

              Optimist!

              Wenn du jetzt updatest würde ich direkt den großen Sprung machen, dann kannst du es wieder lange unberührt lassen (wenn es denn unbedingt sein muss)

              Node.js 12!
              Admin 3.x (der 4er ist auch bald soweit, hat noch ein paar Kinderkrankheiten)
              js-controller 2.2.x

              Latest muss nicht außer wenn du einen Adapter updaten willst, der einen höheren anderen Adapter benötigt (war mal so mit javascript und admin) dann "kurz" auf latest umschalten, diesen einen Adapter updaten und alles andere auf stable lassen, dann wieder repo auf default zurück

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              K 2 Replies Last reply
              0
              • HomoranH Homoran

                @klausiob sagte in Update js-controller und node.js:

                Für eine mutmachende Antwort würde ich mich freuen.

                Optimist!

                Wenn du jetzt updatest würde ich direkt den großen Sprung machen, dann kannst du es wieder lange unberührt lassen (wenn es denn unbedingt sein muss)

                Node.js 12!
                Admin 3.x (der 4er ist auch bald soweit, hat noch ein paar Kinderkrankheiten)
                js-controller 2.2.x

                Latest muss nicht außer wenn du einen Adapter updaten willst, der einen höheren anderen Adapter benötigt (war mal so mit javascript und admin) dann "kurz" auf latest umschalten, diesen einen Adapter updaten und alles andere auf stable lassen, dann wieder repo auf default zurück

                K Offline
                K Offline
                klausiob
                wrote on last edited by klausiob
                #12

                @Homoran Danke. Ja eigentlich hätte ich gern den js-Controller erstmal auf 2.2.x gemacht, da einige Adapter-Updates das verlangen. Haste da mal einen Anleitungslink oder wie ich gezielt den 2.2.x update.

                OK. Ging nicht update js-controller auf 2.2.x benötigt node.js >= 10. Also auf 10 upgedatet, ging ohne Probleme (außer iobroker ließ sich nicht sauber alles stoppen), dann js-contoller auf latest (3.0.18). Nun kann ich die restlichen Adapter noch updaten. Dank an @Josh für die übersichliche Darstellung und natürlich an Dich @Homoran
                VG klausiob

                Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                1 Reply Last reply
                0
                • HomoranH Homoran

                  @klausiob sagte in Update js-controller und node.js:

                  Für eine mutmachende Antwort würde ich mich freuen.

                  Optimist!

                  Wenn du jetzt updatest würde ich direkt den großen Sprung machen, dann kannst du es wieder lange unberührt lassen (wenn es denn unbedingt sein muss)

                  Node.js 12!
                  Admin 3.x (der 4er ist auch bald soweit, hat noch ein paar Kinderkrankheiten)
                  js-controller 2.2.x

                  Latest muss nicht außer wenn du einen Adapter updaten willst, der einen höheren anderen Adapter benötigt (war mal so mit javascript und admin) dann "kurz" auf latest umschalten, diesen einen Adapter updaten und alles andere auf stable lassen, dann wieder repo auf default zurück

                  K Offline
                  K Offline
                  klausiob
                  wrote on last edited by klausiob
                  #13

                  @Homoran Nach meinem Node und js-controller updates gibt es ein Problem mit dem Update einiger Adapter, wie folgt

                  $ ./iobroker upgrade vis-materialdesign
                  Update vis-materialdesign from @0.3.4 to @0.3.6
                  NPM version: 6.14.4
                  npm install iobroker.vis-materialdesign@0.3.6 --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: 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:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+
                  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-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp
                   ERR! node -v v10.20.1gyp 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 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-v64' (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:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                  node-pre-gyp ERR! System Linux 4.14.79-v7+node-pre-gyp ERR! command "/usr/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/canvas
                  node-pre-gyp ERR! node -v v10.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
                  ERR!
                   
                  sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info
                   sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                  ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
                  compilation terminated.
                  make: *** [Release/obj.target/sharp/src/common.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:191:23)gyp ERR! stack
                       at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  gyp
                   ERR! System Linux 4.14.79-v7+gyp
                   ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR!
                   node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                   
                  Killed
                  ERROR: host.hsmart Cannot install iobroker.vis-materialdesign@0.3.6: 137
                  ERROR: process exited with code 25
                  

                  Ursache bzw.Lösung: should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found ?

                  VG klausiob

                  Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                  node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                  Thomas BraunT 1 Reply Last reply
                  0
                  • K klausiob

                    @Homoran Nach meinem Node und js-controller updates gibt es ein Problem mit dem Update einiger Adapter, wie folgt

                    $ ./iobroker upgrade vis-materialdesign
                    Update vis-materialdesign from @0.3.4 to @0.3.6
                    NPM version: 6.14.4
                    npm install iobroker.vis-materialdesign@0.3.6 --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: 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:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+
                    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-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp
                     ERR! node -v v10.20.1gyp 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 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-v64' (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:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                    node-pre-gyp ERR! System Linux 4.14.79-v7+node-pre-gyp ERR! command "/usr/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/canvas
                    node-pre-gyp ERR! node -v v10.20.1node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
                    ERR!
                     
                    sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info
                     sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                    ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
                    compilation terminated.
                    make: *** [Release/obj.target/sharp/src/common.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:191:23)gyp ERR! stack
                         at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                    gyp
                     ERR! System Linux 4.14.79-v7+gyp
                     ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR!
                     node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                     
                    Killed
                    ERROR: host.hsmart Cannot install iobroker.vis-materialdesign@0.3.6: 137
                    ERROR: process exited with code 25
                    

                    Ursache bzw.Lösung: should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' found ?

                    VG klausiob

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by Thomas Braun
                    #14

                    @klausiob said in Update js-controller und node.js:

                    Package pixman-1

                    npm i canvas
                    

                    im Verzeichis /opt/iobroker ausführen.
                    Wenn das nicht weiter hilft:

                    sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev librsvg2-dev
                    

                    (Wenn du da was Debian-artiges fährst)

                    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

                    K 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @klausiob said in Update js-controller und node.js:

                      Package pixman-1

                      npm i canvas
                      

                      im Verzeichis /opt/iobroker ausführen.
                      Wenn das nicht weiter hilft:

                      sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev librsvg2-dev
                      

                      (Wenn du da was Debian-artiges fährst)

                      K Offline
                      K Offline
                      klausiob
                      wrote on last edited by klausiob
                      #15

                      @Thomas-Braun
                      Vorschlag 1 bringt folgendes Ergebnis:

                      :/opt/iobroker $ npm i canvas
                      
                      > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
                      > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
                      
                      ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                      info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                      info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                      make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten
                        CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
                        AR(target) Release/obj.target/../node-addon-api/src/nothing.a
                        COPY Release/nothing.a
                        TOUCH Release/obj.target/libvips-cpp.stamp
                        CXX(target) Release/obj.target/sharp/src/common.o
                      ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
                       #include <vips/vips8>
                                            ^
                      compilation terminated.
                      sharp.target.mk:130: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte
                      make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
                      make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.14.79-v7+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/sharp
                      gyp ERR! node -v v10.20.1
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      
                      > 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
                      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
                      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                      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:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.14.79-v7+
                      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-v64"
                      gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      gyp ERR! node -v v10.20.1
                      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=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (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:198:13)
                      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                      node-pre-gyp ERR! System Linux 4.14.79-v7+
                      node-pre-gyp ERR! command "/usr/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/canvas
                      node-pre-gyp ERR! node -v v10.20.1
                      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=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp):
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 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-05-02T06_59_03_859Z-debug.log
                      
                      

                      Bei Vorschlag 2:

                      E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/t/tiff/libtiff5_4.0.8-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
                      E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
                      
                      

                      Bin offenbar nicht der einzigste mit dem Fehler: Link Text

                      Der Vorschlag hier hat auch nichts gebracht:

                      sudo apt-get remove build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Paket »libgif-dev« ist nicht installiert, wird also auch nicht entfernt.
                      Paket »libjpeg-dev« ist nicht installiert, wird also auch nicht entfernt.
                      Paket »libpango1.0-dev« ist nicht installiert, wird also auch nicht entfernt.
                      Paket »librsvg2-dev« ist nicht installiert, wird also auch nicht entfernt.
                      Paket »libcairo2-dev« ist nicht installiert, wird also auch nicht entfernt.
                      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                        g++ g++-6 libstdc++-6-dev
                      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                      Die folgenden Pakete werden ENTFERNT:
                        build-essential
                      0 aktualisiert, 0 neu installiert, 1 zu entfernen und 91 nicht aktualisiert.
                      Nach dieser Operation werden 20,5 kB Plattenplatz freigegeben.
                      Möchten Sie fortfahren? [J/n] j
                      (Lese Datenbank ... 41607 Dateien und Verzeichnisse sind derzeit installiert.)
                      Entfernen von build-essential (12.3) ...
                      
                      

                      Da muß wohl ein Profi mal drauf gucken. Das habe ich noch gefunden:
                      Link Text

                      Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                      node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                      Thomas BraunT 1 Reply Last reply
                      0
                      • K klausiob

                        @Thomas-Braun
                        Vorschlag 1 bringt folgendes Ergebnis:

                        :/opt/iobroker $ npm i canvas
                        
                        > sharp@0.25.2 install /opt/iobroker/node_modules/sharp
                        > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
                        
                        ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                        info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                        info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten
                          CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
                          AR(target) Release/obj.target/../node-addon-api/src/nothing.a
                          COPY Release/nothing.a
                          TOUCH Release/obj.target/libvips-cpp.stamp
                          CXX(target) Release/obj.target/sharp/src/common.o
                        ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
                         #include <vips/vips8>
                                              ^
                        compilation terminated.
                        sharp.target.mk:130: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte
                        make: *** [Release/obj.target/sharp/src/common.o] Fehler 1
                        make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen
                        gyp ERR! build error
                        gyp ERR! stack Error: `make` failed with exit code: 2
                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                        gyp ERR! System Linux 4.14.79-v7+
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/sharp
                        gyp ERR! node -v v10.20.1
                        gyp ERR! node-gyp -v v5.1.0
                        gyp ERR! not ok
                        
                        > 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
                        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-linux-glibc-arm.tar.gz
                        node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@10.20.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                        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:198:13)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                        gyp ERR! System Linux 4.14.79-v7+
                        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-v64"
                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                        gyp ERR! node -v v10.20.1
                        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=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (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:198:13)
                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                        node-pre-gyp ERR! System Linux 4.14.79-v7+
                        node-pre-gyp ERR! command "/usr/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/canvas
                        node-pre-gyp ERR! node -v v10.20.1
                        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=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp):
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 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-05-02T06_59_03_859Z-debug.log
                        
                        

                        Bei Vorschlag 2:

                        E: Fehlschlag beim Holen von http://raspbian.raspberrypi.org/raspbian/pool/main/t/tiff/libtiff5_4.0.8-2+deb9u4_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
                        E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
                        
                        

                        Bin offenbar nicht der einzigste mit dem Fehler: Link Text

                        Der Vorschlag hier hat auch nichts gebracht:

                        sudo apt-get remove build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.
                        Statusinformationen werden eingelesen.... Fertig
                        Paket »libgif-dev« ist nicht installiert, wird also auch nicht entfernt.
                        Paket »libjpeg-dev« ist nicht installiert, wird also auch nicht entfernt.
                        Paket »libpango1.0-dev« ist nicht installiert, wird also auch nicht entfernt.
                        Paket »librsvg2-dev« ist nicht installiert, wird also auch nicht entfernt.
                        Paket »libcairo2-dev« ist nicht installiert, wird also auch nicht entfernt.
                        Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                          g++ g++-6 libstdc++-6-dev
                        Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                        Die folgenden Pakete werden ENTFERNT:
                          build-essential
                        0 aktualisiert, 0 neu installiert, 1 zu entfernen und 91 nicht aktualisiert.
                        Nach dieser Operation werden 20,5 kB Plattenplatz freigegeben.
                        Möchten Sie fortfahren? [J/n] j
                        (Lese Datenbank ... 41607 Dateien und Verzeichnisse sind derzeit installiert.)
                        Entfernen von build-essential (12.3) ...
                        
                        

                        Da muß wohl ein Profi mal drauf gucken. Das habe ich noch gefunden:
                        Link Text

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #16

                        @klausiob

                        sudo apt update 
                        

                        und dann nochmal die Pakete wie oben beschrieben installieren. Welches System hast du da eigentlich?

                        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

                        K 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @klausiob

                          sudo apt update 
                          

                          und dann nochmal die Pakete wie oben beschrieben installieren. Welches System hast du da eigentlich?

                          K Offline
                          K Offline
                          klausiob
                          wrote on last edited by klausiob
                          #17

                          @Thomas-Braun Installation der Pakete lief erstmal fehlerfrei durch. Dummerweise scheint iobroker trotz o.g. Fehler die Updates zu installieren. Daher mußte ich jetzt ein anderen Adapter nehmen. Da kommen jetzt andere Fehler, aber offenbar zum gleichen Thema "imageprocessing" :

                          $ ./iobroker upgrade shelly
                          Update shelly from @3.2.5 to @3.2.6
                          NPM version: 6.14.4
                          npm install iobroker.shelly@3.2.6 --loglevel error --prefix "/opt/iobroker" (System call)
                          ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data > imgdOffset, "image data overlaps with another structure");
                               ~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                                   ^~~~
                          ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                               ~~~~~~~~~~~~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                                   ^~~~
                          ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]     if (canvas->nBytes() > node::Buffer::kMaxLength) {         ~~~~~~~~~~~~~~~~~^~~~~~
                          ERR!
                           
                          sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                          ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
                          compilation terminated.
                          make: *** [Release/obj.target/sharp/src/common.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:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                          Killed
                          ERROR: host.hsmart Cannot install iobroker.shelly@3.2.6: 137
                          ERROR: process exited with code 25
                          

                          Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                          node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                          Thomas BraunT 1 Reply Last reply
                          0
                          • K klausiob

                            @Thomas-Braun Installation der Pakete lief erstmal fehlerfrei durch. Dummerweise scheint iobroker trotz o.g. Fehler die Updates zu installieren. Daher mußte ich jetzt ein anderen Adapter nehmen. Da kommen jetzt andere Fehler, aber offenbar zum gleichen Thema "imageprocessing" :

                            $ ./iobroker upgrade shelly
                            Update shelly from @3.2.5 to @3.2.6
                            NPM version: 6.14.4
                            npm install iobroker.shelly@3.2.6 --loglevel error --prefix "/opt/iobroker" (System call)
                            ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                 ~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                                     ^~~~
                            ../src/bmp/BMPParser.cc:204:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg)
                                                     ^~~~
                            ../src/Canvas.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Canvas::ToBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Canvas.cc:415:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]     if (canvas->nBytes() > node::Buffer::kMaxLength) {         ~~~~~~~~~~~~~~~~~^~~~~~
                            ERR!
                             
                            sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1info sharp Attempting to build from source via node-gyp but this may fail due to the above errorinfo sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                            ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8>                      ^
                            compilation terminated.
                            make: *** [Release/obj.target/sharp/src/common.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:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.79-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/sharpgyp ERR! node -v v10.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                            Killed
                            ERROR: host.hsmart Cannot install iobroker.shelly@3.2.6: 137
                            ERROR: process exited with code 25
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #18

                            @klausiob Was für ein System läuft da?

                            lsb_release -a
                            

                            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

                            K 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @klausiob Was für ein System läuft da?

                              lsb_release -a
                              
                              K Offline
                              K Offline
                              klausiob
                              wrote on last edited by
                              #19

                              @Thomas-Braun sagte in Update js-controller und node.js:

                              lsb_release -a

                              No LSB modules are available.
                              Distributor ID: Raspbian
                              Description:    Raspbian GNU/Linux 9.6 (stretch)
                              Release:        9.6
                              Codename:       stretch
                              
                              

                              Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                              node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                              Thomas BraunT 1 Reply Last reply
                              0
                              • K klausiob

                                @Thomas-Braun sagte in Update js-controller und node.js:

                                lsb_release -a

                                No LSB modules are available.
                                Distributor ID: Raspbian
                                Description:    Raspbian GNU/Linux 9.6 (stretch)
                                Release:        9.6
                                Codename:       stretch
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by
                                #20

                                @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                                Ich fürchte nur, das baut keiner für Stretch.

                                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

                                K S 2 Replies Last reply
                                0
                                • Thomas BraunT Thomas Braun

                                  @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                                  Ich fürchte nur, das baut keiner für Stretch.

                                  K Offline
                                  K Offline
                                  klausiob
                                  wrote on last edited by
                                  #21

                                  @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                                  Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                                  VG klausiob

                                  Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                                  node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                                  Thomas BraunT K 2 Replies Last reply
                                  0
                                  • K klausiob

                                    @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                                    Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                                    VG klausiob

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #22

                                    @klausiob
                                    Ich fahre ein raspbian Buster/stable bei mir. Ein dist-upgrade ist ja kein Hexenwerk.

                                    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 Reply Last reply
                                    0
                                    • K klausiob

                                      @Thomas-Braun Also Sackgasse? Das war aber die letztes Jahr empfohlene Disribution für den Raspi und Iobroker. Da können die doch einen nicht hängen lassen, noch dazu weil andere wohl auch das Problem haben nach dem Update von node und js-controller.
                                      Welche Alternativen gibts? Will evtl. auf einen Raspi 4 umsteigen und da muß ich ja eh allse neu aufsetzen.
                                      VG klausiob

                                      K Offline
                                      K Offline
                                      klausiob
                                      wrote on last edited by
                                      #23

                                      @Homoran Ist es notwendig das rasbian stretch auf buster upzugraden, um die Fehler, die auch andere haben Fehlermeldung bei manuelles Update / Adapter zu vermeiden? Leider hat die Lösung gelöst - Was bedeudet diese Fehlermeldung? nicht funktioniert.

                                      Pi4B, Pi3B+, Master-Slave, EchoPlus, 3xEchoDot, FireTVstick, Xiaomi Sensoren, Fritzbox, DECT200, HS100, ZBT-ExtendedColor (ALDI), Shelly 2.5, 2xZigBee-Router-Plugs, Sileno 500 smart, Somfy switch, IONIQ5, tibber
                                      node.js: 22.21.0 - npm: 10.9.4 - linux: raspbian-trixie - admin 7.7.19 - vis 1.5.6 - js-controller: 7.0.7

                                      1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                                        Ich fürchte nur, das baut keiner für Stretch.

                                        S Offline
                                        S Offline
                                        Smartuser
                                        wrote on last edited by
                                        #24

                                        @Thomas-Braun sagte in Update js-controller und node.js:

                                        @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                                        Ich fürchte nur, das baut keiner für Stretch.

                                        Hallöchen,

                                        ich häng mich hier mal mit dran. Nur an Stretch allein scheint es nicht zu liegen. Bei buster tritt auch diese Medlung auf.

                                        rock64@rock64:/opt/iobroker$ iobroker upgrade backitup
                                        Update backitup from @1.4.5 to @1.5.6
                                        host.rock64 Adapter "system.adapter.backitup.0" is stopped.
                                        NPM version: 6.14.4
                                        npm install iobroker.backitup@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                                        ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                                        info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                                        info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                        ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                                         #include <vips/vips8>
                                                  ^~~~~~~~~~~~
                                        compilation terminated.
                                        make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp 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.4.213-rockchip64
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/sharp
                                        gyp ERR! node -v v12.16.3
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp ERR! not ok
                                        upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                        Update "system.adapter.backitup.0"
                                        upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                        upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                        upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                        Adapter "backitup" updated
                                        host.rock64 Adapter "system.adapter.backitup.0" is started
                                        

                                        Die Updates laufen trotz der Fehlermeldung.
                                        Hardware: Rock64
                                        JS-Controller: 3.0.20
                                        Dist (stable buster):

                                        rock64@rock64:/opt/iobroker$ lsb_release -a
                                        No LSB modules are available.
                                        Distributor ID: Debian
                                        Description:    Debian GNU/Linux 10 (buster)
                                        Release:        10
                                        Codename:       buster
                                        

                                        Node/NodeJS:

                                        rock64@rock64:/opt/iobroker$ node -v
                                        v12.16.3
                                        rock64@rock64:/opt/iobroker$ nodejs -v
                                        v12.16.3
                                        

                                        Grüße

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • S Smartuser

                                          @Thomas-Braun sagte in Update js-controller und node.js:

                                          @klausiob Du brauchst ein aktuelles libvips bzw. libvips-dev
                                          Ich fürchte nur, das baut keiner für Stretch.

                                          Hallöchen,

                                          ich häng mich hier mal mit dran. Nur an Stretch allein scheint es nicht zu liegen. Bei buster tritt auch diese Medlung auf.

                                          rock64@rock64:/opt/iobroker$ iobroker upgrade backitup
                                          Update backitup from @1.4.5 to @1.5.6
                                          host.rock64 Adapter "system.adapter.backitup.0" is stopped.
                                          NPM version: 6.14.4
                                          npm install iobroker.backitup@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                                          ERR! sharp Use with glibc 2.28 requires manual installation of libvips >= 8.9.1
                                          info sharp Attempting to build from source via node-gyp but this may fail due to the above error
                                          info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
                                          ../src/common.cc:23:10: fatal error: vips/vips8: No such file or directory
                                           #include <vips/vips8>
                                                    ^~~~~~~~~~~~
                                          compilation terminated.
                                          make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                          gyp ERR! build error
                                          gyp ERR! stack Error: `make` failed with exit code: 2
                                          gyp 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.4.213-rockchip64
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          gyp ERR! cwd /opt/iobroker/node_modules/sharp
                                          gyp ERR! node -v v12.16.3
                                          gyp ERR! node-gyp -v v5.1.0
                                          gyp ERR! not ok
                                          upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                          Update "system.adapter.backitup.0"
                                          upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                          upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                          upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                          Adapter "backitup" updated
                                          host.rock64 Adapter "system.adapter.backitup.0" is started
                                          

                                          Die Updates laufen trotz der Fehlermeldung.
                                          Hardware: Rock64
                                          JS-Controller: 3.0.20
                                          Dist (stable buster):

                                          rock64@rock64:/opt/iobroker$ lsb_release -a
                                          No LSB modules are available.
                                          Distributor ID: Debian
                                          Description:    Debian GNU/Linux 10 (buster)
                                          Release:        10
                                          Codename:       buster
                                          

                                          Node/NodeJS:

                                          rock64@rock64:/opt/iobroker$ node -v
                                          v12.16.3
                                          rock64@rock64:/opt/iobroker$ nodejs -v
                                          v12.16.3
                                          

                                          Grüße

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #25

                                          @Smartuser sagte in Update js-controller und node.js:

                                          Nur an Stretch allein scheint es nicht zu liegen.

                                          Nein, auch in buster muss man noch Hand anlegen. Aber deutlich weniger als unter stretch.

                                          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

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          768

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe