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
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.1k

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

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

Update js-controller und node.js

Scheduled Pinned Locked Moved ioBroker Allgemein
update js-controller node.js
93 Posts 10 Posters 65.1k 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.
  • Thomas BraunT Thomas Braun

    @Smartuser Wooo... Da zieht libvips aber einiges mit...

    cd /opt/iobroker 
    npm i libvips
    
    S Offline
    S Offline
    Smartuser
    wrote on last edited by
    #50

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

    npm i libvips

    Hmmm ....

    rock64@rock64:/opt/iobroker$ npm i libvips
    
    > 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.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
    make: Entering directory '/opt/iobroker/node_modules/sharp/build'
      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
    In file included from ../src/common.cc:23:
    /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
     #include <glib-object.h>
              ^~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
    make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
    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
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
    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
    
    + libvips@0.0.2
    added 1 package in 101.931s
    
    22 packages are looking for funding
      run `npm fund` for details
    
    rock64@rock64:/opt/iobroker$
    
    
    Thomas BraunT 1 Reply Last reply
    0
    • S Smartuser

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

      npm i libvips

      Hmmm ....

      rock64@rock64:/opt/iobroker$ npm i libvips
      
      > 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.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
      make: Entering directory '/opt/iobroker/node_modules/sharp/build'
        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
      In file included from ../src/common.cc:23:
      /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
       #include <glib-object.h>
                ^~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
      make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
      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
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
      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
      
      + libvips@0.0.2
      added 1 package in 101.931s
      
      22 packages are looking for funding
        run `npm fund` for details
      
      rock64@rock64:/opt/iobroker$
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by Thomas Braun
      #51

      @Smartuser

      sudo apt install libglib2.0-dev
      

      Dann nochmal bauen:

      npm i libvips
      

      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
      • Thomas BraunT Thomas Braun

        @Smartuser

        sudo apt install libglib2.0-dev
        

        Dann nochmal bauen:

        npm i libvips
        
        S Offline
        S Offline
        Smartuser
        wrote on last edited by
        #52

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

        @Smartuser

        sudo apt install libglib2.0-dev
        

        Dann nochmal bauen:

        npm i libvips
        

        Ist schon aktuell 😞

        rock64@rock64:/opt/iobroker$ sudo apt install libglib2.0-dev
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        libglib2.0-dev is already the newest version (2.58.3-2+deb10u2).
        libglib2.0-dev set to manually installed.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        rock64@rock64:/opt/iobroker$
        
        1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @Smartuser

          sudo apt install libvips-dev
          

          [Edit:] Ich sehe gerade, die dürfte zu alt sein.

          apt policy libvips-dev
          
          S Offline
          S Offline
          Smartuser
          wrote on last edited by
          #53

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

          [Edit:] Ich sehe gerade, die dürfte zu alt sein.
          apt policy libvips-dev

          Ich seh grad, dass ich deinen editierten post nicht gesehen habe!
          Soll ich das nochmal ausführen?

          apt policy libvips-dev
          
          Thomas BraunT 1 Reply Last reply
          0
          • S Smartuser

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

            [Edit:] Ich sehe gerade, die dürfte zu alt sein.
            apt policy libvips-dev

            Ich seh grad, dass ich deinen editierten post nicht gesehen habe!
            Soll ich das nochmal ausführen?

            apt policy libvips-dev
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #54

            @Smartuser
            Ja, lass mal sehen.

            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
            • Thomas BraunT Thomas Braun

              @Smartuser
              Ja, lass mal sehen.

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

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

              @Smartuser
              Ja, lass mal sehen.

              rock64@rock64:/opt/iobroker$ apt policy libvips-dev
              libvips-dev:
                Installed: 8.7.4-1
                Candidate: 8.7.4-1
                Version table:
               *** 8.7.4-1 500
                      500 http://httpredir.debian.org/debian buster/main arm64 Packages
                      100 /var/lib/dpkg/status
              rock64@rock64:/opt/iobroker$
              
              Thomas BraunT 1 Reply Last reply
              0
              • S Smartuser

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

                @Smartuser
                Ja, lass mal sehen.

                rock64@rock64:/opt/iobroker$ apt policy libvips-dev
                libvips-dev:
                  Installed: 8.7.4-1
                  Candidate: 8.7.4-1
                  Version table:
                 *** 8.7.4-1 500
                        500 http://httpredir.debian.org/debian buster/main arm64 Packages
                        100 /var/lib/dpkg/status
                rock64@rock64:/opt/iobroker$
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by Thomas Braun
                #56

                @Smartuser

                npm rebuild libvips --build-from-source
                

                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
                • Thomas BraunT Thomas Braun

                  @Smartuser

                  npm rebuild libvips --build-from-source
                  
                  S Offline
                  S Offline
                  Smartuser
                  wrote on last edited by
                  #57

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

                  npm rebuild libvips --build-from-source

                  rock64@rock64:/opt/iobroker$ npm rebuild libvips --build-from-source
                  libvips@0.0.2 /opt/iobroker/node_modules/libvips
                  rock64@rock64:/opt/iobroker$
                  
                  
                  Thomas BraunT 1 Reply Last reply
                  0
                  • S Smartuser

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

                    npm rebuild libvips --build-from-source

                    rock64@rock64:/opt/iobroker$ npm rebuild libvips --build-from-source
                    libvips@0.0.2 /opt/iobroker/node_modules/libvips
                    rock64@rock64:/opt/iobroker$
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #58

                    @Smartuser Ich glaube die Syntax ist falsch.

                    npm rebuild --build-from-source libvips
                    

                    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
                    • Thomas BraunT Thomas Braun

                      @Smartuser Ich glaube die Syntax ist falsch.

                      npm rebuild --build-from-source libvips
                      
                      S Offline
                      S Offline
                      Smartuser
                      wrote on last edited by
                      #59

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

                      @Smartuser Ich glaube die Syntax ist falsch.

                      npm rebuild --build-from-source libvips
                      

                      Gleiches Ergebnis:

                      rock64@rock64:/opt/iobroker$ npm rebuild --build-from-source libvips
                      libvips@0.0.2 /opt/iobroker/node_modules/libvips
                      rock64@rock64:/opt/iobroker$
                      
                      Thomas BraunT 1 Reply Last reply
                      0
                      • S Smartuser

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

                        @Smartuser Ich glaube die Syntax ist falsch.

                        npm rebuild --build-from-source libvips
                        

                        Gleiches Ergebnis:

                        rock64@rock64:/opt/iobroker$ npm rebuild --build-from-source libvips
                        libvips@0.0.2 /opt/iobroker/node_modules/libvips
                        rock64@rock64:/opt/iobroker$
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #60

                        @Smartuser

                        npm i libvips@8.9.1
                        

                        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
                        • Thomas BraunT Thomas Braun

                          @Smartuser

                          npm i libvips@8.9.1
                          
                          S Offline
                          S Offline
                          Smartuser
                          wrote on last edited by
                          #61

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

                          @Smartuser

                          npm i libvips@8.9.1
                          
                          rock64@rock64:/opt/iobroker$ npm i libvips@8.9.1
                          npm ERR! code ETARGET
                          npm ERR! notarget No matching version found for libvips@8.9.1.
                          npm ERR! notarget In most cases you or one of your dependencies are requesting
                          npm ERR! notarget a package version that doesn't exist.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2020-05-09T20_47_31_974Z-debug.log
                          rock64@rock64:/opt/iobroker$
                          
                          
                          Thomas BraunT 1 Reply Last reply
                          0
                          • S Smartuser

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

                            @Smartuser

                            npm i libvips@8.9.1
                            
                            rock64@rock64:/opt/iobroker$ npm i libvips@8.9.1
                            npm ERR! code ETARGET
                            npm ERR! notarget No matching version found for libvips@8.9.1.
                            npm ERR! notarget In most cases you or one of your dependencies are requesting
                            npm ERR! notarget a package version that doesn't exist.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2020-05-09T20_47_31_974Z-debug.log
                            rock64@rock64:/opt/iobroker$
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by Thomas Braun
                            #62

                            @Smartuser Komisch. Die Kiste baut oben, aber mit den falschen sourcen. Keine Ahnung wie man den auf latest oder eine Version >= 8.9.1 bringen kann.

                            npm i libvips@latest
                            

                            😄

                            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
                            • Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #63

                              Seltsamerweise baut das bei mir, denn da liegen auch die richtigen Quelltexte.

                              /home/iobroker/.npm/_libvips
                              /home/iobroker/.npm/_libvips/libvips-8.9.0-linux-armv7.tar.gz
                              /home/iobroker/.npm/_libvips/libvips-8.9.1-linux-armv7.tar.gz
                              

                              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
                              • Thomas BraunT Thomas Braun

                                @Smartuser Komisch. Die Kiste baut oben, aber mit den falschen sourcen. Keine Ahnung wie man den auf latest oder eine Version >= 8.9.1 bringen kann.

                                npm i libvips@latest
                                

                                😄

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

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

                                @Smartuser Komisch. Die Kiste baut oben, aber mit den falschen sourcen. Keine Ahnung wie man den auf latest oder eine Version >= 8.9.1 bringen kann.

                                npm i libvips@latest
                                

                                😄

                                Ich versteh es gleich gar nicht 😉 😄

                                rock64@rock64:/opt/iobroker$ npm i libvips@latest
                                
                                > 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.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
                                make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                  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
                                In file included from ../src/common.cc:23:
                                /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                 #include <glib-object.h>
                                          ^~~~~~~~~~~~~~~
                                compilation terminated.
                                make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                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
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                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
                                
                                + libvips@0.0.2
                                updated 1 package in 49.631s
                                
                                22 packages are looking for funding
                                  run `npm fund` for details
                                
                                rock64@rock64:/opt/iobroker$
                                
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • S Smartuser

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

                                  @Smartuser Komisch. Die Kiste baut oben, aber mit den falschen sourcen. Keine Ahnung wie man den auf latest oder eine Version >= 8.9.1 bringen kann.

                                  npm i libvips@latest
                                  

                                  😄

                                  Ich versteh es gleich gar nicht 😉 😄

                                  rock64@rock64:/opt/iobroker$ npm i libvips@latest
                                  
                                  > 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.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
                                  make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                    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
                                  In file included from ../src/common.cc:23:
                                  /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                   #include <glib-object.h>
                                            ^~~~~~~~~~~~~~~
                                  compilation terminated.
                                  make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                  make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                  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
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                  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
                                  
                                  + libvips@0.0.2
                                  updated 1 package in 49.631s
                                  
                                  22 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  rock64@rock64:/opt/iobroker$
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #65

                                  @Smartuser

                                  npm i vips
                                  

                                  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
                                  • Thomas BraunT Thomas Braun

                                    @Smartuser

                                    npm i vips
                                    
                                    S Offline
                                    S Offline
                                    Smartuser
                                    wrote on last edited by
                                    #66

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

                                    npm i vips

                                    rock64@rock64:/opt/iobroker$ npm i vips
                                    
                                    > 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.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
                                    make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                      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
                                    In file included from ../src/common.cc:23:
                                    /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                     #include <glib-object.h>
                                              ^~~~~~~~~~~~~~~
                                    compilation terminated.
                                    make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                    make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                    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
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                    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
                                    
                                    + vips@1.0.0
                                    added 1 package from 1 contributor in 44.674s
                                    
                                    22 packages are looking for funding
                                      run `npm fund` for details
                                    
                                    rock64@rock64:/opt/iobroker$
                                    
                                    
                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • S Smartuser

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

                                      npm i vips

                                      rock64@rock64:/opt/iobroker$ npm i vips
                                      
                                      > 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.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
                                      make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                        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
                                      In file included from ../src/common.cc:23:
                                      /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                       #include <glib-object.h>
                                                ^~~~~~~~~~~~~~~
                                      compilation terminated.
                                      make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                      make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                      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
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                      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
                                      
                                      + vips@1.0.0
                                      added 1 package from 1 contributor in 44.674s
                                      
                                      22 packages are looking for funding
                                        run `npm fund` for details
                                      
                                      rock64@rock64:/opt/iobroker$
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #67

                                      @Smartuser

                                      npm i canvas
                                      

                                      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
                                      • Thomas BraunT Thomas Braun

                                        @Smartuser

                                        npm i canvas
                                        
                                        S Offline
                                        S Offline
                                        Smartuser
                                        wrote on last edited by
                                        #68

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

                                        npm i canvas

                                        Es lief eine Weile, am Ende dieses Ergebnis:

                                        ...
                                        ...
                                        ...
                                        make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
                                        
                                        > 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.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
                                        make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                          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
                                        In file included from ../src/common.cc:23:
                                        /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                         #include <glib-object.h>
                                                  ^~~~~~~~~~~~~~~
                                        compilation terminated.
                                        make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                        make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                        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
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                        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
                                        
                                        + canvas@2.6.1
                                        updated 1 package in 158.31s
                                        
                                        22 packages are looking for funding
                                          run `npm fund` for details
                                        
                                        rock64@rock64:/opt/iobroker$
                                        
                                        
                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • S Smartuser

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

                                          npm i canvas

                                          Es lief eine Weile, am Ende dieses Ergebnis:

                                          ...
                                          ...
                                          ...
                                          make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
                                          
                                          > 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.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
                                          make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                                            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
                                          In file included from ../src/common.cc:23:
                                          /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
                                           #include <glib-object.h>
                                                    ^~~~~~~~~~~~~~~
                                          compilation terminated.
                                          make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Error 1
                                          make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
                                          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
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (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":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          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
                                          
                                          + canvas@2.6.1
                                          updated 1 package in 158.31s
                                          
                                          22 packages are looking for funding
                                            run `npm fund` for details
                                          
                                          rock64@rock64:/opt/iobroker$
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by Thomas Braun
                                          #69

                                          @Smartuser
                                          Sorry, irgendwas übersehe ich. Ich hab nur keinen Schimmer was.
                                          Muss sich einer anschauen, der in node tiefer drin ist.
                                          Auf meinem Raspberry mit ARMV7l Architektur baut der Kram.
                                          Keine Ahnung, ob das mit deiner AARCH64 zusammenhängt.

                                          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
                                          1
                                          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

                                          308

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          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