Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Yet another HomeKit adapter

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Yet another HomeKit adapter

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

      Hi zusammen.

      Ich habe eine(ge) Fragen 😉

      Grundsätzlich funktioniert der Adapter sehr geil. Danke dafür.

      Ich versuche nun schon eine Weile den Adapter so einzustellen, wie er für mich passt und hab schon vieles gesucht und gelesen.

      Ich komme allerdings noch nicht so recht dahinter wie ich ihn einstellen kann/muss.

      Meine Lampensteuerung funktioniert wie gewünscht und ich kann auch meinen Samsung TV teilweise steuern.

      Allerdings frage ich mich ob es so richtig ist, wie ich es mache.

      Ich kann den TV ausmachen, auf Pause, Play, lauter, leiser machen usw. Funktioniert alles.

      Dazu habe ich aber jeweils ein Device mit entsprechendem Service als Switch erstellt. Funktioniert auch soweit.

      ! 3805___tv1.jpg

      ! 3805___tvpause.jpg

      Aber es "muss" doch möglich sein nur ein Device mit mehreren Service erstellen zu können? Dies habe ich noch nicht hinbekommen.

      Wenn ich unter "TV" mehrere Services einstelle, läuft der Adapter nicht mehr. Er wechselt kurz auf grün, dann rot und nichts weiter passiert.

      Kann mir bitte jemand erklären, oder sagen wo ich eine Beschreibung der Events finde, wie ich einem Device mehrere Services zuteilen kann?

      Was muss ich als Kategorie wählen?

      ! 3805___cat.jpg

      ! 3805___tv1.jpg
      Oder die Funktionen der verschiedenen Events?

      ! 3805___states.jpg

      ! 3805___tvdevices.jpg
      Bin für jeden Tipp dankbar.

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        @maniac:

        Hi zusammen.

        Ich habe eine(ge) Fragen [emoji6]

        Grundsätzlich funktioniert der Adapter sehr geil. Danke dafür.

        Ich versuche nun schon eine Weile den Adapter so einzustellen, wie er für mich passt und hab schon vieles gesucht und gelesen.

        Ich komme allerdings noch nicht so recht dahinter wie ich ihn einstellen kann/muss.

        Meine Lampensteuerung funktioniert wie gewünscht und ich kann auch meinen Samsung TV teilweise steuern.

        Allerdings frage ich mich ob es so richtig ist, wie ich es mache.

        Ich kann den TV ausmachen, auf Pause, Play, lauter, leiser machen usw. Funktioniert alles.

        Dazu habe ich aber jeweils ein Device mit entsprechendem Service als Switch erstellt. Funktioniert auch soweit.

        ! filename="__tv1.jpg" index="2">~~

        ! filename="__tvpause.jpg" index="3">~~

        Aber es "muss" doch möglich sein nur ein Device mit mehreren Service erstellen zu können? Dies habe ich noch nicht hinbekommen.

        Wenn ich unter "TV" mehrere Services einstelle, läuft der Adapter nicht mehr. Er wechselt kurz auf grün, dann rot und nichts weiter passiert.

        Kann mir bitte jemand erklären, oder sagen wo ich eine Beschreibung der Events finde, wie ich einem Device mehrere Services zuteilen kann?

        Was muss ich als Kategorie wählen?

        ! filename="__cat.jpg" index="0">~~

        ! filename="__tv1.jpg" index="2">~~
        Oder die Funktionen der verschiedenen Events?

        ! filename="__states.jpg" index="1">~~

        Bin für jeden Tipp dankbar. `

        Super das es bereit die gut läuft!

        Hast du mein Video gesehen?

        Wen du mehrere Service erstellst muss der subname unterschiedlich sein sonst crasht der Adapter

        –-----------------------

        Send from mobile device

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

          @Dutchman:

          Super das es bereit die gut läuft!

          Hast du mein Video gesehen?

          Wen du mehrere Service erstellst muss der subname unterschiedlich sein sonst crasht der Adapter

          –-----------------------

          Send from mobile device `

          OMG… Ja hab ich. Aber der Subtype ging an mir vorbei.... Vielen Dank.

          Manchmal ist man zu blind.

          1 Reply Last reply Reply Quote 0
          • C
            chka last edited by

            mal ne frage ich habe mehrere Fenster die mit einem mk oder rk ausgerüstet sind ebenso ist auch ein Rollo an diesen Fenstern kann ich das irgendwie kombinieren als ein gerät in homefit?.

            aktuell habe ich einmal eins für geöffnet /geschlossen und eins Rollo oben/unten?

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

              @chka:

              mal ne frage ich habe mehrere Fenster die mit einem mk oder rk ausgerüstet sind ebenso ist auch ein Rollo an diesen Fenstern kann ich das irgendwie kombinieren als ein gerät in homefit?.

              aktuell habe ich einmal eins für geöffnet /geschlossen und eins Rollo oben/unten? `

              Was ist mk, rk?

              Du kannst doch ein Device "Fenster" anlegen und darunter dann die Services einstellen?

              So hab ich das bei mir zumindest.

              Ich habe ein Device Aussenbeleuchtung und dort mehrere Services. Sind zwar nur Lampen, aber sollte doch funktionieren?

              Es können doch verschiedene Services sein.

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

                Und gleich von mir noch eine Frage.

                Steinigt mich nicht gleich, aber ich habe es bisher einfach nicht gefunden, gibt es eine Auflistung, Erklärung oder weiterführende Informationen zu den Funktionen der Service Types?

                Mir ist nicht ganz klar, was ich wann auswählen kann, soll, muss.

                Speziell geht es mit um Lautstärke Regelung. Siri ist so doof und regelt immer ihre eigene Lautstärke.

                3805___yahka.jpg

                1 Reply Last reply Reply Quote 0
                • C
                  chka last edited by

                  ` > Was ist mk, rk?

                  Du kannst doch ein Device "Fenster" anlegen und darunter dann die Services einstellen?

                  So hab ich das bei mir zumindest.

                  Ich habe ein Device Aussenbeleuchtung und dort mehrere Services. Sind zwar nur Lampen, aber sollte doch funktionieren?

                  Es können doch verschiedene Services sein. `

                  mk = magnetkontakt

                  rk = Riegelkontakt

                  die frage ist kann überhaupt homefit das öffnen schließen eines Fensters und den passenden Rollo in einem anzeigen?

                  interessant ist auch das bei den Fenstern man anscheinend neuerdings sollte ein Motor dran sein diese öffnen kann.

                  leider stürzt bei mir der Adapter ab und zieht Biobroker mit, so ist es schwierig den Fehler zufinden

                  1 Reply Last reply Reply Quote 0
                  • C
                    chka last edited by

                    kleiner Nachtrag bei mir liegt die config Datei nicht an dem angegebene Ort sondern hier :/etc/avahi/avahi-daemon.conf

                    @DiJaexxl:

                    @Dutchman:

                    Du hast aber die Details gelesen und weißt wo/wie du Dateien ändern musst?

                    Einstellungen und Commandos stehen doch in den thread?

                    enable-dbus=yes
                    disable-publishing=no
                    disable-user-service-publishing=no
                    ```` `  
                    

                    Habe die Befehle alle mal eingetppert:

                    sudo apt-get install libnss-mdns avahi-discover avahi-utils
                    
                    sudo /etc/init.d/avahi-daemon restart
                    
                    sudo netstat -tulpen | grep avahi
                    

                    Und…. es hat geklappt 🙂

                    Auch wenn ich kein Russisch kann 🙂


                    Send from mobile device `

                    1 Reply Last reply Reply Quote 0
                    • P
                      Pep last edited by

                      Hallo Leute,

                      ich wollte den Adapter auf meinen Rasperberry installieren. Bekomme aber folgende Fehlermeldung:

                      $ ./iobroker add yahka
                      npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)
                      In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
                      
                      In file included from /root/.node-gyp/6.11.4/include/node/node.h:42:0,                 from ../src/mdns.hpp:11,
                                       from ../src/dns_sd.cpp:1:
                      /root/.node-gyp/6.11.4/include/node/v8.h:345:1: error: expected unqualified-id before ‘using’
                      
                      /root/.node-gyp/6.11.4/include/node/v8.h:481:1: error: expected unqualified-id before ‘using’
                      /root/.node-gyp/6.11.4/include/node/v8.h:882:1: error: expected unqualified-id before ‘using’
                      /root/.node-gyp/6.11.4/include/node/v8.h:5433:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
                      In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
                      ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
                      ../node_modules/nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:64:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:69:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:76:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:83:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:91:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
                      
                      ../node_modules/nan/nan_maybe_43_inl.h:108:8: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:114:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:118:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:139:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:145:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:150:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:156:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:162:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:168:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:174:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:180:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:186:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:205:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:209:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:213:8: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:217:8: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_maybe_43_inl.h:237:8: error: ‘MaybeLocal’ does not name a type
                      In file included from ../node_modules/nan/nan.h:195:0,
                                       from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
                      ../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
                      
                      ../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
                      In file included from ../node_modules/nan/nan_converters.h:59:0,
                                       from ../node_modules/nan/nan.h:195,
                                       from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::boolean>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::number>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::object>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::integer>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::uint32>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::int32>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long/int="">’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int="">’ does not name a type
                      ../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
                      In file included from ../node_modules/nan/nan.h:196:0,
                                       from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Integer]’:
                      ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                      ../node_modules/nan/nan_new.h:21:32: note: candidate is:
                      ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Int32]’:
                      ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                      ../node_modules/nan/nan_new.h:28:30: note: candidate is:
                      ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Uint32]’:
                      ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                      ../node_modules/nan/nan_new.h:35:31: note: candidate is:
                      ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h: At global scope:
                      ../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
                      
                      ../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
                      
                      ../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
                      ../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
                      In file included from ../node_modules/nan/nan_new.h:189:0,
                                       from ../node_modules/nan/nan.h:196,
                                       from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::date>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::function>::return_t Nan::imp::Factory<v8::function>::New(Nan::FunctionCallback, v8::Local<v8::value>)’:
                      ../node_modules/nan/nan_implementation_12_inl.h:95:46: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::functiontemplate>::return_t Nan::imp::Factory<v8::functiontemplate>::New(Nan::FunctionCallback, v8::Local<v8::value>, v8::Local<v8::signature>)’:../node_modules/nan/nan_implementation_12_inl.h:123:48: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:202:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:227:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:259:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:267:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:273:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:280:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      
                      ../node_modules/nan/nan_implementation_12_inl.h:352:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:359:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type
                      
                      In file included from ../node_modules/nan/nan.h:196:0,                 from ../src/mdns.hpp:12,
                                       from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                      ../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                      
                      In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:
                      ../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::RangeError(const char*)’:../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
                      ../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
                      ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::SyntaxError(const char*)’:
                      ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
                      ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::TypeError(const char*)’:../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
                      ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: At global scope:
                      ../node_modules/nan/nan.h:667:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:689:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:705:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:718:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:735:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:749:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:756:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:762:10: error: ‘MaybeLocal’ does not name a type
                      
                      ../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::function>&)’:../node_modules/nan/nan.h:1398:40: error: ‘Set’ was not declared in this scope
                      ../node_modules/nan/nan.h:1398:40: note: suggested alternative:
                      /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                      
                      ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::value>&)’:../node_modules/nan/nan.h:1518:41: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In member function ‘v8::Local <v8::value>Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1536:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1570:58: error: no matching function for call to ‘New(const char*)’
                      ../node_modules/nan/nan.h:1570:58: note: candidates are:
                      ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                      ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                      ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                      ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                      ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                      ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                      ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::string>, v8::Local<v8::functiontemplate>, ...)’:../node_modules/nan/nan.h:1872:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
                      ../node_modules/nan/nan.h:1872:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(HandleType, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1884:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::functiontemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1899:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::objecttemplate>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
                      ../node_modules/nan/nan.h:1924:47: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::object>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1967:51: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2026:47: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2096:47: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::functiontemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2151:47: error: ‘NewInstance’ was not declared in this scope
                      
                      ../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::objecttemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2173:47: error: ‘NewInstance’ was not declared in this scope
                      
                      In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                      ../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
                      ../node_modules/nan/nan.h:2200:35: error: no matching function for call to ‘New(const char*&)’
                      ../node_modules/nan/nan.h:2200:35: note: candidates are:
                      ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                      ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                      ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                      ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                      ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                      ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                      ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                      
                      ../node_modules/nan/nan.h:2201:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2201:65: error: ‘Set’ was not declared in this scope
                      ../node_modules/nan/nan.h:2201:65: note: suggested alternative:
                      /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                      ../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::value>)’:
                      ../node_modules/nan/nan.h:2208:30: error: no matching function for call to ‘To(v8::Local<v8::value>&)’
                      ../node_modules/nan/nan.h:2208:30: note: candidate is:
                      ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                      ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
                      ../node_modules/nan/nan.h:2221:33: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
                      ../node_modules/nan/nan.h:2227:30: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../node_modules/nan/nan.h: At global scope:
                      ../node_modules/nan/nan.h:2251:10: error: ‘MaybeLocal’ does not name a type
                      ../node_modules/nan/nan.h:2256:40: error: ‘MaybeLocal’ was not declared in this scope
                      ../node_modules/nan/nan.h:2256:40: note: suggested alternative:
                      /root/.node-gyp/6.11.4/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
                      ../node_modules/nan/nan.h:2256:52: error: template argument 1 is invalid
                      ../node_modules/nan/nan.h:2256:54: error: expected unqualified-id before ‘>’ token
                      ../node_modules/nan/nan.h:2265:1: error: ‘MaybeLocal’ does not name a type
                      
                      In file included from ../src/dns_sd.cpp:5:0:../src/mdns_utils.hpp: In function ‘v8::Local <v8::value>node_mdns::stringOrUndefined(const char*)’:
                      ../src/mdns_utils.hpp:50:40: error: no matching function for call to ‘New(const char*&)’
                      ../src/mdns_utils.hpp:50:40: note: candidates are:
                      ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                      ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                      ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                      ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                      ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                      ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                      ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                      ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                      ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                      
                      In file included from ../src/dns_sd.cpp:7:0:../src/txt_record_ref.hpp: At global scope:
                      ../src/txt_record_ref.hpp:11:36: error: ‘v8::Handle’ has not been declared
                      
                      ../src/txt_record_ref.hpp:11:42: error: expected ‘,’ or ‘...’ before ‘<’ token../src/txt_record_ref.hpp:16:44: error: ‘v8::Handle’ has not been declared
                      ../src/txt_record_ref.hpp:16:50: error: expected ‘,’ or ‘...’ before ‘<’ token
                      
                      ../src/txt_record_ref.hpp: In static member function ‘static bool node_mdns::TxtRecordRef::HasInstance(int)’:../src/txt_record_ref.hpp:17:20: error: ‘value’ was not declared in this scope
                      ../src/txt_record_ref.hpp:18:44: error: ‘value’ was not declared in this scope
                      In file included from ../src/dns_sd.cpp:9:0:
                      ../src/socket_watcher.hpp: At global scope:
                      ../src/socket_watcher.hpp:10:36: error: ‘v8::Handle’ has not been declared
                      ../src/socket_watcher.hpp:10:42: error: expected ‘,’ or ‘...’ before ‘<’ token
                      ../src/dns_sd.cpp: In function ‘void node_mdns::init(v8::Local<v8::object>)’:
                      ../src/dns_sd.cpp:56:38: error: no matching function for call to ‘node_mdns::TxtRecordRef::Initialize(v8::Local<v8::object>&)’
                      ../src/dns_sd.cpp:56:38: note: candidate is:
                      ../src/txt_record_ref.hpp:11:21: note: static void node_mdns::TxtRecordRef::Initialize(int)
                      ../src/txt_record_ref.hpp:11:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                      ../src/dns_sd.cpp:58:39: error: no matching function for call to ‘node_mdns::SocketWatcher::Initialize(v8::Local<v8::object>&)’
                      ../src/dns_sd.cpp:58:39: note: candidate is:
                      ../src/socket_watcher.hpp:10:21: note: static void node_mdns::SocketWatcher::Initialize(int)
                      ../src/socket_watcher.hpp:10:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                      ../src/dns_sd.cpp: In function ‘void node_mdns::defineFunction(v8::Local<v8::object>, const char*, Nan::FunctionCallback)’:
                      ../src/dns_sd.cpp:94:5: error: ‘Set’ is not a member of ‘Nan’
                      ../src/dns_sd.cpp:94:5: note: suggested alternatives:
                      /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                      /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                      ../src/dns_sd.cpp:94:37: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                      ../src/dns_sd.cpp:95:13: error: ‘GetFunction’ is not a member of ‘Nan’
                      
                      ../src/dns_sd.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_mdns::buildException(Nan::NAN_METHOD_ARGS_TYPE)’:../src/dns_sd.cpp:107:57: error: no matching function for call to ‘To(v8::Local<v8::value>)’
                      ../src/dns_sd.cpp:107:57: note: candidate is:
                      ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                      
                      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:../node_modules/nan/nan.h:655:3: warning: control reaches end of non-void function [-Wreturn-type]
                      
                      make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1gyp
                      
                      ERR!
                       build error 
                      gyp
                       ERR!
                      
                      stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                      gyp ERR! stack     at emitTwo (events.js:106:13)
                      gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                      gyp ERR! System Linux 4.1.19-v7+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/mdns
                      gyp ERR! node -v v6.11.4
                      gyp ERR! node-gyp -v v3.4.0
                      gyp ERR! not ok 
                      
                      npm
                       WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/tar-pack/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json'
                      
                      npm
                       ERR! Linux 4.1.19-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.yahka" "--production" "--prefix" "/opt/iobroker"
                      npm 
                      ERR! node v6.11.4npm ERR! npm  v3.10.10
                      npm ERR! code ELIFECYCLE
                      
                      npm ERR! mdns@2.3.3 install: `node-gyp rebuild`npm ERR! Exit status 1
                      npm ERR! 
                      npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
                      npm ERR! Make sure you have the latest version of node.js and npm installed.
                      
                      npm ERR! If you do, this is most likely a problem with the mdns package,npm ERR! not with npm itself.
                      
                      npm ERR! Tell the author that this fails on your system:npm ERR!     node-gyp rebuild
                      npm ERR! You can get information on how to open an issue for this project with:
                      npm ERR!     npm bugs mdns
                      npm ERR! Or if that isn't available, you can get their info via:
                      npm
                       ERR!     npm owner ls mdnsnpm ERR! There is likely additional logging output above.
                      
                      npm ERR!
                       Please include the following file with any support request:npm ERR!
                           /opt/npm-debug.log
                      host.raspberrypi install adapter yahka
                      npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)</v8::value></v8::value></class></v8::value></v8::boolean></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::boolean></v8::boolean></v8::value></class></v8::value></v8::value></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::objecttemplate></v8::value></v8::functiontemplate></v8::value></v8::objecttemplate></v8::value></v8::objecttemplate></v8::value></v8::string></v8::object></v8::value></v8::string></v8::objecttemplate></v8::boolean></v8::functiontemplate></v8::boolean></v8::functiontemplate></v8::string></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::value></v8::boolean></v8::value></v8::function></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::regexp></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::script></v8::regexp></v8::signature></v8::value></v8::functiontemplate></v8::functiontemplate></v8::value></v8::function></v8::function></v8::date></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></int></unsigned></long></double></bool></v8::int32></v8::uint32></v8::integer></v8::object></v8::string></v8::number></v8::boolean>
                      

                      Kenn jemand helfen? libavahi-compat-libdnssd-dev ist drauf

                      1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators last edited by

                        @Pep:

                        Hallo Leute,

                        ich wollte den Adapter auf meinen Rasperberry installieren. Bekomme aber folgende Fehlermeldung:

                        $ ./iobroker add yahka
                        npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)
                        In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
                        
                        In file included from /root/.node-gyp/6.11.4/include/node/node.h:42:0,                 from ../src/mdns.hpp:11,
                                         from ../src/dns_sd.cpp:1:
                        /root/.node-gyp/6.11.4/include/node/v8.h:345:1: error: expected unqualified-id before ‘using’
                        
                        /root/.node-gyp/6.11.4/include/node/v8.h:481:1: error: expected unqualified-id before ‘using’
                        /root/.node-gyp/6.11.4/include/node/v8.h:882:1: error: expected unqualified-id before ‘using’
                        /root/.node-gyp/6.11.4/include/node/v8.h:5433:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
                        In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
                        ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
                        ../node_modules/nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:64:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:69:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:76:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:83:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:91:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
                        
                        ../node_modules/nan/nan_maybe_43_inl.h:108:8: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:114:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:118:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:139:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:145:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:150:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:156:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:162:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:168:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:174:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:180:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:186:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:205:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:209:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:213:8: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:217:8: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_maybe_43_inl.h:237:8: error: ‘MaybeLocal’ does not name a type
                        In file included from ../node_modules/nan/nan.h:195:0,
                                         from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
                        ../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
                        
                        ../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
                        In file included from ../node_modules/nan/nan_converters.h:59:0,
                                         from ../node_modules/nan/nan.h:195,
                                         from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::boolean>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::number>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::object>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::integer>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::uint32>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::int32>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long/int="">’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int="">’ does not name a type
                        ../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
                        In file included from ../node_modules/nan/nan.h:196:0,
                                         from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Integer]’:
                        ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                        ../node_modules/nan/nan_new.h:21:32: note: candidate is:
                        ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Int32]’:
                        ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                        ../node_modules/nan/nan_new.h:28:30: note: candidate is:
                        ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Uint32]’:
                        ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                        ../node_modules/nan/nan_new.h:35:31: note: candidate is:
                        ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h: At global scope:
                        ../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
                        
                        ../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
                        
                        ../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
                        ../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
                        In file included from ../node_modules/nan/nan_new.h:189:0,
                                         from ../node_modules/nan/nan.h:196,
                                         from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::date>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::function>::return_t Nan::imp::Factory<v8::function>::New(Nan::FunctionCallback, v8::Local<v8::value>)’:
                        ../node_modules/nan/nan_implementation_12_inl.h:95:46: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::functiontemplate>::return_t Nan::imp::Factory<v8::functiontemplate>::New(Nan::FunctionCallback, v8::Local<v8::value>, v8::Local<v8::signature>)’:../node_modules/nan/nan_implementation_12_inl.h:123:48: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:202:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:227:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:259:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:267:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:273:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:280:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        
                        ../node_modules/nan/nan_implementation_12_inl.h:352:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:359:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type
                        
                        In file included from ../node_modules/nan/nan.h:196:0,                 from ../src/mdns.hpp:12,
                                         from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                        ../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                        
                        In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:
                        ../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::RangeError(const char*)’:../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
                        ../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
                        ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::SyntaxError(const char*)’:
                        ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
                        ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::TypeError(const char*)’:../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
                        ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: At global scope:
                        ../node_modules/nan/nan.h:667:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:689:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:705:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:718:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:735:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:749:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:756:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:762:10: error: ‘MaybeLocal’ does not name a type
                        
                        ../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::function>&)’:../node_modules/nan/nan.h:1398:40: error: ‘Set’ was not declared in this scope
                        ../node_modules/nan/nan.h:1398:40: note: suggested alternative:
                        /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                        
                        ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::value>&)’:../node_modules/nan/nan.h:1518:41: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In member function ‘v8::Local <v8::value>Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1536:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1570:58: error: no matching function for call to ‘New(const char*)’
                        ../node_modules/nan/nan.h:1570:58: note: candidates are:
                        ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                        ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                        ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                        ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                        ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                        ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                        ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::string>, v8::Local<v8::functiontemplate>, ...)’:../node_modules/nan/nan.h:1872:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
                        ../node_modules/nan/nan.h:1872:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(HandleType, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1884:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::functiontemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1899:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::objecttemplate>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
                        ../node_modules/nan/nan.h:1924:47: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::object>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1967:51: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2026:47: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2096:47: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::functiontemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2151:47: error: ‘NewInstance’ was not declared in this scope
                        
                        ../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::objecttemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2173:47: error: ‘NewInstance’ was not declared in this scope
                        
                        In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                        ../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
                        ../node_modules/nan/nan.h:2200:35: error: no matching function for call to ‘New(const char*&)’
                        ../node_modules/nan/nan.h:2200:35: note: candidates are:
                        ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                        ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                        ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                        ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                        ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                        ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                        ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                        
                        ../node_modules/nan/nan.h:2201:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2201:65: error: ‘Set’ was not declared in this scope
                        ../node_modules/nan/nan.h:2201:65: note: suggested alternative:
                        /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                        ../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::value>)’:
                        ../node_modules/nan/nan.h:2208:30: error: no matching function for call to ‘To(v8::Local<v8::value>&)’
                        ../node_modules/nan/nan.h:2208:30: note: candidate is:
                        ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                        ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
                        ../node_modules/nan/nan.h:2221:33: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
                        ../node_modules/nan/nan.h:2227:30: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../node_modules/nan/nan.h: At global scope:
                        ../node_modules/nan/nan.h:2251:10: error: ‘MaybeLocal’ does not name a type
                        ../node_modules/nan/nan.h:2256:40: error: ‘MaybeLocal’ was not declared in this scope
                        ../node_modules/nan/nan.h:2256:40: note: suggested alternative:
                        /root/.node-gyp/6.11.4/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
                        ../node_modules/nan/nan.h:2256:52: error: template argument 1 is invalid
                        ../node_modules/nan/nan.h:2256:54: error: expected unqualified-id before ‘>’ token
                        ../node_modules/nan/nan.h:2265:1: error: ‘MaybeLocal’ does not name a type
                        
                        In file included from ../src/dns_sd.cpp:5:0:../src/mdns_utils.hpp: In function ‘v8::Local <v8::value>node_mdns::stringOrUndefined(const char*)’:
                        ../src/mdns_utils.hpp:50:40: error: no matching function for call to ‘New(const char*&)’
                        ../src/mdns_utils.hpp:50:40: note: candidates are:
                        ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                        ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                        ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                        ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                        ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                        ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                        ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                        ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                        ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                        
                        In file included from ../src/dns_sd.cpp:7:0:../src/txt_record_ref.hpp: At global scope:
                        ../src/txt_record_ref.hpp:11:36: error: ‘v8::Handle’ has not been declared
                        
                        ../src/txt_record_ref.hpp:11:42: error: expected ‘,’ or ‘...’ before ‘<’ token../src/txt_record_ref.hpp:16:44: error: ‘v8::Handle’ has not been declared
                        ../src/txt_record_ref.hpp:16:50: error: expected ‘,’ or ‘...’ before ‘<’ token
                        
                        ../src/txt_record_ref.hpp: In static member function ‘static bool node_mdns::TxtRecordRef::HasInstance(int)’:../src/txt_record_ref.hpp:17:20: error: ‘value’ was not declared in this scope
                        ../src/txt_record_ref.hpp:18:44: error: ‘value’ was not declared in this scope
                        In file included from ../src/dns_sd.cpp:9:0:
                        ../src/socket_watcher.hpp: At global scope:
                        ../src/socket_watcher.hpp:10:36: error: ‘v8::Handle’ has not been declared
                        ../src/socket_watcher.hpp:10:42: error: expected ‘,’ or ‘...’ before ‘<’ token
                        ../src/dns_sd.cpp: In function ‘void node_mdns::init(v8::Local<v8::object>)’:
                        ../src/dns_sd.cpp:56:38: error: no matching function for call to ‘node_mdns::TxtRecordRef::Initialize(v8::Local<v8::object>&)’
                        ../src/dns_sd.cpp:56:38: note: candidate is:
                        ../src/txt_record_ref.hpp:11:21: note: static void node_mdns::TxtRecordRef::Initialize(int)
                        ../src/txt_record_ref.hpp:11:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                        ../src/dns_sd.cpp:58:39: error: no matching function for call to ‘node_mdns::SocketWatcher::Initialize(v8::Local<v8::object>&)’
                        ../src/dns_sd.cpp:58:39: note: candidate is:
                        ../src/socket_watcher.hpp:10:21: note: static void node_mdns::SocketWatcher::Initialize(int)
                        ../src/socket_watcher.hpp:10:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                        ../src/dns_sd.cpp: In function ‘void node_mdns::defineFunction(v8::Local<v8::object>, const char*, Nan::FunctionCallback)’:
                        ../src/dns_sd.cpp:94:5: error: ‘Set’ is not a member of ‘Nan’
                        ../src/dns_sd.cpp:94:5: note: suggested alternatives:
                        /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                        /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                        ../src/dns_sd.cpp:94:37: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                        ../src/dns_sd.cpp:95:13: error: ‘GetFunction’ is not a member of ‘Nan’
                        
                        ../src/dns_sd.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_mdns::buildException(Nan::NAN_METHOD_ARGS_TYPE)’:../src/dns_sd.cpp:107:57: error: no matching function for call to ‘To(v8::Local<v8::value>)’
                        ../src/dns_sd.cpp:107:57: note: candidate is:
                        ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                        
                        ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:../node_modules/nan/nan.h:655:3: warning: control reaches end of non-void function [-Wreturn-type]
                        
                        make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1gyp
                         
                        ERR!
                         build error 
                        gyp
                         ERR!
                         
                        stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                        gyp ERR! stack     at emitTwo (events.js:106:13)
                        gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                        gyp ERR! System Linux 4.1.19-v7+
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/mdns
                        gyp ERR! node -v v6.11.4
                        gyp ERR! node-gyp -v v3.4.0
                        gyp ERR! not ok 
                        
                        npm
                         WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/tar-pack/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json'
                        
                        npm
                         ERR! Linux 4.1.19-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.yahka" "--production" "--prefix" "/opt/iobroker"
                        npm 
                        ERR! node v6.11.4npm ERR! npm  v3.10.10
                        npm ERR! code ELIFECYCLE
                        
                        npm ERR! mdns@2.3.3 install: `node-gyp rebuild`npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                        
                        npm ERR! If you do, this is most likely a problem with the mdns package,npm ERR! not with npm itself.
                        
                        npm ERR! Tell the author that this fails on your system:npm ERR!     node-gyp rebuild
                        npm ERR! You can get information on how to open an issue for this project with:
                        npm ERR!     npm bugs mdns
                        npm ERR! Or if that isn't available, you can get their info via:
                        npm
                         ERR!     npm owner ls mdnsnpm ERR! There is likely additional logging output above.
                        
                        npm ERR!
                         Please include the following file with any support request:npm ERR!
                             /opt/npm-debug.log
                        host.raspberrypi install adapter yahka
                        npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)</v8::value></v8::value></class></v8::value></v8::boolean></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::boolean></v8::boolean></v8::value></class></v8::value></v8::value></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::objecttemplate></v8::value></v8::functiontemplate></v8::value></v8::objecttemplate></v8::value></v8::objecttemplate></v8::value></v8::string></v8::object></v8::value></v8::string></v8::objecttemplate></v8::boolean></v8::functiontemplate></v8::boolean></v8::functiontemplate></v8::string></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::value></v8::boolean></v8::value></v8::function></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::regexp></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::script></v8::regexp></v8::signature></v8::value></v8::functiontemplate></v8::functiontemplate></v8::value></v8::function></v8::function></v8::date></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></int></unsigned></long></double></bool></v8::int32></v8::uint32></v8::integer></v8::object></v8::string></v8::number></v8::boolean>
                        

                        Kenn jemand helfen? libavahi-compat-libdnssd-dev ist drauf `

                        Ist das der komplette fehler Log?

                        Da schreint was mir mdns schief zu gehen, Mal :

                         npm install mdn
                        

                        Probiert?

                        –-----------------------

                        Send from mobile device

                        1 Reply Last reply Reply Quote 0
                        • P
                          Pep last edited by

                          Hallo Dutchman,

                          dein Vorschlag ergibt folgendes:

                          root@raspberrypi:~# npm install mdn
                          npm WARN prefer global mdn@1.0.1 should be installed with -g
                          iobroker@1.0.0 /root
                          └─┬ mdn@1.0.1
                            └── open@0.0.4
                          
                          root@raspberrypi:~# npm install mdn -g
                          /usr/bin/mdn -> /usr/lib/node_modules/mdn/index.js
                          /usr/lib
                          └─┬ mdn@1.0.1
                            └── open@0.0.4
                          

                          Und dann nochmal die komplette Fehlermeldung

                          $ ./iobroker add yahka
                          npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)
                          In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
                          
                          In file included from /root/.node-gyp/6.11.4/include/node/node.h:42:0,                 from ../src/mdns.hpp:11,
                                           from ../src/dns_sd.cpp:1:
                          /root/.node-gyp/6.11.4/include/node/v8.h:345:1: error: expected unqualified-id before ‘using’
                          
                          /root/.node-gyp/6.11.4/include/node/v8.h:481:1: error: expected unqualified-id before ‘using’
                          /root/.node-gyp/6.11.4/include/node/v8.h:882:1: error: expected unqualified-id before ‘using’
                          /root/.node-gyp/6.11.4/include/node/v8.h:5433:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
                          In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
                          ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
                          ../node_modules/nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:64:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:69:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:76:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:83:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:91:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
                          
                          ../node_modules/nan/nan_maybe_43_inl.h:108:8: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:114:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:118:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:139:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:145:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:150:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:156:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:162:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:168:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:174:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:180:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:186:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:205:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:209:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:213:8: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:217:8: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_maybe_43_inl.h:237:8: error: ‘MaybeLocal’ does not name a type
                          In file included from ../node_modules/nan/nan.h:195:0,
                                           from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
                          ../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
                          In file included from ../node_modules/nan/nan_converters.h:59:0,
                                           from ../node_modules/nan/nan.h:195,
                                           from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::boolean>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::number>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::object>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::integer>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::uint32>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::int32>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long/int="">’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int="">’ does not name a type
                          ../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
                          
                          In file included from ../node_modules/nan/nan.h:196:0,                 from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Integer]’:
                          ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                          ../node_modules/nan/nan_new.h:21:32: note: candidate is:
                          ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Int32]’:
                          ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                          ../node_modules/nan/nan_new.h:28:30: note: candidate is:
                          ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h: In function ‘v8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Uint32]’:
                          ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::integer>&)’
                          ../node_modules/nan/nan_new.h:35:31: note: candidate is:
                          ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h: At global scope:
                          ../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
                          
                          ../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
                          ../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
                          
                          In file included from ../node_modules/nan/nan_new.h:189:0,                 from ../node_modules/nan/nan.h:196,
                                           from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::date>’ does not name a type
                          
                          ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::function>::return_t Nan::imp::Factory<v8::function>::New(Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan_implementation_12_inl.h:95:46: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::functiontemplate>::return_t Nan::imp::Factory<v8::functiontemplate>::New(Nan::FunctionCallback, v8::Local<v8::value>, v8::Local<v8::signature>)’:../node_modules/nan/nan_implementation_12_inl.h:123:48: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:202:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:227:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::script>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:259:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:267:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:273:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:280:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          
                          ../node_modules/nan/nan_implementation_12_inl.h:352:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:359:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::unboundscript>’ does not name a type
                          
                          In file included from ../node_modules/nan/nan.h:196:0,                 from ../src/mdns.hpp:12,
                                           from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::string>’ does not name a type
                          ../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::regexp>’ does not name a type
                          
                          In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:
                          ../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::RangeError(const char*)’:
                          ../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::ReferenceError(const char*)’:
                          ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
                          ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
                          ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::TypeError(const char*)’:
                          ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: At global scope:
                          ../node_modules/nan/nan.h:667:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:689:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:705:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:718:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:735:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:749:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:756:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:762:10: error: ‘MaybeLocal’ does not name a type
                          
                          ../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::function>&)’:../node_modules/nan/nan.h:1398:40: error: ‘Set’ was not declared in this scope
                          ../node_modules/nan/nan.h:1398:40: note: suggested alternative:
                          /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                          
                          ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::value>&)’:../node_modules/nan/nan.h:1518:41: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In member function ‘v8::Local <v8::value>Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1536:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1570:58: error: no matching function for call to ‘New(const char*)’
                          ../node_modules/nan/nan.h:1570:58: note: candidates are:
                          ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                          ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                          ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                          ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                          ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                          ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                          ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::string>, v8::Local<v8::functiontemplate>, ...)’:../node_modules/nan/nan.h:1872:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
                          ../node_modules/nan/nan.h:1872:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(HandleType, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1884:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::functiontemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1899:45: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::objecttemplate>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1924:47: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::object>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1967:51: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2026:47: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2096:47: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::functiontemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2151:47: error: ‘NewInstance’ was not declared in this scope
                          
                          ../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::objecttemplate>, Nan::FunctionCallback, v8::Local<v8::value>)’:../node_modules/nan/nan.h:2173:47: error: ‘NewInstance’ was not declared in this scope
                          
                          In file included from ../src/mdns.hpp:12:0,                 from ../src/dns_sd.cpp:1:
                          ../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
                          ../node_modules/nan/nan.h:2200:35: error: no matching function for call to ‘New(const char*&)’
                          ../node_modules/nan/nan.h:2200:35: note: candidates are:
                          ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                          ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                          ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                          ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                          ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                          ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                          ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                          ../node_modules/nan/nan.h:2201:47: error: ‘GetFunction’ was not declared in this scope
                          ../node_modules/nan/nan.h:2201:65: error: ‘Set’ was not declared in this scope
                          ../node_modules/nan/nan.h:2201:65: note: suggested alternative:
                          /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                          
                          ../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::value>)’:../node_modules/nan/nan.h:2208:30: error: no matching function for call to ‘To(v8::Local<v8::value>&)’
                          ../node_modules/nan/nan.h:2208:30: note: candidate is:
                          ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                          ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
                          ../node_modules/nan/nan.h:2221:33: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          
                          ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2227:30: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../node_modules/nan/nan.h: At global scope:
                          ../node_modules/nan/nan.h:2251:10: error: ‘MaybeLocal’ does not name a type
                          ../node_modules/nan/nan.h:2256:40: error: ‘MaybeLocal’ was not declared in this scope
                          ../node_modules/nan/nan.h:2256:40: note: suggested alternative:
                          /root/.node-gyp/6.11.4/include/node/v8.h:115:7: note:   ‘v8::MaybeLocal’
                          ../node_modules/nan/nan.h:2256:52: error: template argument 1 is invalid
                          ../node_modules/nan/nan.h:2256:54: error: expected unqualified-id before ‘>’ token
                          ../node_modules/nan/nan.h:2265:1: error: ‘MaybeLocal’ does not name a type
                          
                          In file included from ../src/dns_sd.cpp:5:0:../src/mdns_utils.hpp: In function ‘v8::Local <v8::value>node_mdns::stringOrUndefined(const char*)’:
                          ../src/mdns_utils.hpp:50:40: error: no matching function for call to ‘New(const char*&)’
                          ../src/mdns_utils.hpp:50:40: note: candidates are:
                          ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                          ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template <class t="">v8::Local Nan::New(const Nan::Global&)
                          ../node_modules/nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                          ../node_modules/nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                          ../node_modules/nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                          ../node_modules/nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
                          ../node_modules/nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
                          ../node_modules/nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                          ../node_modules/nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2)
                          
                          In file included from ../src/dns_sd.cpp:7:0:../src/txt_record_ref.hpp: At global scope:
                          ../src/txt_record_ref.hpp:11:36: error: ‘v8::Handle’ has not been declared
                          ../src/txt_record_ref.hpp:11:42: error: expected ‘,’ or ‘...’ before ‘<’ token
                          ../src/txt_record_ref.hpp:16:44: error: ‘v8::Handle’ has not been declared
                          ../src/txt_record_ref.hpp:16:50: error: expected ‘,’ or ‘...’ before ‘<’ token
                          
                          ../src/txt_record_ref.hpp: In static member function ‘static bool node_mdns::TxtRecordRef::HasInstance(int)’:../src/txt_record_ref.hpp:17:20: error: ‘value’ was not declared in this scope
                          ../src/txt_record_ref.hpp:18:44: error: ‘value’ was not declared in this scope
                          
                          In file included from ../src/dns_sd.cpp:9:0:../src/socket_watcher.hpp: At global scope:
                          ../src/socket_watcher.hpp:10:36: error: ‘v8::Handle’ has not been declared
                          ../src/socket_watcher.hpp:10:42: error: expected ‘,’ or ‘...’ before ‘<’ token
                          ../src/dns_sd.cpp: In function ‘void node_mdns::init(v8::Local<v8::object>)’:
                          ../src/dns_sd.cpp:56:38: error: no matching function for call to ‘node_mdns::TxtRecordRef::Initialize(v8::Local<v8::object>&)’
                          ../src/dns_sd.cpp:56:38: note: candidate is:
                          ../src/txt_record_ref.hpp:11:21: note: static void node_mdns::TxtRecordRef::Initialize(int)
                          ../src/txt_record_ref.hpp:11:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                          ../src/dns_sd.cpp:58:39: error: no matching function for call to ‘node_mdns::SocketWatcher::Initialize(v8::Local<v8::object>&)’
                          ../src/dns_sd.cpp:58:39: note: candidate is:
                          ../src/socket_watcher.hpp:10:21: note: static void node_mdns::SocketWatcher::Initialize(int)
                          ../src/socket_watcher.hpp:10:21: note:   no known conversion for argument 1 from ‘v8::Local<v8::object>’ to ‘int’
                          ../src/dns_sd.cpp: In function ‘void node_mdns::defineFunction(v8::Local<v8::object>, const char*, Nan::FunctionCallback)’:
                          ../src/dns_sd.cpp:94:5: error: ‘Set’ is not a member of ‘Nan’
                          ../src/dns_sd.cpp:94:5: note: suggested alternatives:
                          /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                          /root/.node-gyp/6.11.4/include/node/v8.h:3087:17: note:   ‘v8::Set’
                          ../src/dns_sd.cpp:94:37: error: ‘Nan::imp::FactoryBase<v8::boolean>::return_t’ has no member named ‘ToLocalChecked’
                          ../src/dns_sd.cpp:95:13: error: ‘GetFunction’ is not a member of ‘Nan’
                          
                          ../src/dns_sd.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_mdns::buildException(Nan::NAN_METHOD_ARGS_TYPE)’:../src/dns_sd.cpp:107:57: error: no matching function for call to ‘To(v8::Local<v8::value>)’
                          ../src/dns_sd.cpp:107:57: note: candidate is:
                          ../node_modules/nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                          
                          ../node_modules/nan/nan.h: In function ‘v8::Local <v8::value>Nan::Error(const char*)’:../node_modules/nan/nan.h:655:3: warning: control reaches end of non-void function [-Wreturn-type]
                          
                          make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
                          gyp
                           ERR! build error 
                          gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                          gyp ERR! stack     at emitTwo (events.js:106:13)
                          gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                          
                          gyp ERR! System Linux 4.1.19-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/mdns
                          gyp ERR! node -v v6.11.4
                          gyp ERR! node-gyp -v v3.4.0
                          gyp ERR! not ok 
                          
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/tar-pack/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/package.json'
                          npm
                           WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.homekit2/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json'
                          
                          npm ERR! Linux 4.1.19-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.yahka" "--production" "--prefix" "/opt/iobroker"
                          npm ERR! node v6.11.4
                          npm ERR! npm  v3.10.10
                          npm ERR! code ELIFECYCLE
                          
                          npm ERR! mdns@2.3.3 install: `node-gyp rebuild`npm ERR! Exit status 1
                          npm ERR! 
                          npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
                          npm ERR! Make sure you have the latest version of node.js and npm installed.
                          npm ERR! If you do, this is most likely a problem with the mdns package,
                          
                          npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:
                          npm ERR!     node-gyp rebuild
                          npm ERR! You can get information on how to open an issue for this project with:
                          npm ERR!     npm bugs mdns
                          npm ERR! Or if that isn't available, you can get their info via:
                          npm ERR!     npm owner ls mdns
                          npm ERR! There is likely additional logging output above.
                          
                          npm ERR! Please include the following file with any support request:
                          npm ERR!     /opt/npm-debug.log
                          npm ERR! code 1
                          
                          host.raspberrypi install adapter yahka
                          npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)</v8::value></v8::value></class></v8::value></v8::boolean></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::boolean></v8::boolean></v8::value></class></v8::value></v8::value></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::objecttemplate></v8::value></v8::functiontemplate></v8::value></v8::objecttemplate></v8::value></v8::objecttemplate></v8::value></v8::string></v8::object></v8::value></v8::string></v8::objecttemplate></v8::boolean></v8::functiontemplate></v8::boolean></v8::functiontemplate></v8::string></v8::value></class></v8::value></class></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::value></v8::boolean></v8::value></v8::function></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::regexp></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::script></v8::regexp></v8::signature></v8::value></v8::functiontemplate></v8::functiontemplate></v8::value></v8::function></v8::function></v8::date></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></int></unsigned></long></double></bool></v8::int32></v8::uint32></v8::integer></v8::object></v8::string></v8::number></v8::boolean>
                          
                          1 Reply Last reply Reply Quote 0
                          • Dutchman
                            Dutchman Developer Most Active Administrators last edited by

                            Jetzt bin ich raus 😕

                            Adapter installiert also komplett garnicht bei dir?

                            –-----------------------

                            Send from mobile device

                            1 Reply Last reply Reply Quote 0
                            • P
                              Pep last edited by

                              @Dutchman:

                              Jetzt bin ich raus 😕

                              Adapter installiert also komplett garnicht bei dir?

                              –-----------------------

                              Send from mobile device `

                              Genau 😞

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

                                @Pep:

                                @Dutchman:

                                Jetzt bin ich raus 😕

                                Adapter installiert also komplett garnicht bei dir?

                                –-----------------------

                                Send from mobile device `

                                Genau 😞 `

                                Der Stress mit diesem Adapter den ich ja eigentlich mag, hat mich irgendwann mal dazu bewegt, aus einem Image alles nochmal von Anfang an neu zu machen. Das ist jetzt etwa 4 Wochen her und noch läuft alles sehr stabil.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  VANTOM last edited by

                                  habe den adapter installiert aber er bleibt auf rot. was muss in die Einstellungen rein?

                                  im log steht folgendes:

                                  startInstance yahka.0: cannot find start file!

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chka last edited by

                                    welche log meinst du in der log direkt im gut von iobroker finde ich trotz richtiger Logstufe keinen Fehler.

                                    bei mir startet der adapter und nach kurzer zeit stürzt der komplette Biobroker ab und lässt sich nur manuell wieder neu starten.

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      VANTOM last edited by

                                      @VANTOM:

                                      habe den adapter installiert aber er bleibt auf rot. was muss in die Einstellungen rein?

                                      im log steht folgendes:

                                      startInstance yahka.0: cannot find start file! `
                                      keiner ne Idee?

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

                                        @VANTOM:

                                        @VANTOM:

                                        habe den adapter installiert aber er bleibt auf rot. was muss in die Einstellungen rein?

                                        im log steht folgendes:

                                        startInstance yahka.0: cannot find start file! keiner ne Idee?

                                        In den Bridge Einstellungen muss der Username und ein Pincode rein.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          VANTOM last edited by

                                          hab ich gemacht er speichert aber nicht…. da kann ich klicken was ich will

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

                                            @VANTOM:

                                            hab ich gemacht er speichert aber nicht…. da kann ich klicken was ich will `
                                            Das Problem hatte ich auch bereits einmal, da könnte mir auch keiner helfen. Ich habe dann irgendwann alles neu aufgesetzt und seitdem klappt es.

                                            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

                                            919
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            204
                                            1746
                                            711646
                                            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