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. Update auf Debian 10 zeigt kein Webinterface

NEWS

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

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

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

Update auf Debian 10 zeigt kein Webinterface

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
debianiobrokerupdateupgrade
38 Beiträge 5 Kommentatoren 2.9k Aufrufe 4 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.
  • apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #28

    Wie vermutet. Die Programme liegen in /usr/sbin und das ist in Deinem Pfad nicht drin.

    Wie bist Du root geworden oder nativ als Root eingeloggt?

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    K 2 Antworten Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #29

      Das hier klingt nach deinem Thema: https://linuxconfig.org/command-not-found-missing-path-to-sbin-on-debian-gnu-linux

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      K 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        Wie vermutet. Die Programme liegen in /usr/sbin und das ist in Deinem Pfad nicht drin.

        Wie bist Du root geworden oder nativ als Root eingeloggt?

        K Offline
        K Offline
        Kueppert
        schrieb am zuletzt editiert von Kueppert
        #30

        @apollon77 hab SSH aktiviert beim installieren, user thorsten angelegt. Via SSH verbunden mit user thorsten und von dort mit SU und Passwort, dass ich für root bei der Installation eingegeben hatte, eingetippt. Schon war ich root.

        UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

        1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

          Das hier klingt nach deinem Thema: https://linuxconfig.org/command-not-found-missing-path-to-sbin-on-debian-gnu-linux

          K Offline
          K Offline
          Kueppert
          schrieb am zuletzt editiert von
          #31

          @apollon77 ochnööö, okay, dann nochmaaaaaaal :D

          UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

          1 Antwort Letzte Antwort
          0
          • apollon77A apollon77

            Wie vermutet. Die Programme liegen in /usr/sbin und das ist in Deinem Pfad nicht drin.

            Wie bist Du root geworden oder nativ als Root eingeloggt?

            K Offline
            K Offline
            Kueppert
            schrieb am zuletzt editiert von
            #32

            @apollon77 kann ich auch mit dem user, den ich anlegen muss, iobroker installieren? Bin zwar ein Freund von root, aber kann auch damit leben, nur noch den user zu nutzen. Wie machst du das?

            UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

            1 Antwort Letzte Antwort
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #33

              @Kueppert sagte in Update auf Debian 10 zeigt kein Webinterface:

              und von dort mit SU und Passwort

              Und das ist das Problem ... siehe der Artikel. Da hat Debian 10 was geändert.

              Ansonsten sollte der Installer sogar von einem normalen User ausgeführt werden, wobei ... was sagt echo $PATH bei dem? Hast der /usr/sbin

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              K 2 Antworten Letzte Antwort
              0
              • apollon77A apollon77

                @Kueppert sagte in Update auf Debian 10 zeigt kein Webinterface:

                und von dort mit SU und Passwort

                Und das ist das Problem ... siehe der Artikel. Da hat Debian 10 was geändert.

                Ansonsten sollte der Installer sogar von einem normalen User ausgeführt werden, wobei ... was sagt echo $PATH bei dem? Hast der /usr/sbin

                K Offline
                K Offline
                Kueppert
                schrieb am zuletzt editiert von
                #34

                @apollon77 also, das sieht nicht gut aus für den user...wird dann wohl der root:

                /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                

                UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                1 Antwort Letzte Antwort
                0
                • apollon77A apollon77

                  @Kueppert sagte in Update auf Debian 10 zeigt kein Webinterface:

                  und von dort mit SU und Passwort

                  Und das ist das Problem ... siehe der Artikel. Da hat Debian 10 was geändert.

                  Ansonsten sollte der Installer sogar von einem normalen User ausgeführt werden, wobei ... was sagt echo $PATH bei dem? Hast der /usr/sbin

                  K Offline
                  K Offline
                  Kueppert
                  schrieb am zuletzt editiert von
                  #35

                  @apollon77 und mit dem RICHTIGEN root-User

                  su -
                  

                  sieht das so aus:

                  root@ioBroker2:~# echo $PATH
                  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                  

                  UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                  1 Antwort Letzte Antwort
                  0
                  • apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #36

                    Ja korrekt. So ein blödfug ... Ubuntu hat das Problem nicht :-)
                    Ich verstehe nicht das ein normaler User bei Default nicht auf /usr/sbin darf ... aber das versteht wohl nur Debian

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    K 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      Ja korrekt. So ein blödfug ... Ubuntu hat das Problem nicht :-)
                      Ich verstehe nicht das ein normaler User bei Default nicht auf /usr/sbin darf ... aber das versteht wohl nur Debian

                      K Offline
                      K Offline
                      Kueppert
                      schrieb am zuletzt editiert von Kueppert
                      #37

                      @apollon77 das ist jetzt aber nicht nett. Alles just neu gemacht, diesmal als richtiger root (su -) angemeldet und das Skript zur Installation von ioBroker wieder ausgeführt. Wieder errors :(

                      thorsten@ioBroker2:~$ su -
                      Passwort:
                      root@ioBroker2:~# node -v
                      v10.16.0
                      root@ioBroker2:~# npm -v
                      6.9.0
                      root@ioBroker2:~# echo $PATH
                      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                      root@ioBroker2:~# curl -sL https://iobroker.net/install.sh | bash -
                      
                      ==========================================================================
                      
                          Welcome to the ioBroker installer!
                          Installer version: 2019-07-03
                      
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/4)
                      ==========================================================================
                      
                      Installed acl
                      Installed sudo
                      Extrahiere Vorlagen aus Paketen: 100%
                      Installed build-essential
                      Installed libavahi-compat-libdnssd-dev
                      Installed libudev-dev
                      Installed libpam0g-dev
                      Installed git
                      
                      ==========================================================================
                          Creating ioBroker user and directory (2/4)
                      ==========================================================================
                      
                      User iobroker created
                      Created /etc/sudoers.d/iobroker
                      Directory /opt/iobroker created
                      
                      ==========================================================================
                          Installing ioBroker (3/4)
                      ==========================================================================
                      
                      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)
                                                                                    ^
                      ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                               DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                             ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/main.cpp:3:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                         explicit Utf8Value(Local<v8::Value> obj));
                                                  ^~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      In file included from ../../nan/nan.h:54,
                                       from ../src/main.cpp:3:
                      ../src/main.cpp: At global scope:
                      /root/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘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),                          \
                                                                 ^
                      /root/.node-gyp/10.16.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 /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/main.cpp:3:
                      /root/.node-gyp/10.16.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>&)]’:
                      /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                      /root/.node-gyp/10.16.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);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      /root/.node-gyp/10.16.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
                      /root/.node-gyp/10.16.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]
                      In file included from ../node_modules/nan/nan.h:190,
                                       from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                     ^~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                  ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                  ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                    ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                    ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                    ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                    ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                           ));
                           ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                           ));
                           ^
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^~~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      In file included from ../src/unix_dgram.cc:5:
                      ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                      ../node_modules/nan/nan.h:1706: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)
                                                                                    ^
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         domain      = info[0]->Int32Value();
                                                           ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         type        = info[1]->Int32Value();
                                                           ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         protocol    = info[2]->Int32Value();
                                                           ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         fd = info[0]->Int32Value();
                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                         String::Utf8Value path(info[1]);
                                                       ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                         explicit Utf8Value(Local<v8::Value> obj));
                                                  ^~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         fd = info[0]->Int32Value();
                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         buf = info[1]->ToObject();
                                                 ^
                      In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                       Local<Object> Value::ToObject() const {
                                     ^~~~~
                      ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         offset = info[2]->Uint32Value();
                                                       ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                     ^~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         length = info[3]->Uint32Value();
                                                       ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                     ^~~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                         String::Utf8Value path(info[4]);
                                                       ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                         explicit Utf8Value(Local<v8::Value> obj));
                                                  ^~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         fd = info[0]->Int32Value();
                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         buf = info[1]->ToObject();
                                                 ^
                      In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                       Local<Object> Value::ToObject() const {
                                     ^~~~~
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         fd = info[0]->Int32Value();
                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                         String::Utf8Value path(info[1]);
                                                       ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                         explicit Utf8Value(Local<v8::Value> obj));
                                                  ^~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         fd = info[0]->Int32Value();
                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                       from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^~~~~~~~~~
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      In file included from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      ../src/unix_dgram.cc: At global scope:
                      /root/.node-gyp/10.16.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),                          \
                                                                 ^
                      /root/.node-gyp/10.16.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:420:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(unix_dgram, Initialize)
                       ^~~~~~~~~~~
                      In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                       from ../node_modules/nan/nan.h:47,
                                       from ../src/unix_dgram.cc:5:
                      /root/.node-gyp/10.16.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>&)]’:
                      /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                      /root/.node-gyp/10.16.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);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      /root/.node-gyp/10.16.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>&)]’:
                      ../node_modules/nan/nan_object_wrap.h:66:61:   required from here
                      /root/.node-gyp/10.16.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]
                      make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.19.0-5-amd64
                      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/unix-dgram
                      gyp ERR! node -v v10.16.0
                      gyp ERR! node-gyp -v v3.8.0
                      gyp ERR! not ok
                      
                      ==========================================================================
                          Finalizing installation (4/4)
                      ==========================================================================
                      
                      Enabling autostart...
                      Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                      Autostart enabled!
                      Fixing directory permissions...
                      
                      ==========================================================================
                      
                          ioBroker was installed successfully
                          Open http://192.168.178.82:8081 in a browser and start configuring!
                      
                      ==========================================================================
                      
                      
                      You need to re-login before doing anything else on the console!
                      
                      

                      Aber auf das ioBroker-Webinterface komm ich drauf...will aber jetzt keine Neuinstallation mit Fehlern bereits bei Aufsatz betreiben...

                      NACHTRAG: hab in einem anderen post gelesen, dass ich den Fehler ignorieren kann? Weil mit js 1.5.13 behoben? :)

                      UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                      StabilostickS 1 Antwort Letzte Antwort
                      0
                      • K Kueppert

                        @apollon77 das ist jetzt aber nicht nett. Alles just neu gemacht, diesmal als richtiger root (su -) angemeldet und das Skript zur Installation von ioBroker wieder ausgeführt. Wieder errors :(

                        thorsten@ioBroker2:~$ su -
                        Passwort:
                        root@ioBroker2:~# node -v
                        v10.16.0
                        root@ioBroker2:~# npm -v
                        6.9.0
                        root@ioBroker2:~# echo $PATH
                        /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        root@ioBroker2:~# curl -sL https://iobroker.net/install.sh | bash -
                        
                        ==========================================================================
                        
                            Welcome to the ioBroker installer!
                            Installer version: 2019-07-03
                        
                            You might need to enter your password a couple of times.
                        
                        ==========================================================================
                        
                        
                        ==========================================================================
                            Installing prerequisites (1/4)
                        ==========================================================================
                        
                        Installed acl
                        Installed sudo
                        Extrahiere Vorlagen aus Paketen: 100%
                        Installed build-essential
                        Installed libavahi-compat-libdnssd-dev
                        Installed libudev-dev
                        Installed libpam0g-dev
                        Installed git
                        
                        ==========================================================================
                            Creating ioBroker user and directory (2/4)
                        ==========================================================================
                        
                        User iobroker created
                        Created /etc/sudoers.d/iobroker
                        Directory /opt/iobroker created
                        
                        ==========================================================================
                            Installing ioBroker (3/4)
                        ==========================================================================
                        
                        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)
                                                                                      ^
                        ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                 DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                               ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/main.cpp:3:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                           explicit Utf8Value(Local<v8::Value> obj));
                                                    ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../../nan/nan.h:54,
                                         from ../src/main.cpp:3:
                        ../src/main.cpp: At global scope:
                        /root/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘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),                          \
                                                                   ^
                        /root/.node-gyp/10.16.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 /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/main.cpp:3:
                        /root/.node-gyp/10.16.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>&)]’:
                        /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                        /root/.node-gyp/10.16.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);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        /root/.node-gyp/10.16.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
                        /root/.node-gyp/10.16.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]
                        In file included from ../node_modules/nan/nan.h:190,
                                         from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                        ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                           return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                       ^~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                        ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                    ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                    ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                        ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                      ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                      ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                        ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                      ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                 v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                      ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                        ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             ));
                             ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                             ));
                             ^
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                          ^~~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                             __attribute__((deprecated(message))) declarator
                                                                  ^~~~~~~~~~
                        In file included from ../src/unix_dgram.cc:5:
                        ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                        ../node_modules/nan/nan.h:1706: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)
                                                                                      ^
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           domain      = info[0]->Int32Value();
                                                             ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           type        = info[1]->Int32Value();
                                                             ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           protocol    = info[2]->Int32Value();
                                                             ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           fd = info[0]->Int32Value();
                                                    ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                           String::Utf8Value path(info[1]);
                                                         ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                           explicit Utf8Value(Local<v8::Value> obj));
                                                    ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           fd = info[0]->Int32Value();
                                                    ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           buf = info[1]->ToObject();
                                                   ^
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                         Local<Object> Value::ToObject() const {
                                       ^~~~~
                        ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           offset = info[2]->Uint32Value();
                                                         ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                       ^~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           length = info[3]->Uint32Value();
                                                         ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                       ^~~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                           String::Utf8Value path(info[4]);
                                                         ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                           explicit Utf8Value(Local<v8::Value> obj));
                                                    ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           fd = info[0]->Int32Value();
                                                    ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           buf = info[1]->ToObject();
                                                   ^
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                         Local<Object> Value::ToObject() const {
                                       ^~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           fd = info[0]->Int32Value();
                                                    ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                           String::Utf8Value path(info[1]);
                                                         ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                           explicit Utf8Value(Local<v8::Value> obj));
                                                    ^~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           fd = info[0]->Int32Value();
                                                    ^
                        In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26,
                                         from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                      ^~~~~~~~~~
                        /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        ../src/unix_dgram.cc: At global scope:
                        /root/.node-gyp/10.16.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),                          \
                                                                   ^
                        /root/.node-gyp/10.16.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:420:1: note: in expansion of macro ‘NODE_MODULE’
                         NODE_MODULE(unix_dgram, Initialize)
                         ^~~~~~~~~~~
                        In file included from /root/.node-gyp/10.16.0/include/node/node.h:63,
                                         from ../node_modules/nan/nan.h:47,
                                         from ../src/unix_dgram.cc:5:
                        /root/.node-gyp/10.16.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>&)]’:
                        /root/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
                        /root/.node-gyp/10.16.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);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        /root/.node-gyp/10.16.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>&)]’:
                        ../node_modules/nan/nan_object_wrap.h:66:61:   required from here
                        /root/.node-gyp/10.16.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]
                        make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                        gyp ERR! build error
                        gyp ERR! stack Error: `make` failed with exit code: 2
                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                        gyp ERR! System Linux 4.19.0-5-amd64
                        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/unix-dgram
                        gyp ERR! node -v v10.16.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok
                        
                        ==========================================================================
                            Finalizing installation (4/4)
                        ==========================================================================
                        
                        Enabling autostart...
                        Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                        Autostart enabled!
                        Fixing directory permissions...
                        
                        ==========================================================================
                        
                            ioBroker was installed successfully
                            Open http://192.168.178.82:8081 in a browser and start configuring!
                        
                        ==========================================================================
                        
                        
                        You need to re-login before doing anything else on the console!
                        
                        

                        Aber auf das ioBroker-Webinterface komm ich drauf...will aber jetzt keine Neuinstallation mit Fehlern bereits bei Aufsatz betreiben...

                        NACHTRAG: hab in einem anderen post gelesen, dass ich den Fehler ignorieren kann? Weil mit js 1.5.13 behoben? :)

                        StabilostickS Offline
                        StabilostickS Offline
                        Stabilostick
                        schrieb am zuletzt editiert von
                        #38

                        @Kueppert

                        Warnungen erst mal nicht beachten. Das mit unix-dgram und nan ist bekannt.

                        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

                        658

                        Online

                        32.4k

                        Benutzer

                        81.5k

                        Themen

                        1.3m

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

                        • Du hast noch kein Konto? Registrieren

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