Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2 jetzt für alle im Stable

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    js-controller 2 jetzt für alle im Stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @bahnuhr last edited by

      @bahnuhr Wie paul geschrieben hat oder nach einem kommenden JavaScript Update

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

        @bahnuhr Jetzt bitte mal gaaaaaaaanz langsam ...

        Zu 0_userdata.0: Zitat aus Post #3 dieses Threads mit den Infos zum Feature:

        Wichtig Wer seine States bisher in javascript.X ablegt und das für die eigenen Bedürfnisse ausreicht, kann dies weiterhin ohne Probleme tun. Wer jedoch seine Skripte auf mehrere JavaScript-Instanzen verteilt möchte ggf. einen besseren Platz, wie 0_userdata.0, nutzen 🙂 Ebenso eigene Ordner auf oberster Ebene (z.B. MeineObjekte.0.x) können weiterhin genutzt werden - so lange halt bis ein Adapter mit diesem Namen kommt ...

        Also niemand zwingt irgend jemanden das zu nutzen!

        Es ist korrekt das der JavaScript Adapter bisher noch kein Update bekommen hat dies auch vollständig zu unterstützen. Ein Schritt nach dem anderen Bitte. Es wird kommen. Wir versuchen alles um Sinnvolle Pakete für Euch zu schnüren, aber auch wir haben nur begrenzte Zeit zur Verfügung!

        Stimmt doch im zugehörigen GitHub Issue ab und Zeit so das es Euch unter den Nägeln brennt das Feature zu haben ... hat aktuell nur 3 Stimmen ... https://github.com/ioBroker/ioBroker.javascript/issues/429

        Weiterhin: NIEMAND beschränkt "fs-Befehle" auf den data Ordner. Das können wir gar nicht weil die "fs" Library von nodejs auf das Filesystem zugreift. Da hast Du was komplett falsch verstanden.
        Die Beschränkung gilt nur für Daten die im iobroker-data/files Ordner gespeichert sind - diese dürfen nicht mehr per direkten Filesystemzugriffen manipuliert werden. Das das früher ging war keine Absicht und eigentlich schon damals "am System vorbei".

        Für "copy" (bzw "rename" um was es bisher ging) gibt es die Funktion im js-controller, sie ist aber im JavaScript Adapter noch nicht eingebaut weil Sie bisher wohl niemand gebraucht hat. Issue dazu was gern Eure Stimmen nimmt: https://github.com/ioBroker/ioBroker.javascript/issues/451 . Falls "copy" gebraucht wird wäre das ein ein js-controller Request.

        Der Grund für die Limitierung sind einerseits Sicherheitsüberlegungen und das ist wie immer ein Trade-Off zwischen "Einfachheit" und "Sicherheit". Alles was im ioBroker-Store Liegt ist generell per web/vis/admin u.ä. Adapter direkt abrufbar. Es gibt leider einige Installationen die frei im Internet erreichbar sind.
        Wir wollen sicherstellen das es eine bewusste Entscheidung ist welche Daten hier verfügbar sind und das auch hier das ioBroker-User- und Rechtesystem vollständig greift und genutzt werden kann. Das geht allerdings nur wenn alle Dateien sauber "offiziell" hochgeladen wurden.

        Ein weiterer Grund ist das bei der Nutzung von Redis als Objects/File Store das Filesystem irrelevant ist und damit nur die Daten abgerufen werden können die auch im Redis hochgeladen wurden. Das heisst hier würden auch sämtliche Skripte die mit den nodejs-Filesystem-Funktionen arbeiten nicht mehr funktionieren. Da uns aber für alle Funktionen die Einheitlichkeit wichtig ist und, wie oben erwähnt, an den offiziellen Funktionen vorbei zu arbeiten niemals offiziell unterstützt war, haben wir uns dafür entschieden.

        SBorg2014 created this issue in ioBroker/ioBroker.javascript

        closed createState in 0_userdata.0 ermöglichen #429

        peoples0815 created this issue in ioBroker/ioBroker.javascript

        closed renameFile implementieren #451

        1 Reply Last reply Reply Quote 2
        • bahnuhr
          bahnuhr Forum Testing Most Active last edited by

          Danke apollon für die ausführliche Antwort.

          Aber vielleicht noch ne Ergänzung bzw. Frage zu fs.

          Bisher hatte ich im Script die Zeile :
          fs.copyFile("//ASUS-BUERO/ioBroker/node_modules/iobroker.sayit/sayit.2.say.mp3","//ASUS-BUERO/...mp3", (err) => {

          Grund:
          Ich kopiere die aktuell durch sayit erzeugte mp3 in einen anderen Ordner im Netzwerk.

          Und dieser copy Befehl geht ja zukünftig nicht mehr.

          Also Lösung lt. hier im Forum ist:
          read und dann write

          Dies funktioniert auch; jedoch mit der Einschränkung dass der write Befehl nur Ordner akzeptiert die im ...data.. Ordner liegen.
          Somit ist write im Netzwerk nicht mehr möglich.

          Oder gibt es für sowas eine andere Lösung.

          Also ganz konkret:
          Welcher Befehl muss man nehmen damit die Datei in einen anderen "Netzwerk"-Ordner kopiert wird.

          mfg
          Dieter

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

            @bahnuhr wer sagt denn das das was du da tust nicht mehr geht?!

            Ließ nochmal genau was ich geschrieben habe. Von der Limitierung sind nur Daten betroffen die in iobroker-data/files liegen.

            Ist das bei dir der Fall? Ich glaube nicht.

            Also geht das alles weiter wie bisher auch.

            bahnuhr 1 Reply Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active @apollon77 last edited by

              @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

              @bahnuhr wer sagt denn das das was du da tust nicht mehr geht?!

              Ließ nochmal genau was ich geschrieben habe. Von der Limitierung sind nur Daten betroffen die in iobroker-data/files liegen.

              Ist das bei dir der Fall? Ich glaube nicht.

              Also geht das alles weiter wie bisher auch.

              Dann lies bitte auch mal genau was ich geschrieben habe.
              Der write Befehl geht nicht !

              Es wird ein Verzeichnis verlangt unterhalb von ...data/files...

              mfg

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

                Hallo zusammen,

                mal ne doofe Anfängerfrage, welchen Befehl muss ich ins Terminal eingeben, damit ich auf die Version 2.1.1 updaten kann, mit dem Befehl "iobroker upgrade self"
                klappt es nicht.

                Ich habe ioBroker auf einer Qnap in der Docker Station installiert.

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

                  @bahnuhr ich verstehe nicht was du meinst? Wenn du außerhalb des iobroker-data/files Verzeichnisses und damit außerhalb der iobroker Stores arbeitest dann nutzt die weiterhin fs.writeFileSync oder so ... hat doch dann mit dem iobroker store nichts zu tun.

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

                    @Oli definiere bitte „Klappe nicht“ etwas näher. Hast du vorher „iobroker update“ gemacht und da wird der js-Controller als updatable angezeigt?

                    O 2 Replies Last reply Reply Quote 0
                    • O
                      Oli @apollon77 last edited by

                      @apollon77

                      ioBroker Update habe ich gemacht, der js-Controller wird nicht als update angezeigt.

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

                        @apollon77

                        sorry falscher Alarm, anscheinend war die Version 2.1.1 schon installiert.

                        1 Reply Last reply Reply Quote 0
                        • bahnuhr
                          bahnuhr Forum Testing Most Active @apollon77 last edited by

                          @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                          fs.writeFileSync

                          Danke für die Info.

                          1 x hat es klappt. Danach leider nicht mehr.
                          anbei Script:

                              var fs = require('fs'); 
                                  const datei= fs.readFileSync("C:/ioBroker/node_modules/iobroker.sayit/sayit.2.say.mp3"); 
                                  setTimeout(function(){
                                      fs.writeFileSync('c:/tmp/test.mp3', datei, function (error) { });
                                  }, 500);
                          

                          endet mit Fehler mit log:

                          javascript.1	2019-11-24 16:38:28.530	error	at Timer.listOnTimeout (timers.js:290:5)
                          javascript.1	2019-11-24 16:38:28.530	error	at tryOnTimeout (timers.js:323:5)
                          javascript.1	2019-11-24 16:38:28.530	error	at ontimeout (timers.js:511:34)
                          javascript.1	2019-11-24 16:38:28.530	error	at Timeout._onTimeout (C:\ioBroker\node_modules\iobroker.javascript\lib\sandbox.js:1869:34)
                          javascript.1	2019-11-24 16:38:28.530	error	at Object.<anonymous> (script.js.Scripte.test4:147:12)
                          javascript.1	2019-11-24 16:38:28.530	error	at ProtectFs.writeFileSync (C:\ioBroker\node_modules\iobroker.javascript\lib\protectFs.js:31:37)
                          javascript.1	2019-11-24 16:38:28.530	error	at fs.writeFileSync (fs.js:1299:33)
                          javascript.1	2019-11-24 16:38:28.530	error	at Object.fs.openSync (fs.js:646:18)
                          javascript.1	2019-11-24 16:38:28.530	error	Error in callback: Error: EPERM: operation not permitted, open 'c:\tmp\test.mp3'
                          javascript.1	2019-11-24 16:38:28.530	info	script.js.Scripte.test4: C:/tmp/test.mp3
                          

                          ...operation not permitted...

                          versteh ich nicht. Warum soll dieses Verzeichnis nicht erlaubt sein.
                          Bzw. warum hat es 1x geklappt und danach nicht mehr.

                          Windows oder/und iob BUG ?

                          mfg

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

                            Ist es eigentlich korrekt dass die Logfiles unter /opt/iobroker/log/ nicht mehr wöchentlich rotieren?
                            Ich habe mittlerweile 16 Logfiles, logischerweise der letzten 16 Tage. Am 15.11. hatte ich das Update auf JS-Controller 2 gemacht. Seit dem haben die Logfiles Berechtigung 664, alle davor haben 777. Aber das sollte ja erst recht keine Probleme beim Weglöschen machen.

                            SBorg nieIP 2 Replies Last reply Reply Quote 1
                            • SBorg
                              SBorg Forum Testing Most Active @Diginix last edited by

                              @Diginix sagte in js-controller 2 jetzt für alle im Stable:

                              Ist es eigentlich korrekt dass die Logfiles unter /opt/iobroker/log/ nicht mehr wöchentlich rotieren?

                              Korrekt, bzw. wohl eher nicht korrekt.
                              Durch den Betatest sind es bei mir noch paar mehr 😁
                              Bild 1.png

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

                                @bahnuhr prüfe mal die Rechte vom File, Verzeichnis und so ... EPERM ist ein Permission/Rechte Problem beim Zugriff. Würde ich jetzt erst einmal "bei Dir" am System sehen.

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

                                  @SBorg Hm. Bisher nicht aufgefallen. Bitte legt mal ein Issue im js-controller an. Danke

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

                                    @apollon77 Issue angelegt.
                                    https://github.com/ioBroker/ioBroker.js-controller/issues/537

                                    Diginix created this issue in ioBroker/ioBroker.js-controller

                                    closed Log rotate funktioniert nicht mehr #537

                                    1 Reply Last reply Reply Quote 1
                                    • B
                                      BigUsh last edited by

                                      Hallo zusammen,

                                      verfolge das Forum schon sehr lange. Bis dato passiv immer sehr erfolgreich ;).

                                      Erstmal zu meiner Lage:

                                      iobroker läuft im Docker auf einer Synology.
                                      Vorgestern den js-controller von 1.15.XX auf 2.1.1 geupdatet.
                                      Nach dem Update ist der Dienst nicht mehr gestartet. Hatte dann durch 1000 Tipps im Netz das System wieder zum Laufen gebracht.
                                      Hier im Forum habe ich dann gelesen erstmal node.js zu aktualisieren. (ja Schande über mein Haupt)

                                      Habe node.js aktualisiert auf 12.13.1
                                      (ja ich habe gelesen, zu spät, dass Version 10 stabiler ist. Ich habe allerdings keine Ahnung wie ich es wieder "downgrade" und ob es wirklich nötig ist)
                                      Und im Anschluss den js-controller auf 2.1.1

                                      iobroker läuft nun wieder.

                                      Jetzt zu meinem Problem:

                                      Ich habe heute Morgen nun festgestellt das viele meiner Scripte (Java und Blockly) nicht mehr richtig laufen.
                                      Bewegungsmelder und Lichter verhalten sich eigenartig. Heizung wurde nicht geschaltet.
                                      Telegram Scripte laufen allerdings. Auch ein Script welches die Gartenbeleuchtung schaltet läuft.
                                      Finde kein Zusammenhang und bin etwas verwirrt.

                                      Gibt es sowas wie ein Java Cache der geleert werden sollte/kann?
                                      Oder hat jemand einen anderen Tipp?

                                      Gruß
                                      Oli

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

                                        @BigUsh sagte in js-controller 2 jetzt für alle im Stable:

                                        Oder hat jemand einen anderen Tipp?

                                        Hast du mal die gesamte Maschine sauber neu gestartet?

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

                                          @BigUsh Sagt denn das Logfile irgendwa?

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            BigUsh @AlCalzone last edited by

                                            @AlCalzone sagte in js-controller 2 jetzt für alle im Stable:

                                            @BigUsh sagte in js-controller 2 jetzt für alle im Stable:

                                            Oder hat jemand einen anderen Tipp?

                                            Hast du mal die gesamte Maschine sauber neu gestartet?

                                            Dies schon 2 mal. Ohne Erfolg

                                            @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                                            @BigUsh Sagt denn das Logfile irgendwa?

                                            anbei ein Logfile was hoffentlich hilft:

                                            2019-11-25 19:56:16	stdout	Starting node restart.js
                                            2019-11-25 19:56:16	stdout	Chmod finished. Restart controller
                                            2019-11-25 19:56:15	stdout	Execute: chmod -R 777 /opt/iobroker
                                            2019-11-25 19:56:15	stdout	Host "ioBroker" (linux) updated
                                            2019-11-25 19:56:13	stdout	
                                            2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                            2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 install: `node-gyp rebuild`
                                            2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 (node_modules/unix-dgram):
                                            2019-11-25 19:56:13	stdout	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                            2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                                            2019-11-25 19:56:13	stdout	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                            2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                                            2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
                                            2019-11-25 19:56:09	stdout	    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                                            2019-11-25 19:56:09	stdout	    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                                            2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                            2019-11-25 19:56:09	stdout	(node:1873) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                            2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                                            2019-11-25 19:56:09	stdout	    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                                            2019-11-25 19:56:09	stdout	    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                                            2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                            2019-11-25 19:56:08	stdout	gyp ERR! not ok 
                                            2019-11-25 19:56:08	stdout	gyp ERR! node-gyp -v v5.0.5
                                            2019-11-25 19:56:08	stdout	gyp ERR! node -v v12.13.1
                                            2019-11-25 19:56:08	stdout	gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                                            2019-11-25 19:56:08	stdout	gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                            2019-11-25 19:56:08	stdout	gyp ERR! System Linux 4.4.59+
                                            2019-11-25 19:56:08	stdout	gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
                                            2019-11-25 19:56:08	stdout	gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
                                            2019-11-25 19:56:08	stdout	gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                            2019-11-25 19:56:08	stdout	gyp ERR! stack Error: `make` failed with exit code: 2
                                            2019-11-25 19:56:08	stdout	gyp ERR! build error 
                                            2019-11-25 19:56:08	stdout	make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                              ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Close)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:414:62: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                                ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Connect)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:411:64: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                             ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Send)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:408:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                               ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(SendTo)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:405:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                             ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Bind)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:402:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                                               ^
                                            2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Socket)->GetFunction());
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:399:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                      ^
                                            2019-11-25 19:56:08	stdout	                 bool Set(Local<Value> key, Local<Value> value));
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                            2019-11-25 19:56:08	stdout	                                                                            ^
                                            2019-11-25 19:56:08	stdout	   target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM));
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:396:76: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                      ^
                                            2019-11-25 19:56:08	stdout	                 bool Set(Local<Value> key, Local<Value> value));
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                            2019-11-25 19:56:08	stdout	                                                                      ^
                                            2019-11-25 19:56:08	stdout	   target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX));
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:395:70: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::Initialize(v8::Local<v8::Object>)’:
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:361:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                            2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                            2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                 ^
                                            2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[1]);
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:341:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:340:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                               ^
                                            2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                               ^
                                            2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                            ^~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                           ^
                                            2019-11-25 19:56:08	stdout	   buf = info[1]->ToObject();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:303:27: error: no matching function for call to ‘v8::Value::ToObject()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:302:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                            2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                            2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                 ^
                                            2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[4]);
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:262:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                         ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                 ^
                                            2019-11-25 19:56:08	stdout	   length = info[3]->Uint32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:261:33: error: no matching function for call to ‘v8::Value::Uint32Value()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                         ^~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                 ^
                                            2019-11-25 19:56:08	stdout	   offset = info[2]->Uint32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:260:33: error: no matching function for call to ‘v8::Value::Uint32Value()’
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                               ^
                                            2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                            2019-11-25 19:56:08	stdout	                               ^
                                            2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                            2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                            ^~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                           ^
                                            2019-11-25 19:56:08	stdout	   buf = info[1]->ToObject();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:259:27: error: no matching function for call to ‘v8::Value::ToObject()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:258:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                            2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                            2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                 ^
                                            2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[1]);
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:231:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:230:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                     ^
                                            2019-11-25 19:56:08	stdout	   protocol    = info[2]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:191:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                     ^
                                            2019-11-25 19:56:08	stdout	   type        = info[1]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:190:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                            2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                            2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                            2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                            2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                            2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                            2019-11-25 19:56:08	stdout	                                     ^
                                            2019-11-25 19:56:08	stdout	   domain      = info[0]->Int32Value();
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:189:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                            2019-11-25 19:56:08	stdout	../../nan/nan.h:1024:46: note: declared here
                                            2019-11-25 19:56:08	stdout	In file included from ../src/unix_dgram.cc:5:0:
                                            2019-11-25 19:56:08	stdout	                            ^
                                            2019-11-25 19:56:08	stdout	                     0, NULL);
                                            2019-11-25 19:56:08	stdout	../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]
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
                                            2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~~
                                            2019-11-25 19:56:08	stdout	   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                            2019-11-25 19:56:08	stdout	../../nan/nan.h:1024:46: note: declared here
                                            2019-11-25 19:56:08	stdout	In file included from ../src/unix_dgram.cc:5:0:
                                            2019-11-25 19:56:08	stdout	                         ^
                                            2019-11-25 19:56:08	stdout	                     argv);
                                            2019-11-25 19:56:08	stdout	../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]
                                            2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
                                            2019-11-25 19:55:29	stdout	npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
                                            2019-11-25 19:55:29	stdout	NPM version: 6.13.1
                                            2019-11-25 19:55:28	stdout	Update js-controller from @1.5.14 to @2.1.1
                                            2019-11-25 19:55:26	stdout	sudo: Hostname ioBroker kann nicht aufgelöst werden
                                            2019-11-25 19:55:26	stdout	root@ioBroker:/opt/iobroker# iobroker upgrade self
                                            
                                            1 Reply 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

                                            438
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            140039
                                            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