Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Logitech Harmony Adapter

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Logitech Harmony Adapter

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

      Die Warnings kann ich nicht richtig zuordnen, werden aber von einem der eingebundenen Pakete ausgelöst. Solang alles läuft sind die erstmal egal, ich versuche bei Gelegenheit mehr rauszufinden.

      1 Reply Last reply Reply Quote 0
      • H
        hlwerschner last edited by

        Hallo,

        ich häng mich mal dran, heute auch versucht Harmony 0.5.2 zu installieren - in frisches iobroker , gestern installiert, homematic geht alles.

        Beim Install des Harmony Adapters bekomme ich

        iobroker	2015-09-15 17:51:43	info	exit 25
        iobroker	2015-09-15 17:51:43	error	host.Hans-PC Cannot install iobroker.harmony: 1
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm ERR! code ELIFECYCLE
        iobroker	2015-09-15 17:51:43	info	npm ERR! npm -v 1.4.28
        iobroker	2015-09-15 17:51:43	info	npm ERR! node -v v0.10.35
        iobroker	2015-09-15 17:51:43	info	npm ERR! cwd C:\WINDOWS\system32
        iobroker	2015-09-15 17:51:43	info	System Windows_NT 6.2.9200npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefi
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	ERR! There is likely additional logging output above.npm ERR!
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm owner ls node-stringprepnpm
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	ERR! You can get their info via:npm
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	node-gyp rebuild
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	Tell the author that this fails on your system:
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	ERR! not with npm itself.
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	This is most likely a problem with the node-stringprep package,
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	Failed at the node-stringprep@0.6.2 install script.
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	Exit status 1
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	node-stringprep@0.6.2 install: `node-gyp rebuild`
        iobroker	2015-09-15 17:51:43	info	ERR!
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	npm
        iobroker	2015-09-15 17:51:43	info	
        iobroker	2015-09-15 17:51:43	info	gyp
        iobroker	2015-09-15 17:51:41	info	gyp
        iobroker	2015-09-15 17:51:41	info	cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
        iobroker	2015-09-15 17:51:41	info	engine
        iobroker	2015-09-15 17:51:41	info	
        iobroker	2015-09-15 17:51:41	info	WARN
        iobroker	2015-09-15 17:51:41	info	
        iobroker	2015-09-15 17:51:41	info	npm
        iobroker	2015-09-15 17:51:41	info	hoek@2.15.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
        iobroker	2015-09-15 17:51:41	info	engine
        iobroker	2015-09-15 17:51:41	info	
        iobroker	2015-09-15 17:51:41	info	WARN
        iobroker	2015-09-15 17:51:41	info	
        iobroker	2015-09-15 17:51:41	info	npm
        iobroker	2015-09-15 17:51:41	info	gyp
        iobroker	2015-09-15 17:51:40	info	hoek@2.15.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
        iobroker	2015-09-15 17:51:40	info	engine
        iobroker	2015-09-15 17:51:40	info	
        iobroker	2015-09-15 17:51:40	info	WARN
        iobroker	2015-09-15 17:51:40	info	
        iobroker	2015-09-15 17:51:40	info	npm
        iobroker	2015-09-15 17:51:40	info	cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
        iobroker	2015-09-15 17:51:40	info	engine
        iobroker	2015-09-15 17:51:40	info	
        iobroker	2015-09-15 17:51:40	info	WARN
        iobroker	2015-09-15 17:51:40	info	
        iobroker	2015-09-15 17:51:40	info	npm
        iobroker	2015-09-15 17:51:39	info	gyp
        iobroker	2015-09-15 17:51:36	info	npm install iobroker.harmony --production --prefix "d:/Program Files/ioBroker" (System call)
        iobroker	2015-09-15 17:51:36	info	add harmony
        

        …Auszug aus dem log.

        Kann mir noch jemand helfen 🙂

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

          Es sieht so aus, als ob ein Paket gebaut werden muss.

          Du kannst VS2012+ (Community edition) installieren und dann Versuchen harmony wieder zu installieren.

          P.S. Auf linux ist es viel einfacher.

          1 Reply Last reply Reply Quote 0
          • H
            hlwerschner last edited by

            Wenn denn unter Linux alles viel einfacher ist …

            Hab auf nem INTEL NUC2820 das Ubuntu 15. desktop installiert, iobroker dann drauf, noch all die Kleinigkeiten dazu ---> iobroker läuft und läd auch brav die Datenpunkte.

            Dann alos Harmony adapter... Install Versuch brauchte gleiche Meldungen, aber ein sudo --- und manuelles install ohne webui ging dann. So, jetzt hab ich ne instanz und kann sie konfigurieren, bevor ich sie enable ?

            Der config-Dialog zeigt ein Feld"Hub Name" da trag ich HarmonyHub ein, die folgenden Felder sind ausgegraut. Button "Find Hub" gedrückt bringt ein kleines Fenster Mit

            Select a Hub:

            Harmony Hub

            ich klick da drauf und ein grosses Fenster geht auf und da steht in der ersten, einzigen Zeile

            [object Object]

            und im Terminal Fenster gibts ein längeres JSON zu sehen. Das wars.

            Wenn ich das aussagekräftige Fenster zu mache, ist alles beim alten. Die Adapter-Instanz ist da, aber unter Objekte gibts nix.

            Ich vermute mal, dass das nicht ganz perfekt läuft…auch nicht unter Linux 🙂
            2858_yamaha.txt

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

              @hlwerschner:

              Ich vermute mal, dass das nicht ganz perfekt läuft…auch nicht unter Linux `
              Deine Vermutung ist falsch!

              Es läuft bei mir einwandfrei!

              Ich nutze es sogar produktiv.

              Vielleicht liegt es aber an Bluefox' Aussage:
              @Bluefox:

              Auf linux ist es viel einfacher. `

              Die voll ausgesprochen sicher heissen sollte:

              "Auf einem ARM Computer mit Debian Linux ist alles viel einfacher"

              Ich habe Ubuntu aufgegeben, aber vielleicht liegt es an der nodejs-Version

              Oder, oder, oder…

              Gruß

              Rainer

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

                Ich muss mich ein wenig revidieren.

                Ich habe mal eben schnell einen neuen ioBroker aufgesetzt, auf einer bisher noch nicht getesteten Umgebung.

                Odroid U3 mit debian-wheezy-lxde-odroid-u-20140910.

                Installation lief, iobroker auch, Installation von harmony ohne Probleme, Konfiguration über "Suche Hub" ergab auch keine Probleme.

                Anschließend stieg der Harmony-Adapter jedoch aus:

                ! ````
                2015-09-16 19:08:51.769 - info: harmony.0 starting. Version 0.5.2 in /opt/iobroker/node_modules/iobroker.harmony
                2015-09-16 19:08:51.846 - info: harmony.0 hub not initialized
                2015-09-16 19:08:53.033 - info: harmony.0 discovered Kino
                2015-09-16 19:08:54.451 - error: uncaught exception: Cannot read property 'identity' of undefined
                2015-09-16 19:08:54.455 - error: TypeError: Cannot read property 'identity' of undefined
                at Client. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/lib/login/hub.js:63:15)
                at Client.EventEmitter.emit (events.js:95:17)
                at Client.onStanza (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/index.js:224:14)
                at Connection.EventEmitter.emit (events.js:95:17)
                at Connection.onStanza (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:370:14)
                at StreamParser. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:14)
                at StreamParser.EventEmitter.emit (events.js:95:17)
                at SaxLtx. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:59:22)
                at SaxLtx.EventEmitter.emit (events.js:95:17)
                at SaxLtx._handleTagOpening (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/node_modules/ltx/lib/parsers/ltx.js:30:18)
                2015-09-16 19:08:54.757 - info: harmony.0 terminating
                2015-09-16 19:08:54.773 - error: host.odroid-wheezy instance system.adapter.harmony.0 terminated with code 6 (uncaught exception)
                2015-09-16 19:08:54.774 - info: host.odroid-wheezy Restart adapter system.adapter.harmony.0 because enabled
                2015-09-16 19:09:16.048 - info: host.odroid-wheezy instance system.adapter.harmony.0 started with pid 3847</anonymous></anonymous></anonymous>

                Datenpunkte werden nicht angelegt!
                
                Dies war mehrfach reproduzierbar!
                
                Gruß
                
                Rainer
                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  Ich hoffe Pman konnte es anschauen. Weil ich nicht mal Harmony habe.

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

                    Habe eben ein issue auf githaub eröffnet

                    Gruß

                    Rainer

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

                      Ich kann den Fehler reproduzieren, muss aber noch herausfinden woran es liegt. So weit ich das sehe nutzt das eingebundene harmonyhubjs-client ein Paket node-xmpp-client, dort muss sich etwas verändert haben in der letzten Version (1.0.0).

                      Workaround:

                      cd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client
                      npm remove node-xmpp-client
                      npm install node-xmpp-client@1.0.0-alpha23 
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • P
                        Pman last edited by

                        In Version 0.5.3 sollte nun wieder alles funktionieren.

                        1 Reply Last reply Reply Quote 0
                        • H
                          hlwerschner last edited by

                          So, ich bin wieder ein Stück weiter … mit dieser tatkräftigen Hilfe hier!

                          Ich hab diese alpha23 version installier - wie oben angegeben und mit npm --installed list geprüft, danach den controller wieder gestartet.

                          Unter Instanzen geht die config weiter hin nicht, gleiche Fensterinhalte wie von mir zuerst beschrieben.

                          Ich hab das dann mal "ignoriert" und hab unter "Objekte" mir die Zeile "system.adapter.harmony.0" angesehn, die zeigt, dass der adapter läuft. In der Zeile kann man AUCH die config (Zahnrad-Icon rechts) einsehen.

                          In dem Config Fenster kann man auch die Harmony account Informationen eingeben! Das hab ich gemacht und auch dort den Namen auf "Harmony Hub" eingestellt.

                          Und siehe da, es klappt und ein paar Sekunden später sehe ich, dass die Hub-Properties als JSON übertragen werden.

                          Ein beherzter Neustart /Resync des iobroker controllers liefert dann unter Objekte eine neue Zeile "harmony.0", darunter "Harmony Hub" und darunter die Hub Werte.

                          Ist doch schon ganz nett und ich bedanke mich nochmals 🙂

                          Ich werde das jetzt auch nochmal unter Win testen, vielleicht ist es dort "einfacher" 😉

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

                            Das erklärt auch, warum ey unter einer bestehenden Installation funktioniert.

                            Dort ist die Konfiguration ja bereits richtig.

                            Hast du es nicht mit der 0.5.3 gemacht?

                            Das workaround stand ja für die alte Version.

                            Gruß

                            Rainer

                            Gesendet von meinem LIFETAB_S785X mit Tapatalk

                            1 Reply Last reply Reply Quote 0
                            • H
                              hlwerschner last edited by

                              die Adapters Seite zeigt in der Spalte "version" = 0.5.2 und in "installed" 0.5.3 (ich glaube, das kommt erst seit dem _alpha23 install). Wenn ich den Adapter remove und dann neu installiere, ist er immer 0.5.2. Keine Bemerkung, dass da ein 0.5.3 verfügbar ist.

                              PS: unter windows 10 bleibt der Fehler. Ich hab Python 2.73 und Visual Studio 2015 installiert, danach noch versucht "gyp" und dann "node-gyp" zu installieren aber das brachte für den Adapter nix. Was mich ein wenig wundert sind die Meldunge für Win NT 6.2 und die "Code:ELIFECYCLE" Passage. Sind da Abfragen auf das System und/oder Signaturen drin, die vieleicht schief laufen. Für die VSBUILD habe ich msvs_version=2015 gesetzt und das funktionierte auch!?

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

                                Mach mal im Installationsverzeichnis

                                iobroker upload harmony

                                Gesendet von meinem LIFETAB_S785X mit Tapatalk
                                261_bildschirmfoto_2018-04-25_um_22.45.45.jpg

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

                                  Den Fehler bei der Konfiguration kann ich nicht nachvollziehen. Ich habe die Instanz, den Adapter und alle Einstellungen gelöscht. Beim installieren des Adapters wird eine Instanz hinzugefügt und gestartet. Es werden natürlich keine Objekte angelegt, da ich den Hub noch nicht ausgewählt habe. Im Konfigurationsdialog kann ich nun den Hub Namen eintragen oder über die Hubsuche auswählen, beides geht. Beim Speichern der Konfig wird der Adapter neugestartet und lädt danach korrekt alle Daten vom Hub und legt die Objekte an. Die Zugangsdaten sind ausgegraut, weil diese im Moment garnicht vom Adapter genutzt werden, daran kann es also nicht gelegen haben.

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

                                    Bei meiner Neuinstallation ist nach dem Update auf 0.5.3 alles ok, Datenpunkte sind angelegt.

                                    Gruß

                                    Rainer
                                    144_chat.png
                                    144_zustaende.png

                                    1 Reply Last reply Reply Quote 0
                                    • coyote
                                      coyote Most Active last edited by

                                      Habe heute auf node.js auf Version 4.1.2 geupdatet, leider bringt jetzt der Harmony Adapter mir Fehler bzw. lässt er sich auch nicht mehr neu installieren.

                                      Hier das log;

                                      $ ./iobroker add harmony
                                      npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
                                      In file included from /root/.node-gyp/4.1.2/include/node/node.h:42:0,                 from ../../nan/nan.h:24,
                                                       from ../src/binding.cc:18:
                                      /root/.node-gyp/4.1.2/include/node/v8.h:336:1: error: expected unqualified-id before ëusingí
                                      
                                      /root/.node-gyp/4.1.2/include/node/v8.h:469:1: error: expected unqualified-id before ëusingí/root/.node-gyp/4.1.2/include/node/v8.h:852:1: error: expected unqualified-id before ëusingí
                                      
                                      In file included from ../../nan/nan.h:182:0,                 from ../src/binding.cc:18:
                                      ../../nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ëusingí
                                      ../../nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ëusingí
                                      ../../nan/nan_maybe_43_inl.h:19:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:24:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:31:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:36:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:41:1: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:46:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:51:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:60:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:65:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:70:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:77:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:84:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:92:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:99:1: error: ëMaybeLocalí does not name a type
                                      
                                      ../../nan/nan_maybe_43_inl.h:109:12: error: ëMaybeí does not name a type../../nan/nan_maybe_43_inl.h:115:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:119:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:126:1: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:131:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:136:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:140:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:146:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:151:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:157:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:163:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:169:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:175:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:181:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:187:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:195:12: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:202:1: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:206:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:210:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:214:12: error: ëMaybeí does not name a type
                                      ../../nan/nan_maybe_43_inl.h:218:12: error: ëMaybeLocalí does not name a type
                                      In file included from ../../nan/nan.h:187:0,
                                                       from ../src/binding.cc:18:
                                      ../../nan/nan_converters.h:14:11: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan_converters.h:16:56: error: ëMaybeí does not name a type
                                      
                                      ../../nan/nan_converters.h:26:1: error: ëreturn_tí does not name a type../../nan/nan_converters.h:27:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:28:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:29:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:30:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:31:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:32:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:42:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:43:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:44:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:45:1: error: ëreturn_tí does not name a type
                                      ../../nan/nan_converters.h:46:1: error: ëreturn_tí does not name a type
                                      In file included from ../../nan/nan_converters.h:59:0,
                                                       from ../../nan/nan.h:187,
                                                       from ../src/binding.cc:18:
                                      ../../nan/nan_converters_43_inl.h:18:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::boolean>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:19:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::number>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:20:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::string>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:21:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::object>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:22:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::integer>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:23:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::uint32>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:24:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::int32>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:34:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<bool>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:35:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<double>í does not name a type
                                      ../../nan/nan_converters_43_inl.h:36:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<long long/int="">í does not name a type
                                      ../../nan/nan_converters_43_inl.h:37:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<unsigned int="">í does not name a type
                                      ../../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 ../../nan/nan.h:188:0,
                                                       from ../src/binding.cc:18:
                                      ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Integer]í:
                                      ../../nan/nan_new.h:21:32: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í
                                      ../../nan/nan_new.h:21:32: note: candidate is:
                                      ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                                      ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Int32]í:
                                      ../../nan/nan_new.h:28:30: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í
                                      ../../nan/nan_new.h:28:30: note: candidate is:
                                      ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                                      ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Uint32]í:
                                      ../../nan/nan_new.h:35:31: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í
                                      ../../nan/nan_new.h:35:31: note: candidate is:
                                      ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                                      ../../nan/nan_new.h: At global scope:
                                      ../../nan/nan_new.h:43:11: error: ëMaybeLocalí does not name a type
                                      
                                      ../../nan/nan_new.h:75:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:141:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:147:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:148:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:160:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:161:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:162:17: error: ëreturn_tí does not name a type
                                      
                                      ../../nan/nan_new.h:163:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:165:17: error: ëreturn_tí does not name a type
                                      ../../nan/nan_new.h:166:17: error: ëreturn_tí does not name a type
                                      
                                      ../../nan/nan_new.h:182:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:183:17: error: ëreturn_tí does not name a type
                                      
                                      In file included from ../../nan/nan_new.h:189:0,                 from ../../nan/nan.h:188,
                                                       from ../src/binding.cc:18:
                                      ../../nan/nan_implementation_12_inl.h:56:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::date>í does not name a type
                                      ../../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>)í:
                                      ../../nan/nan_implementation_12_inl.h:90:46: error: ëNewInstanceí was not declared in this scope
                                      ../../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>)í:
                                      ../../nan/nan_implementation_12_inl.h:118:48: error: ëNewInstanceí was not declared in this scope
                                      
                                      ../../nan/nan_implementation_12_inl.h: At global scope:../../nan/nan_implementation_12_inl.h:197:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::regexp>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:216:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::script>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:222:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::script>í does not name a type
                                      
                                      ../../nan/nan_implementation_12_inl.h:254:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type../../nan/nan_implementation_12_inl.h:262:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:268:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:275:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:281:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_implementation_12_inl.h:286:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      
                                      ../../nan/nan_implementation_12_inl.h:347:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::unboundscript>í does not name a type../../nan/nan_implementation_12_inl.h:354:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::unboundscript>í does not name a type
                                      
                                      In file included from ../../nan/nan.h:188:0,                 from ../src/binding.cc:18:
                                      ../../nan/nan_new.h:291:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      
                                      ../../nan/nan_new.h:297:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type../../nan/nan_new.h:303:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_new.h:309:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_new.h:315:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_new.h:321:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type
                                      ../../nan/nan_new.h:327:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::regexp>í does not name a type
                                      
                                      In file included from ../src/binding.cc:18:0:../../nan/nan.h: In function ëv8::Local <v8::value>Nan::Error(const char*)í:
                                      ../../nan/nan.h:639:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëvoid Nan::ThrowError(const char*)í:../../nan/nan.h:639:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::RangeError(const char*)í:../../nan/nan.h:640:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëvoid Nan::ThrowRangeError(const char*)í:../../nan/nan.h:640:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::ReferenceError(const char*)í:../../nan/nan.h:641:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../../nan/nan.h: In function ëvoid Nan::ThrowReferenceError(const char*)í:
                                      ../../nan/nan.h:641:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::SyntaxError(const char*)í:../../nan/nan.h:642:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëvoid Nan::ThrowSyntaxError(const char*)í:../../nan/nan.h:642:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::TypeError(const char*)í:../../nan/nan.h:643:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../../nan/nan.h: In function ëvoid Nan::ThrowTypeError(const char*)í:
                                      ../../nan/nan.h:643:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: At global scope:../../nan/nan.h:651:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:673:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:689:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:702:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:719:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:725:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:733:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:740:14: error: ëMaybeLocalí does not name a type
                                      ../../nan/nan.h:746:14: error: ëMaybeLocalí does not name a type
                                      
                                      ../../nan/nan.h: In member function ëvoid Nan::Callback::SetFunction(const v8::Local<v8::function>&)í:../../nan/nan.h:1366:40: error: ëSetí was not declared in this scope
                                      
                                      ../../nan/nan.h:1366:40: note: suggested alternative:/root/.node-gyp/4.1.2/include/node/v8.h:3021:17: note:   ëv8::Setí
                                      
                                      ../../nan/nan.h: In member function ëvoid Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::value>&)í:../../nan/nan.h:1488:41: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In member function ëv8::Local <v8::value>Nan::AsyncWorker::GetFromPersistent(const char*) constí:../../nan/nan.h:1506:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      
                                      ../../nan/nan.h: In member function ëvirtual void Nan::AsyncWorker::HandleErrorCallback()í:../../nan/nan.h:1540:58: error: no matching function for call to ëNew(const char*)í
                                      ../../nan/nan.h:1540:58: note: candidates are:
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                                      ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      
                                      ../../nan/nan.h: In function ëvoid Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)í:../../nan/nan.h:1829:16: error: there are no arguments to ëGetFunctioní that depend on a template parameter, so a declaration of ëGetFunctioní must be available [-fpermissive]
                                      ../../nan/nan.h:1829:16: note: (if you use ë-fpermissiveí, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
                                      
                                      ../../nan/nan.h:1830:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../../nan/nan.h: In function ëvoid Nan::SetPrototypeMethod(v8::Local<v8::functiontemplate>, const char*, Nan::FunctionCallback)í:../../nan/nan.h:1842:32: error: ëGetFunctioní was not declared in this scope
                                      
                                      ../../nan/nan.h:1843:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../../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)í:../../nan/nan.h:1868:47: error: ëNewInstanceí was not declared in this scope
                                      
                                      ../../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)í:../../nan/nan.h:1911:51: error: ëNewInstanceí was not declared in this scope
                                      
                                      ../../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>)í:../../nan/nan.h:1959:47: error: ëNewInstanceí was not declared in this scope
                                      
                                      ../../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>)í:../../nan/nan.h:2029:47: error: ëNewInstanceí was not declared in this scope
                                      
                                      In file included from ../src/binding.cc:18:0:../../nan/nan.h: In function ëvoid Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)í:
                                      ../../nan/nan.h:2090:35: error: no matching function for call to ëNew(const char*&)í
                                      ../../nan/nan.h:2090:35: note: candidates are:
                                      
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      ../../nan/nan.h:2091:47: error: ëGetFunctioní was not declared in this scope
                                      
                                      ../../nan/nan.h:2091:65: error: ëSetí was not declared in this scope../../nan/nan.h:2091:65: note: suggested alternative:
                                      /root/.node-gyp/4.1.2/include/node/v8.h:3021:17: note:   ëv8::Setí
                                      
                                      ../../nan/nan.h: In constructor ëNan::Tap::Tap(v8::Local<v8::value>)í:../../nan/nan.h:2098:30: error: no matching function for call to ëTo(v8::Local<v8::value>&)í
                                      ../../nan/nan.h:2098:30: note: candidate is:
                                      ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>)
                                      
                                      ../../nan/nan.h: In member function ëvoid Nan::Tap::ok(bool, const char*)í:../../nan/nan.h:2111:33: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../../nan/nan.h: In member function ëvoid Nan::Tap::pass(const char*)í:
                                      ../../nan/nan.h:2117:30: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí
                                      ../src/binding.cc: At global scope:
                                      ../src/binding.cc:31:11: error: ëv8::Handleí has not been declared
                                      
                                      ../src/binding.cc:61:26: error: ëHandleí has not been declared../src/binding.cc:61:32: error: expected ë,í or ë...í before ë<í token
                                      
                                      ../src/binding.cc: In static member function ëstatic void {anonymous}::Iconv::Initialize(int)í:../src/binding.cc:66:5: error: ëobjí was not declared in this scope
                                      ../src/binding.cc:66:37: error: no matching function for call to ëNew(const char [5])í
                                      ../src/binding.cc:66:37: note: candidates are:
                                      
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      ../src/binding.cc:68:40: error: no matching function for call to ëNew(const char [8])í
                                      ../src/binding.cc:68:40: note: candidates are:
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                                      ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      
                                      ../src/binding.cc:72:5: error: no matching function for call to ëNew(const char [7])í../src/binding.cc:72:5: note: candidates are:
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                                      ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      
                                      ../src/binding.cc:73:5: error: no matching function for call to ëNew(const char [7])í../src/binding.cc:73:5: note: candidates are:
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                                      ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      ../src/binding.cc:74:5: error: no matching function for call to ëNew(const char [6])í
                                      ../src/binding.cc:74:5: note: candidates are:
                                      ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)
                                      ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&)
                                      ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New()
                                      ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0)
                                      ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1)
                                      ../../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)
                                      ../../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)
                                      ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>)
                                      ../../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)
                                      
                                      make: *** [Release/obj.target/iconv/src/binding.o] Error 1
                                      gyp
                                      
                                      ERR! build error 
                                      gyp ERR!
                                       stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
                                      
                                      gyp ERR! 
                                      stack     at emitTwo (events.js:87:13)gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
                                      
                                      gyp ERR! System Linux 4.1.6-v7+gyp 
                                      ERR! command
                                       "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/ltx/node_modules/node-expat/node_modules/iconv
                                      gyp ERR! node -v v4.1.2
                                      gyp ERR! node-gyp -v v3.0.3
                                      gyp ERR! not ok 
                                      
                                      npm
                                      
                                      ERR! Linux 4.1.6-v7+
                                      npm 
                                      ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
                                      npm ERR! 
                                      node v4.1.2npm
                                       ERR! npm  v2.14.4
                                      npm ERR!
                                       code ELIFECYCLE
                                      npm
                                       ERR! iconv@2.1.10 install: `node-gyp rebuild`
                                      npm ERR! Exit status 1
                                      npm ERR! 
                                      npm ERR! Failed at the iconv@2.1.10 install script 'node-gyp rebuild'.npm ERR! This is most likely a problem with the iconv 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 their info via:
                                      npm ERR!     npm owner ls iconv
                                      npm ERR! There is likely additional logging output above.
                                      
                                      npm ERR! Please include the following file with any support request:
                                      npm ERR!     /npm-debug.log
                                      
                                      ERROR: host.raspberrypi2 Cannot install iobroker.harmony: 1
                                      ERROR: process exited with code 25</v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::boolean></v8::value></class></v8::value></v8::value></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></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::value></class></v8::value></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::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>
                                      

                                      Was kann ich tun? Besser wieder zurück auf eine 12.x.x Version?

                                      Gruß Frank

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

                                        Das ist das Problem mit iconv Paket.

                                        Das habe ich gefunden:

                                        https://github.com/bnoordhuis/node-icon … -147357686

                                        ` > node-gyp is picking up what I suspect is the distro-maintained version of node.js and that's missing the REPLACE_INVALID_UTF8 patch. Running export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2 should fix it.

                                        Note that this is not an issue with node-iconv, but with nan, and it's not really nan's fault either - there is no way for it to distinguish between versions with the patch, and ones without.

                                        node-gyp -v v0.10.6

                                        That is a really, really ancient version of node-gyp. `

                                        1 Reply Last reply Reply Quote 0
                                        • coyote
                                          coyote Most Active last edited by

                                          Hallo Bluefox,

                                          wenn ich es jetzt richtig verstanden habe sollte ich in der Console > export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2 eingeben.

                                          Bringt aber nichts, habe immer noch die gleichen Fehler, wenn ich den Harmony Adapter installieren will.

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

                                            Von welcher node Version kamst du?

                                            Bei mir wird node-gyp neu erstellt, das dauert dann ein wenig:

                                            npm install iobroker.harmony
                                            > node-stringprep@0.6.2 install /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-stringprep
                                            > node-gyp rebuild
                                            
                                            

                                            Vielleicht mal npm cache clean und npm cache clean -g machen, den Harmony Adapter komplett löschen und nochmal versuchen.

                                            Jetzt ist auch schon nodejs 4.2.0 mit LTS raus.

                                            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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            22
                                            118
                                            24305
                                            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