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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Fehler nach Update

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    836

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Fehler nach Update

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iorbokerfehler updatehilfe
13 Beiträge 3 Kommentatoren 938 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Marcus HamburgM Offline
    Marcus HamburgM Offline
    Marcus Hamburg
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich gehe mal davon aus, dass es eine Lösung hier gibt, aber ich finde sie nicht. Ich bräuchte mal HIlfe, da ich nicht mehr auf mein IObroker Admin komme. Fehler sieht so aus:

    pi@raspberrypi:~ $ iobroker status
    internal/modules/cjs/loader.js:638
        throw err;
        ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
        at Function.Module._load (internal/modules/cjs/loader.js:562:25)
        at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
        at startup (internal/bootstrap/node.js:283:19)
        at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
    pi@raspberrypi:~ $ ^C
    
    

    Was ist bitte die Lösung. Schon einmal rechtherzlichen Dank im Vorraus.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • Marcus HamburgM Marcus Hamburg

      Hallo,

      ich gehe mal davon aus, dass es eine Lösung hier gibt, aber ich finde sie nicht. Ich bräuchte mal HIlfe, da ich nicht mehr auf mein IObroker Admin komme. Fehler sieht so aus:

      pi@raspberrypi:~ $ iobroker status
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
          at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
      pi@raspberrypi:~ $ ^C
      
      

      Was ist bitte die Lösung. Schon einmal rechtherzlichen Dank im Vorraus.

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

      @Marcus-Hamburg

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      

      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

      Marcus HamburgM 2 Antworten Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @Marcus-Hamburg

        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        
        Marcus HamburgM Offline
        Marcus HamburgM Offline
        Marcus Hamburg
        schrieb am zuletzt editiert von Marcus Hamburg
        #3

        Ich verstehe nur Bahnhof

        GlasfaserG 1 Antwort Letzte Antwort
        0
        • Marcus HamburgM Marcus Hamburg

          Ich verstehe nur Bahnhof

          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          schrieb am zuletzt editiert von Glasfaser
          #4

          @Marcus-Hamburg
          die Befehle so wie @Thomas-Braun angeben hat kopieren und in Putty komplett einfügen ... dann das Ergebniss hier posten

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @Marcus-Hamburg

            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
            
            Marcus HamburgM Offline
            Marcus HamburgM Offline
            Marcus Hamburg
            schrieb am zuletzt editiert von
            #5

            @Thomas-Braun

            schon mal, hier das Ergebnis:

            pm && npm -v && apt policy nodejs
            /usr/bin/nodejs
            v10.17.0
            /usr/bin/node
            v10.17.0
            /usr/bin/npm
            6.11.3
            nodejs:
              Installiert:           10.17.0-1nodesource1
              Installationskandidat: 10.17.0-1nodesource1
              Versionstabelle:
             *** 10.17.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 10.15.2~dfsg-2+rpi1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            pi@raspberrypi:~ $
            
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Marcus HamburgM Marcus Hamburg

              @Thomas-Braun

              schon mal, hier das Ergebnis:

              pm && npm -v && apt policy nodejs
              /usr/bin/nodejs
              v10.17.0
              /usr/bin/node
              v10.17.0
              /usr/bin/npm
              6.11.3
              nodejs:
                Installiert:           10.17.0-1nodesource1
                Installationskandidat: 10.17.0-1nodesource1
                Versionstabelle:
               *** 10.17.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   10.15.2~dfsg-2+rpi1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              pi@raspberrypi:~ $
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @Marcus-Hamburg

              sudo apt update 
              sudo apt upgrade
              sudo reboot
              

              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

              Marcus HamburgM 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @Marcus-Hamburg

                sudo apt update 
                sudo apt upgrade
                sudo reboot
                
                Marcus HamburgM Offline
                Marcus HamburgM Offline
                Marcus Hamburg
                schrieb am zuletzt editiert von
                #7

                Verdammt, leider immer noch das Problem nicht behoben.

                pi@raspberrypi:~ $ iobroker start
                pi@raspberrypi:~ $ iobroker status
                internal/modules/cjs/loader.js:638
                    throw err;
                    ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                    at startup (internal/bootstrap/node.js:283:19)
                    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                
                
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • Marcus HamburgM Marcus Hamburg

                  Verdammt, leider immer noch das Problem nicht behoben.

                  pi@raspberrypi:~ $ iobroker start
                  pi@raspberrypi:~ $ iobroker status
                  internal/modules/cjs/loader.js:638
                      throw err;
                      ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                      at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                      at startup (internal/bootstrap/node.js:283:19)
                      at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                  
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #8

                  @Marcus-Hamburg node ist jetzt in welcher Version drauf?

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller
                  

                  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

                  Marcus HamburgM 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @Marcus-Hamburg node ist jetzt in welcher Version drauf?

                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    
                    Marcus HamburgM Offline
                    Marcus HamburgM Offline
                    Marcus Hamburg
                    schrieb am zuletzt editiert von
                    #9
                    SSH is enabled and the default password for the 'pi' user has not been changed.
                    This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
                    
                    pi@raspberrypi:~$ cd /opt/iobroker
                    pi@raspberrypi:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    
                    > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.14.4
                    
                    > 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.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                    Package pangocairo was not found in the pkg-config search path.
                    Perhaps you should add the directory containing `pangocairo.pc'
                    to the PKG_CONFIG_PATH environment variable
                    No package 'pangocairo' found
                    gyp: Call to 'pkg-config pangocairo --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.19.118-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.21.0
                    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/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.19.118-v7+
                    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                    node-pre-gyp ERR! node -v v10.21.0
                    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)
                    
                    > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                      CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                    In file included from ../src/unix_dgram.cc:5:
                    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                  ^
                    In file included from ../../nan/nan.h:54,
                                     from ../src/unix_dgram.cc:5:
                    ../src/unix_dgram.cc: At global scope:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           (node::addon_register_func) (regfunc),                          \
                                                               ^
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                       ^~~~~~~~~~~~~
                    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(unix_dgram, Initialize)
                     ^~~~~~~~~~~
                    In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                     from ../../nan/nan.h:54,
                                     from ../src/unix_dgram.cc:5:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                    reinterpret_cast<Callback>(callback), type);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                    ../../nan/nan_object_wrap.h:65:61:   required from here
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                      COPY Release/unix_dgram.node
                    make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                    
                    > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                    > node rebuild.js
                    
                    
                    > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                      CXX(target) Release/obj.target/diskusage/src/main.o
                    In file included from ../src/main.cpp:3:
                    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                  ^
                    In file included from ../../nan/nan.h:54,
                                     from ../src/main.cpp:3:
                    ../src/main.cpp: At global scope:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                           (node::addon_register_func) (regfunc),                          \
                                                               ^
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                       ^~~~~~~~~~~~~
                    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(diskusage, Init)
                     ^~~~~~~~~~~
                    In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                     from ../../nan/nan.h:54,
                                     from ../src/main.cpp:3:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                    reinterpret_cast<Callback>(callback), type);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                    ../../nan/nan_object_wrap.h:65:61:   required from here
                    /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                      SOLINK_MODULE(target) Release/obj.target/diskusage.node
                      COPY Release/diskusage.node
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                    
                    > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                    Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
                    object system.certificates updated
                    
                    The following notifications happened during sync:
                    - Ignoring Directory "coronavirus-statistics.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "weatherunderground.admin" because officially not created as meta object. Please remove directory!
                    
                    
                    > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                    > node scripts/postinstall
                    
                    
                    Greenlock and ACME.js v3 are on the way!
                    Watch for updates at https://indiegogo.com/at/greenlock
                    
                    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: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    
                    + iobroker.js-controller@3.1.6
                    added 147 packages from 161 contributors in 174.552s
                    
                    10 packages are looking for funding
                      run `npm fund` for details
                    
                    pi@raspberrypi:/opt/iobroker$
                    
                    Thomas BraunT Marcus HamburgM 2 Antworten Letzte Antwort
                    0
                    • Marcus HamburgM Marcus Hamburg
                      SSH is enabled and the default password for the 'pi' user has not been changed.
                      This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
                      
                      pi@raspberrypi:~$ cd /opt/iobroker
                      pi@raspberrypi:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                      
                      > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                      > node lib/preinstallCheck.js
                      
                      NPM version: 6.14.4
                      
                      > 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.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                      Package pangocairo was not found in the pkg-config search path.
                      Perhaps you should add the directory containing `pangocairo.pc'
                      to the PKG_CONFIG_PATH environment variable
                      No package 'pangocairo' found
                      gyp: Call to 'pkg-config pangocairo --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.19.118-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.21.0
                      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/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.19.118-v7+
                      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      node-pre-gyp ERR! node -v v10.21.0
                      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)
                      
                      > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                      > node-gyp rebuild
                      
                      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                        CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                      In file included from ../src/unix_dgram.cc:5:
                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                    ^
                      In file included from ../../nan/nan.h:54,
                                       from ../src/unix_dgram.cc:5:
                      ../src/unix_dgram.cc: At global scope:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                             (node::addon_register_func) (regfunc),                          \
                                                                 ^
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                         ^~~~~~~~~~~~~
                      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(unix_dgram, Initialize)
                       ^~~~~~~~~~~
                      In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/unix_dgram.cc:5:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      reinterpret_cast<Callback>(callback), type);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                      ../../nan/nan_object_wrap.h:65:61:   required from here
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                        SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                        COPY Release/unix_dgram.node
                      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                      
                      > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                      > node rebuild.js
                      
                      
                      > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                      > node-gyp rebuild
                      
                      make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                        CXX(target) Release/obj.target/diskusage/src/main.o
                      In file included from ../src/main.cpp:3:
                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                    ^
                      In file included from ../../nan/nan.h:54,
                                       from ../src/main.cpp:3:
                      ../src/main.cpp: At global scope:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                             (node::addon_register_func) (regfunc),                          \
                                                                 ^
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                         ^~~~~~~~~~~~~
                      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(diskusage, Init)
                       ^~~~~~~~~~~
                      In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/main.cpp:3:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      reinterpret_cast<Callback>(callback), type);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                      ../../nan/nan_object_wrap.h:65:61:   required from here
                      /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                        CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                        SOLINK_MODULE(target) Release/obj.target/diskusage.node
                        COPY Release/diskusage.node
                      make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                      
                      > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
                      > node iobroker.js setup first
                      
                      Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
                      object system.certificates updated
                      
                      The following notifications happened during sync:
                      - Ignoring Directory "coronavirus-statistics.admin" because officially not created as meta object. Please remove directory!
                      - Ignoring Directory "weatherunderground.admin" because officially not created as meta object. Please remove directory!
                      
                      
                      > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                      > node scripts/postinstall
                      
                      
                      Greenlock and ACME.js v3 are on the way!
                      Watch for updates at https://indiegogo.com/at/greenlock
                      
                      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: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                      
                      + iobroker.js-controller@3.1.6
                      added 147 packages from 161 contributors in 174.552s
                      
                      10 packages are looking for funding
                        run `npm fund` for details
                      
                      pi@raspberrypi:/opt/iobroker$
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @Marcus-Hamburg Da hast du aber noch ein paar Leichen im gyp-Keller.

                      Startet das Ding jetzt?

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

                      1 Antwort Letzte Antwort
                      0
                      • Marcus HamburgM Offline
                        Marcus HamburgM Offline
                        Marcus Hamburg
                        schrieb am zuletzt editiert von
                        #11

                        Nein leider kein Iobroker gestartet. Meinst du ich sollte es neu aufsetzen und ein Backup einspielen?

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • Marcus HamburgM Marcus Hamburg

                          Nein leider kein Iobroker gestartet. Meinst du ich sollte es neu aufsetzen und ein Backup einspielen?

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

                          @Marcus-Hamburg Meldungen?

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

                          1 Antwort Letzte Antwort
                          0
                          • Marcus HamburgM Marcus Hamburg
                            SSH is enabled and the default password for the 'pi' user has not been changed.
                            This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
                            
                            pi@raspberrypi:~$ cd /opt/iobroker
                            pi@raspberrypi:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                            
                            > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                            > node lib/preinstallCheck.js
                            
                            NPM version: 6.14.4
                            
                            > 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.21.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
                            Package pangocairo was not found in the pkg-config search path.
                            Perhaps you should add the directory containing `pangocairo.pc'
                            to the PKG_CONFIG_PATH environment variable
                            No package 'pangocairo' found
                            gyp: Call to 'pkg-config pangocairo --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.19.118-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.21.0
                            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/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.19.118-v7+
                            node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                            node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                            node-pre-gyp ERR! node -v v10.21.0
                            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)
                            
                            > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
                            > node-gyp rebuild
                            
                            make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                              CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                            In file included from ../src/unix_dgram.cc:5:
                            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                          ^
                            In file included from ../../nan/nan.h:54,
                                             from ../src/unix_dgram.cc:5:
                            ../src/unix_dgram.cc: At global scope:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                   (node::addon_register_func) (regfunc),                          \
                                                                       ^
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                               ^~~~~~~~~~~~~
                            ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                             NODE_MODULE(unix_dgram, Initialize)
                             ^~~~~~~~~~~
                            In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                             from ../../nan/nan.h:54,
                                             from ../src/unix_dgram.cc:5:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                            reinterpret_cast<Callback>(callback), type);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                            ../../nan/nan_object_wrap.h:65:61:   required from here
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                              SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                              COPY Release/unix_dgram.node
                            make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                            
                            > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                            > node rebuild.js
                            
                            
                            > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                            > node-gyp rebuild
                            
                            make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                              CXX(target) Release/obj.target/diskusage/src/main.o
                            In file included from ../src/main.cpp:3:
                            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                          ^
                            In file included from ../../nan/nan.h:54,
                                             from ../src/main.cpp:3:
                            ../src/main.cpp: At global scope:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                   (node::addon_register_func) (regfunc),                          \
                                                                       ^
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                               ^~~~~~~~~~~~~
                            ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                             NODE_MODULE(diskusage, Init)
                             ^~~~~~~~~~~
                            In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,
                                             from ../../nan/nan.h:54,
                                             from ../src/main.cpp:3:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                            reinterpret_cast<Callback>(callback), type);
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                            ../../nan/nan_object_wrap.h:65:61:   required from here
                            /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                              CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                              SOLINK_MODULE(target) Release/obj.target/diskusage.node
                              COPY Release/diskusage.node
                            make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                            
                            > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node iobroker.js setup first
                            
                            Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
                            object system.certificates updated
                            
                            The following notifications happened during sync:
                            - Ignoring Directory "coronavirus-statistics.admin" because officially not created as meta object. Please remove directory!
                            - Ignoring Directory "weatherunderground.admin" because officially not created as meta object. Please remove directory!
                            
                            
                            > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                            > node scripts/postinstall
                            
                            
                            Greenlock and ACME.js v3 are on the way!
                            Watch for updates at https://indiegogo.com/at/greenlock
                            
                            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: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                            
                            + iobroker.js-controller@3.1.6
                            added 147 packages from 161 contributors in 174.552s
                            
                            10 packages are looking for funding
                              run `npm fund` for details
                            
                            pi@raspberrypi:/opt/iobroker$
                            
                            Marcus HamburgM Offline
                            Marcus HamburgM Offline
                            Marcus Hamburg
                            schrieb am zuletzt editiert von Marcus Hamburg
                            #13

                            Moin Moin, ich komme jetzt in den IObroker :-).

                            alt text

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


                            Support us

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

                            699

                            Online

                            32.6k

                            Benutzer

                            82.1k

                            Themen

                            1.3m

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

                            • Du hast noch kein Konto? Registrieren

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