Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Windows 7 Fehler bei Installation von YAHKA

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Windows 7 Fehler bei Installation von YAHKA

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

      Passt. Und was macht der von Kommandozeile aus gestartete ioBroker?

      1 Reply Last reply Reply Quote 0
      • W
        wolfpack57 last edited by

        also…

        ich habe über den Task Manager den Dienst gestoppt...

        dann als Administrator das neue Fenster cmd geöffnet und wie folgt neu gestartet...
        7652_12.png
        es hat sich dann aber kein weiteres Fenster geöffnet.

        Anschließend den Adapter wieder versucht zu installieren:

        wie immer

        $ ./iobroker add yahka  --host DESKTOP-SK00CCS
        NPM version: 6.4.1
        npm install iobroker.yahka --production --save --prefix "C:/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.17763gyp 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:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-n
        gyp ERR! node -v v8.15.0
        gyp 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\2019-02-04T15_17_39_048Z-debug.log
        
        host.DESKTOP-SK00CCS install adapter yahka
        NPM version: 6.4.1
        npm install iobroker.yahka --production --save --prefix "C:/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.17763gyp 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:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-n
        gyp
         ERR! node -v v8.15.0gyp 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\2019-02-04T15_17_47_517Z-debug.log
        
        host.DESKTOP-SK00CCS install adapter yahka
        NPM version: 6.4.1
        npm install iobroker.yahka --production --save --prefix "C:/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.17763
        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:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-n
        gyp ERR! node -v v8.15.0
        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\2019-02-04T15_17_57_512Z-debug.log
        
        host.DESKTOP-SK00CCS install adapter yahka
        ERROR: host.DESKTOP-SK00CCS Cannot install yahka
        ERROR: process exited with code 13</anonymous></anonymous></anonymous>
        
        1 Reply Last reply Reply Quote 0
        • Stabilostick
          Stabilostick last edited by

          Ok, dann lasse den ioBroker als Dienst weiter laufen.

          Jetzt in der als Admin gestarteten Kommandozeile den Befehl

          npm install iobroker.yahka --production --save
          

          eingeben. Gleicher Fehler? Bring „echo %python%“ etwas?

          1 Reply Last reply Reply Quote 0
          • W
            wolfpack57 last edited by

            ja,

            erst mal den Dienst wieder gestartet…

            dann die Installation über Deinen Befehl gestartet...

            gibt was rotes am Anfang und am Ende...
            7652_13.png
            7652_14.png

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

              Also hier wird Deine Umgebungsvariable PYTHON also gefunden. Wenn npm im Dienst-Kontext läuft aber nicht.

              gyp läuft also erfolgreich los, findet aber dann Dateien nicht.

              1 Reply Last reply Reply Quote 0
              • W
                wolfpack57 last edited by

                ???

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

                  Also zum ersten: Was ist Authenticate PAM?

                  PAM (Pluggable Authentication Modules) is the management layer that sits between Linux applications and the Linux native authentication system. There are many programs in your system that use PAM modules, such as SU, password, SSH, logging in, and other services.

                  Wie soll das unter Windows funktionieren?

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

                    Zum zweiten Punkt:

                    Gibt es unter C:\ bei Dir das Verzeichnis OpenSSL-Win64?

                    Außerdem ist der zweite Fehler eh optional, also gerade Wurst.

                    1 Reply Last reply Reply Quote 0
                    • W
                      wolfpack57 last edited by

                      …ich hör das zum 1. Mal...

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

                        Ähm, hat er etwa den Adapter jetzt installiert? Schau mal nach im Admin.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wolfpack57 last edited by

                          das Verzeichnis gibt es nicht

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

                            Wie gesagt, das Modul ist optional, also gerade egal.

                            Was ist jetzt mit dem Adapter?

                            1 Reply Last reply Reply Quote 0
                            • W
                              wolfpack57 last edited by

                              leider nicht,

                              war nicht installiert

                              und tut auch jetzt nicht

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

                                Ich versuche es bei mir mal.

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wolfpack57 last edited by

                                  mir ist gerade aufgefallen, dass der Prozess wieder deaktiviert war.

                                  Auch wenn ich Ihn neu aktiviert habe, ging er nach ein paar Sekunden wieder aus.

                                  Nach einem Neustart ist das aber wieder weg…

                                  die Instanz fügt er trotzdem nicht hinzu

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

                                    Installiere bitte zuerst OpenSSL: http://slproweb.com/products/Win32OpenSSL.html

                                    Bitte exakt die Version v1.0.2j

                                    Nicht "light"!

                                    Bei der Installation alles auf Standard lassen. 64-bit Variante entsprechend Deinem Betriebssystem

                                    Jetzt das Setup von yahka mit npm i … in der Kommandozeile wiederholen.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wolfpack57 last edited by

                                      habe ich gemacht…

                                      bei dem Installieren hat er einmal gemeckert, weil auf meinem Rechner während der Installation ein command promt lief.

                                      Kann das Scheitern daran liegen?

                                      Wenn ja, wie kriege ich das aus?

                                      Anschließend Neustart

                                      und über Administrator-cmd:
                                      7652_16.png

                                      Ich sag mal so…

                                      für mich als Laien sieht der Fehlercode kürzer aus... :roll:

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        wolfpack57 last edited by

                                        ich hoffe, ich hab mit dem richtigen Befehl installiert…

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

                                          Nee, das war doof. Du musst das Kommando im iobroker-Ordner ausführen. Was kommt jetzt?

                                          1 Reply Last reply Reply Quote 0
                                          • W
                                            wolfpack57 last edited by

                                            Wenn Du das sagst, klingt das so logisch… :roll:

                                            Das war auch mal ein Schritt:
                                            7652_17.png
                                            7652_18.png

                                            Unter Adapter sagt er jetzt auch endlich dass die Version, 0.9.1 installiert ist

                                            Juchu!!! :lol:

                                            0.7.1 hatte er vorher dort angegeben.

                                            aaaber, müsste ich jetzt nicht Unter Instanzen irgendwas von Homekit oder yahka finden können?

                                            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

                                            739
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            61
                                            4835
                                            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