Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neue Installationsroutine (für Linux)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neue Installationsroutine (für Linux)

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marco-mh last edited by

      Hab ich also keine Chance?
      schade, unter 16.04 gehts
      aber danke

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @marco-mh last edited by

        @marco-mh Ich bräuchte etwas mehr Infos über den User mit dem du angemeldet bist. Wie heißt dessen Gruppe? Normalerweise heißt die Gruppe wie der User.

        Als "echter" root sollte es gehen, aber dann bekommt admin keinen Zugriff aufs ioBroker-Verzeichnis.

        1 Reply Last reply Reply Quote 0
        • M
          marco-mh last edited by

          Ich hab es hinbekommen. Allerdings habe ich nicht die Linux Station genommen sondern hab eine Linux VM auf der QNAP installiert.
          Danke für die Hilfe

          1 Reply Last reply Reply Quote 0
          • M
            mpa last edited by mpa

            Hallo,

            ich versuche gerade iobroker auf einer VM mit Ubuntu LTS 18.04.3 zu installieren.
            Mittlerweile habe ich jetzt mehrmals die Anleitung https://www.iobroker.net/#de/documentation/install/linux.md durchgeackert aber bekomme es leider nicht hin.

            Beim Schritt "Installing ioBroker" bekomme ich immer folgende Fehlermeldungen:

            ==========================================================================
                Installing ioBroker (3/4)
            ==========================================================================
            
            ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
            ../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                 argv);
                                     ^
            In file included from ../src/unix_dgram.cc:5:0:
            ../../nan/nan.h:1024:46: note: declared here
               NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
            ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
            ../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                 0, NULL);
                                        ^
            In file included from ../src/unix_dgram.cc:5:0:
            ../../nan/nan.h:1024:46: note: declared here
               NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
            ../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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
               V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                           ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
               V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                           ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^
            /root/.cache/node-gyp/10.17.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/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                             from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/unix_dgram.cc:5:
            /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^
            /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            
            

            Könnte mir hier bitte jemand weiterhelfen?

            Vielen Dank!

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 last edited by

              Alles nur Warnungen, ignorieren. Wichtig ist was die letzten Zeilen der gesamten Ausgabe sind ... wenn da steht das alles ok ist dann ist alles ok

              M 1 Reply Last reply Reply Quote 1
              • M
                mpa @apollon77 last edited by

                @apollon77 da kommt dann leider nichts mehr, da sich die VM aufhängt und Putty dadurch die Verbindung verliert.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User last edited by

                  Ich versuche gerade, den ioBroker unter Lubuntu zum Laufen zu bringen.
                  Hierzu habe ich mich an die folgende Anleitung gehalten:
                  https://www.iobroker.net/#de/documentation/install/linux.md
                  Es sei wohl auch alles erfolgreich installiert worden.
                  Nur komme ich mit dem Browser nicht auf die Oberfläche.
                  http://<iplocalhost>:8081
                  Es kommt, Seite ist nicht erreichbar
                  ioborker habe ich mit iobroker stop/start als auch restart probiert neu zu starten

                  Ich habe dann mal probiert
                  iobroker start admin

                  Dann kommt:
                  module.js:549
                  throw err;
                  ^

                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                  at Function.Module._resolveFilename (module.js:547:15)

                  �

                  AlCalzone Homoran 2 Replies Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @Guest last edited by

                    @Alina sagte in Neue Installationsroutine (für Linux):

                    Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'

                    Das sieht mir nicht nach einer erfolgreichen Installation aus. Probiere es bitte nochmal und zeig uns dann die Ausgabe der Installation.

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Guest last edited by

                      @Alina
                      Wieso zwei Threads dazu?

                      Habe dir in dem anderen / älteren geantwortet

                      1 Reply Last reply Reply Quote 0
                      • D
                        debianatoe last edited by

                        Kann man die neue Linux-Installationsroutine auch in buildroot-Systemen ausführen? buildroot ist ja ein besonders platzsparendes Linux. Das hätte dann insbesondere auf kleinen raspi-Systemen den Vorteil, daß man mehr RAM für den iobroker zur Verfügung hätte.

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @debianatoe last edited by

                          @debianatoe @AlCalzone ?!

                          AlCalzone Homoran 2 Replies Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @apollon77 last edited by

                            @apollon77 @debianatoe
                            Probier es aus. Ich hab keine Ahnung und bisher nicht davon gehört.

                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @apollon77 last edited by

                              @apollon77 Ich denke eher nicht.
                              die CCU baut auf buildroot auf - wenn ich mich richtig erinnere hat sich Jens Maus da schon dran versucht

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                debianatoe @Homoran last edited by

                                @Homoran Ja, die CCU baut auf buildroot auf. Aber buildroot läßt sich sehr variabel konfigurieren. Insofern wäre es denkbar, daß sich ein spezielles iobroker-buildroot, das mit dem CCU-buildroot nur wenig gemeinsam hat, bauen ließe. Wenn sich allerdings Jens Maus daran schon vergeblich (?) versucht hat, klingt das nach erheblichem Aufwand ...
                                Da wäre aus meiner Sicht ein iobroker-Installationsprofi gefragt, der genau weiß, welche Betriebssystem- und library-Bedingungen Voraussetzung sind.

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @debianatoe last edited by

                                  @debianatoe Am Ende stht alles im install.sh drin was auf Github steht ... alles ws fehlt wird nachinstalliert aktuell per apt oder yum

                                  AlCalzone 1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer @apollon77 last edited by

                                    @apollon77 sagte in Neue Installationsroutine (für Linux):

                                    alles ws fehlt wird nachinstalliert

                                    Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      debianatoe @AlCalzone last edited by

                                      @AlCalzone sagte in Neue Installationsroutine (für Linux):

                                      @apollon77 sagte in Neue Installationsroutine (für Linux):

                                      alles ws fehlt wird nachinstalliert

                                      Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                      So ist es leider. Im buildroot-Linux gibt es meines Wissens nach weder apt noch yum. Deshalb kann install.sh in dieser Form leider nicht funktionieren bzw. alles, was fehlt, nachinstallieren. Stand jetzt wäre das eine Menge Handarbeit.

                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @debianatoe last edited by

                                        @debianatoe Wie installiert man dann auf buildroot einen Package-Manager?
                                        Wenn du die nötigen Schritte ermitteln kannst, was zusätzlich nötig ist, lässt sich das sicher in den Installer einbauen.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          debianatoe @AlCalzone last edited by

                                          @AlCalzone Also da bin ich leider überfragt.

                                          1 Reply Last reply Reply Quote 0
                                          • xadox
                                            xadox last edited by xadox

                                            Können die folgenden Warnings bei der Installation auf Ubuntu 20.10, 20.04 oder Debian 10 ignoriert werden?

                                            In file included from ../../nan/nan.h:56,
                                                             from ../src/main.cpp:3:
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                             from ../../nan/nan.h:56,
                                                             from ../src/main.cpp:3:
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.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 ../../nan/nan.h:56,
                                                             from ../src/unix_dgram.cc:5:
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.0/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'
                                               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                               ^~~~~~~~~~~~~
                                            ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                                             NODE_MODULE(unix_dgram, Initialize)
                                             ^~~~~~~~~~~
                                            In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                             from ../../nan/nan.h:56,
                                                             from ../src/unix_dgram.cc:5:
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                            /root/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.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/.cache/node-gyp/10.23.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]
                                             
                                            
                                            
                                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            975
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            installation
                                            64
                                            415
                                            99650
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo