Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler bei Yahka-Adapter Installation (Windows)

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Fehler bei Yahka-Adapter Installation (Windows)

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

      Hi,

      jetzt mal bitte gaaaaaanz langsam!!! Da ist nichts gruselig. Das sind alles normale Grundbedingungen für nodejs projekte und hat mit dem Adapter und iobroker nichts zu tun!

      Python wird bei der installation benötigt weil eine der Libraries auf deinem Rechner kompiliert werden muss. Das ist Installation und danach erledigt.

      Verzeichnis kopieren weiss nicht was DU da genau getan hast.

      Er muss die pyhton exe 8wie auch immer die genau heisst) aufrufen können vom Prozess her.

      Daher noch ein letztes mal meine Frage (sonst suche ich mir andere Threads zum helfen): Hast du den Python Pfad in deinen PATH von deinem User/System gepackt?

      Kannst Du an der Kommandozeile in einem anderen verzeichnis python.exe (oder wie auch immer die in dem verzeichnis heisst) aufrufen und Sie wird gefunden?

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

        Der Iobroker hat damit auch nichts zu tun. Komischerweise meckert er auch nur bei diesem Adapter rum, alles anderes funktioniert ja.

        Okay, nochmal gaaaanz langsam.

        Python installiert, Path-Variable ist eingetragen, lässt sich auch über die Kommandozeile aufrufen.

        Gerade nochmal versucht den Adapter zu installieren, läuft immer noch auf "Error 13" (LOG Datei habe ich ebenfalls nochmal angehangen)
        4867_python-aufruf.jpg
        4867_2018-07-24t11_14_27_233z-debug.log

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

          Naja, jetzt ist der Fehler ja auch ein anderer :-))

          Sehr strange.

          Was sagt denn

          npm install -g node-gyp

          in einer Admin-Shell? Und danach ggf nochmal versuchen yahka.

          Die Build Tools hast Du auch in einem Admin-Fenster installiert?

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

            Befehl ausgeführt (Ergebnis siehe Screenshot)

            Yahka Installation ausgeführt -> Error 13

            Neue LOG-Datei im Anhang

            Ja, die Kommando Zeile hatte ich mit Admin-Rechten gestartet.
            4867_2018-07-24t11_52_48_922z-debug.log
            4867_2018-07-24_13_52_25-io-broker_-192.168.1.14-_remotedesktopverbindung.png

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

              Liegt in C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin eine node-gyp.exe ? kannst du die direkt aufrufen?

              Versuch auch mal an einer Shell im iobrioker-verzeichnis ein

              npm i -S curve25519-n
              
              
              1 Reply Last reply Reply Quote 0
              • surfer09
                surfer09 last edited by

                Also in dem Verzeichnis liegen 2 Dateien (node-gyp und node-gyp.cmd)

                Der Befehl liefert (Screenshot)
                4867_2018-07-24_14_04_28-io-broker_-192.168.1.14-_remotedesktopverbindung.png

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

                  Ok, einzeln klappt die Installation …

                  und jetzt nochmal yahka hinterher?!

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

                    Immer noch der Fehler…
                    4867_2018-07-24_15_18_32-window.jpg

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

                      WTF jetzt findet er python wieder nicht … ?!

                      mach mal im iobroker Verzeichnis in Admin Shell

                      npm install iobroker.yahka (weil da ging es ja besser, oder !?)

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

                        Gibt einen neuen Fehler jetzt
                        4867_yahka.jpg

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

                          Gibts das OpenSSL bei dir? Ansonsten das noch installieren? Alles strange … bei anderen geht das und auch bei unseren Appvexyor tests und so ...

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

                            Oder probiere mal mit vorheriger Vorschlag. Ich hatte letzte Woche auch komischen Fehler bis ich npm 4.x installiert hattest…

                            @Videonisse:

                            Viele hat Probleme mit npm v5. und v6.x. Probiere mal "npm install -g npm@4" um downgrade npm auf 4.x `

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

                              @apollon77:

                              Gibts das OpenSSL bei dir? Ansonsten das noch installieren? Alles strange … bei anderen geht das und auch bei unseren Appvexyor tests und so ... `

                              Das habe ich auch bereits installiert. Muss das in ein spezielles Verzeichnis?

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

                                ist es da wo er meckert?! C:/OpenSSL-WIn64 oder so

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

                                  Ja, ist da wo er anmeckert.
                                  4867_openssl_pfad.jpg

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

                                    Aber er sucht ein file was da nicht ist … ehrlich habe ich jetzt keine Idee mehr. Bei Vielen Usern geht es. 😞

                                    Gesendet vom Handy ...

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

                                      @surfer09:

                                      Ja, ist da wo er anmeckert. `

                                      Hallo

                                      Das Problem hatte ich vorhin auch (mit openSSL 1.1.0f): Datei existierte nicht.

                                      Bei der Version openSSL 1.0.2l gab es sie aber und die Installation vom Yahka-Adapter lief durch.

                                      Hoffe bei dir klappts nun auch?

                                      LG

                                      Patrick

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        nousefor82 last edited by

                                        Hallo,

                                        @surfer09: hast du das Problem behoben?

                                        @Patrick: wie bekomme ich die neu version 1.0.2l denn auf dem rechner installiert?

                                        Vielen Dank,

                                        Jörg

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          nousefor82 last edited by

                                          Hallo,

                                          bei mir kommt folgender Fehler:

                                          $ ./iobroker add yahka  --host DESKTOP-P9BVQ1I
                                          NPM version: 6.4.0
                                          npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call)
                                          gyp
                                           ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                                          
                                          gyp 
                                          ERR!
                                          
                                          stack
                                               at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)gyp ERR! stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
                                          gyp 
                                          ERR!
                                           stack
                                               at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp 
                                          ERR!
                                           stack     at FSReqWrap.oncomplete (fs.js:152:21)
                                          gyp
                                           ERR! System Windows_NT 10.0.17134
                                          gyp
                                           ERR!
                                          
                                          command
                                           "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                                          gyp
                                           ERR! cwd C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-n
                                          gyp ERR! node -v v8.11.4gyp 
                                          ERR! node-gyp -v
                                           v3.8.0gyp ERR!
                                          
                                          not ok 
                                          npm
                                           ERR! code ELIFECYCLEnpm 
                                          ERR!
                                           errno
                                           1
                                          npm
                                           ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                                          npm ERR! 
                                          npm ERR! Failed at the curve25519-n@1.4.0 install script.
                                          npm 
                                          ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:npm ERR!     C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_44_284Z-debug.log
                                          
                                          host.DESKTOP-P9BVQ1I install adapter yahka
                                          NPM version: 6.4.0
                                          npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call)
                                          gyp
                                           ERR! configure error gyp ERR! stack
                                           Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
                                          gyp ERR! 
                                          stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                                          
                                          gyp
                                          
                                          ERR!
                                           stack     at FSReqWrap.oncomplete (fs.js:152:21)
                                          gyp
                                           ERR! 
                                          System Windows_NT 10.0.17134
                                          gyp
                                           ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp 
                                          ERR! 
                                          cwd
                                           C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-n
                                          gyp
                                          
                                          ERR! node -v v8.11.4
                                          gyp
                                          
                                          ERR! 
                                          node-gyp -v v3.8.0
                                          gyp
                                          
                                          ERR!
                                          
                                          not ok
                                          
                                          npm
                                           ERR! code ELIFECYCLEnpm ERR! errno 1
                                          
                                          npm
                                           ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                                          npm ERR! 
                                          
                                          npm
                                           ERR! Failed at the curve25519-n@1.4.0 install script.npm
                                          
                                          ERR!
                                           This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:npm ERR!     C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_50_986Z-debug.log
                                          
                                          host.DESKTOP-P9BVQ1I install adapter yahka
                                          NPM version: 6.4.0
                                          npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call)
                                          gyp
                                           ERR! configure error 
                                          gyp
                                           ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
                                          gyp
                                           ERR! stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                                          gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
                                          
                                          gyp ERR! System Windows_NT 10.0.17134
                                          gyp ERR! command
                                           "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! 
                                          cwd C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-ngyp ERR! node -v v8.11.4
                                          gyp ERR! node-gyp -v v3.8.0
                                          
                                          gyp ERR! not ok 
                                          npm
                                           ERR! code ELIFECYCLEnpm ERR! errno
                                           1
                                          npm
                                           ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                                          npm ERR! 
                                          npm 
                                          ERR! Failed at the curve25519-n@1.4.0 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:npm ERR!     C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_57_588Z-debug.log
                                          
                                          host.DESKTOP-P9BVQ1I install adapter yahka
                                          ERROR: host.DESKTOP-P9BVQ1I Cannot install yahka
                                          ERROR: process exited with code 13</anonymous></anonymous></anonymous>
                                          

                                          Jemand eine Idee?

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

                                            Ja Python fehlt und das heißt meistens das für Windows Build Tools fehlen Google mal danach oder suche hier im Forum bzw bei yahka auf der GitHub Seite.

                                            Gesendet vom Handy …

                                            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

                                            792
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            39
                                            1833
                                            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