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.
    • W
      wolfpack57 last edited by

      Danke erst mal für die Antwort!

      😄

      Ich habe das alles also noch mal ausgeführt…

      Viel weitergebracht hat mich das nicht, aber jetzt läuft die Installation des adapters wenigstens an und ich bekomme auch einen anständigen Fehlercode angezeigt.

      Wer ist eigentlich diese Python?

      Fehler Bericht:

      $ ./iobroker add yahka  --host DESKTOP-SK00CCS
      NPM version: 3.10.8
      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 failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
      gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
      gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
      
      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 v6.9.1
      gyp ERR! node-gyp -v
       v3.4.0gyp ERR! not ok 
      
      npm ERR! Windows_NT 10.0.17763
      npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.yahka" "--production" "--save" "--prefix" "C:/iobroker"npm ERR! node v6.9.1
      npm ERR! npm  v3.10.8
      npm ERR! code ELIFECYCLE
      
      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 'node-gyp rebuild'.
      
      npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the curve25519-n package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node-gyp rebuild
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs curve25519-n
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls curve25519-n
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:npm ERR!     C:\iobroker\node_modules\iobroker\npm-debug.log
      npm ERR! code 1
      
      host.DESKTOP-SK00CCS install adapter yahka
      NPM version: 3.10.8
      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 failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
      gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
      gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
      
      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 v6.9.1
      gyp ERR! node-gyp -v v3.4.0
      
      gyp ERR! not ok 
      npm
       ERR! Windows_NT 10.0.17763npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.yahka" "--production" "--save" "--prefix" "C:/iobroker"
      npm ERR! node v6.9.1
      npm ERR! npm  v3.10.8
      npm ERR! code ELIFECYCLE
      
      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 'node-gyp rebuild'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the curve25519-n package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!
           node-gyp rebuildnpm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs curve25519-n
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls curve25519-n
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:npm ERR!     C:\iobroker\node_modules\iobroker\npm-debug.log
      npm ERR! code 1
      
      host.DESKTOP-SK00CCS install adapter yahka
      NPM version: 3.10.8
      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 failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
      gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
      
      gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)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 v6.9.1
      gyp ERR! node-gyp -v v3.4.0
      gyp ERR! not ok 
      
      npm ERR!
       Windows_NT 10.0.17763npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.yahka" "--production" "--save" "--prefix" "C:/iobroker"
      npm ERR! node v6.9.1
      npm ERR! npm  v3.10.8
      npm ERR! code ELIFECYCLE
      
      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 'node-gyp rebuild'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the curve25519-n package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node-gyp rebuild
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs curve25519-n
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls curve25519-n
      npm ERR!
       There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:npm ERR!     C:\iobroker\node_modules\iobroker\npm-debug.log
      npm ERR! code 1
      
      host.DESKTOP-SK00CCS install adapter yahka
      ERROR: host.DESKTOP-SK00CCS Cannot install yahka
      
      
      1 Reply Last reply Reply Quote 0
      • W
        wolfpack57 last edited by

        ich komme damit einfach nicht weiter…

        habt ihr noch ein Tipp für mich?

        mein System:
        7652_1.png

        dann habe ich erst mal das nodejs auf die von dem Infoadapter empfohlene Version gebracht

        im Fehler stand was von Python, habe ich versucht das mal zu aktualisieren…
        7652_2.png

        Hiermit habe ich natürlich auch experimentiert
        7652_3.png

        das ist mir aber auch nicht ganz klar…

        über die links kann ich die Set-up Dateien runterladen und installieren...

        aber ist mit den execute und remove Befehlen nur das installieren der links und löschen der Set-up Dateien im Anschluss gemeint?

        Wenn ich die Befehle über cmd eingebe, funktioniert das nicht...

        der aktuelle Fehlerbericht vom installieren:

        $ ./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: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"
        [attachment=1]2.PNG[/attachment]gyp 
        ERR! cwd C:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-ngyp ERR! node -v v8.15.0
        gyp ERR! node-gyp -v v3.8.0
        gyp ERR! not ok 
        
        npm
         ERR! code ELIFECYCLEnpm
         ERR! errno 1npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
        npm ERR!
         Exit status 1npm 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-01T19_33_30_303Z-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.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-01T19_33_37_892Z-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-01T19_33_45_471Z-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

          Die PYTHON-Umgebungsvariable wird von den Windows-Build-Tools hinzugefügt. Wenn sie bei Dir fehlt, hast Du entweder Deinen Rechner nach der Installation der Build-Tools nicht neu gestartet oder es ist etwas bei der Installation evtl. schiefgelaufen. Hattest Du eine administrative Kommabdozeile zur Installation genutzt?

          Mache zum Test dann einfach eine neue Kommandozeile auf und gib den Befehl SET ein. In dessen Aisgabe muss irgendwo PYTHON stehen. Wenn ja, dann mit einem neu gestarteten ioBroker die Installation von yahka noch einmal versuchen.

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

            Moin und erst mal danke für Deine Antwort.

            Ja, ich habe das damals als Administrator installiert…

            auch jetzt habe ich cmd als Administrator geöffnet und set eingegeben.

            Irgendwo in der Mitte steht was von Python 27

            hier ein Screenshot:
            7652_3.png

            Dann habe ich jetzt den Rechner zum x-ten Mal neu gestartet und zum x-ten Mal installiert

            und bekam wieder folgenden Fehler:

            $ ./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.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-04T10_24_29_493Z-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.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-04T10_24_37_199Z-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.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-ngyp 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-04T10_24_44_781Z-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

              Es fehlt die PYTHON-Umgebungsvariable mi dem exakten Pfad zu Python.exe

              Google das mal.

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

                Oder teste damit (als Admin ausführen):

                 npm --add-python-to-path='true' --debug install --global windows-build-tools
                
                1 Reply Last reply Reply Quote 0
                • W
                  wolfpack57 last edited by

                  o. k., über die Computer Einstellung… Umgebungsvariablen habe ich jetzt den Python path herausgefunden und schon mal kopiert,

                  aber wo muss ich den jetzt eingeben??

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

                    In der Kommandozeile

                    set PYTHON=hier/der/Pfad/inkl./der/EXE

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

                      also das lief problemlos durch, hat aber beim Installieren von dem Adapter keinen Fortschritt gebracht

                      npm –add-python-to-path='true' --debug install --global windows-build-tools

                      dann habe ich versucht Deinen Befehl (set PYTHON=hier/der/Pfad/inkl./der/EXE) mit dem Path zusammenzubringen, aber ich denke da mache ich was falsch. Wenn ich das ausführe kommt eigentlich keine Reaktion...

                      muss ich mir den Path von den Benutzervariablen holen

                      C:\Users\stingray29.windows-build-tools\python27\

                      oder von den Systemvariablen holen?
                      7652_5.png

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

                        Weder noch. Du schaust mit dem Explorer, wo die python.exe liegt und gibst in der administrativen Kommandozeile den entsprechenden set-Befehl ein. Inkl. exe. Und der set Befehl hat (fast) nichts mit der Path-Variablen zu tun.

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

                          o. k., habe ich gemacht…
                          7652_6.png

                          anschließend neu gestartet und die Installation noch mal versucht:

                          $ ./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-ngyp 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-04T11_36_49_131Z-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.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-ngyp 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-04T11_36_56_685Z-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.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.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-04T11_37_05_651Z-debug.log
                          
                          host.DESKTOP-SK00CCS install adapter yahka
                          ERROR: host.DESKTOP-SK00CCS Cannot install yahka
                          ERROR: process exited with code 13</anonymous></anonymous></anonymous>
                          

                          Im Log meckert jetzt auch node red…

                          ich glaube, das war vorher nicht...

                          iobroker	2019-02-04 12:37:05.675	info	exit 13
                          iobroker	2019-02-04 12:37:05.668	error	host.DESKTOP-SK00CCS Cannot install yahka
                          iobroker	2019-02-04 12:37:05.667	info	host.DESKTOP-SK00CCS install adapter yahka
                          iobroker	2019-02-04 12:37:05.656	info	
                          iobroker	2019-02-04 12:37:05.656	info	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-04T11_37_05_651Z-debug.log
                          iobroker	2019-02-04 12:37:05.656	info	
                          iobroker	2019-02-04 12:37:05.646	info	
                          iobroker	2019-02-04 12:37:05.646	info	npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                          iobroker	2019-02-04 12:37:05.646	info	npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script.
                          iobroker	2019-02-04 12:37:05.646	info	
                          iobroker	2019-02-04 12:37:05.646	info	npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                          iobroker	2019-02-04 12:37:05.645	info	
                          iobroker	2019-02-04 12:37:05.645	info	ERR! code ELIFECYCLEnpm ERR! errno 1
                          iobroker	2019-02-04 12:37:05.645	info	npm
                          iobroker	2019-02-04 12:37:05.524	info	
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! not ok
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! node-gyp -v v3.8.0
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! node -v v8.15.0
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! cwd C:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-n
                          iobroker	2019-02-04 12:37:05.524	info	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"
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR!
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                          iobroker	2019-02-04 12:37:05.524	info	gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
                          iobroker	2019-02-04 12:37:05.524	info	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\nod
                          iobroker	2019-02-04 12:37:05.524	info	ERR! configure error gyp
                          iobroker	2019-02-04 12:37:05.524	info	gyp
                          iobroker	2019-02-04 12:36:57.282	info	npm install iobroker.yahka --production --save --prefix "C:/iobroker" (System call)
                          iobroker	2019-02-04 12:36:57.282	info	NPM version: 6.4.1
                          iobroker	2019-02-04 12:36:56.708	info	host.DESKTOP-SK00CCS install adapter yahka
                          iobroker	2019-02-04 12:36:56.693	info	
                          iobroker	2019-02-04 12:36:56.693	info	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-04T11_36_56_685Z-debug.log
                          iobroker	2019-02-04 12:36:56.693	info	
                          iobroker	2019-02-04 12:36:56.684	info	
                          iobroker	2019-02-04 12:36:56.684	info	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.
                          iobroker	2019-02-04 12:36:56.684	info	npm
                          iobroker	2019-02-04 12:36:56.684	info	npm ERR!
                          iobroker	2019-02-04 12:36:56.684	info	ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                          iobroker	2019-02-04 12:36:56.684	info	npm
                          iobroker	2019-02-04 12:36:56.683	info	
                          iobroker	2019-02-04 12:36:56.683	info	ERR! code ELIFECYCLEnpm ERR! errno 1
                          iobroker	2019-02-04 12:36:56.683	info	npm
                          iobroker	2019-02-04 12:36:56.573	info	not ok
                          iobroker	2019-02-04 12:36:56.573	info	gyp ERR!
                          iobroker	2019-02-04 12:36:56.573	info	gyp ERR! node-gyp -v v3.8.0
                          iobroker	2019-02-04 12:36:56.573	info	gyp ERR! cwd C:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-ngyp ERR! node -v v8.15.0
                          iobroker	2019-02-04 12:36:56.572	info	
                          iobroker	2019-02-04 12:36:56.572	info	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"
                          iobroker	2019-02-04 12:36:56.572	info	
                          iobroker	2019-02-04 12:36:56.572	info	gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
                          iobroker	2019-02-04 12:36:56.572	info	gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                          iobroker	2019-02-04 12:36:56.572	info	gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
                          iobroker	2019-02-04 12:36:56.572	info	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\no
                          iobroker	2019-02-04 12:36:56.572	info	gyp
                          iobroker	2019-02-04 12:36:56.571	info	ERR! configure error
                          iobroker	2019-02-04 12:36:56.571	info	gyp
                          iobroker	2019-02-04 12:36:49.767	info	npm install iobroker.yahka --production --save --prefix "C:/iobroker" (System call)
                          iobroker	2019-02-04 12:36:49.766	info	NPM version: 6.4.1
                          iobroker	2019-02-04 12:36:49.172	info	host.DESKTOP-SK00CCS install adapter yahka
                          iobroker	2019-02-04 12:36:49.145	info	
                          iobroker	2019-02-04 12:36:49.145	info	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-04T11_36_49_131Z-debug.log
                          iobroker	2019-02-04 12:36:49.144	info	
                          iobroker	2019-02-04 12:36:49.129	info	
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR! Failed at the curve25519-n@1.4.0 install script.
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR!
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR! Exit status 1
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`
                          iobroker	2019-02-04 12:36:49.129	info	npm ERR! code ELIFECYCLEnpm ERR! errno 1
                          iobroker	2019-02-04 12:36:49.018	info	ERR! not ok
                          iobroker	2019-02-04 12:36:49.017	info	gyp
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! node-gyp -v v3.8.0
                          iobroker	2019-02-04 12:36:49.017	info	C:\iobroker\node_modules\iobroker.yahka\node_modules\curve25519-ngyp ERR! node -v v8.15.0
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! cwd
                          iobroker	2019-02-04 12:36:49.017	info	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"
                          iobroker	2019-02-04 12:36:49.017	info	
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
                          iobroker	2019-02-04 12:36:49.017	info	gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
                          iobroker	2019-02-04 12:36:49.017	info	ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                          iobroker	2019-02-04 12:36:49.016	info	gyp
                          iobroker	2019-02-04 12:36:40.478	info	npm install iobroker.yahka --production --save --prefix "C:/iobroker" (System call)
                          iobroker	2019-02-04 12:36:39.940	info	NPM version: 6.4.1
                          iobroker	2019-02-04 12:36:38.916	info	add yahka --host DESKTOP-SK00CCS
                          info.0	2019-02-04 12:36:38.054	info	starting. Version 1.0.2 in C:/iobroker/node_modules/iobroker.info, node: v8.15.0
                          host.DESKTOP-SK00CCS	2019-02-04 12:36:37.686	info	instance system.adapter.info.0 started with pid 10824
                          text2command.1	2019-02-04 12:36:34.122	info	starting. Version 1.2.4 in C:/iobroker/node_modules/iobroker.text2command, node: v8.15.0
                          host.DESKTOP-SK00CCS	2019-02-04 12:36:33.688	info	instance system.adapter.text2command.1 started with pid 16096
                          host.DESKTOP-SK00CCS	2019-02-04 12:36:29.686	info	instance scheduled system.adapter.daswetter.1 */15 * * * *
                          iot.0	2019-02-04 12:36:27.542	info	Connection changed: connect
                          node-red.0	2019-02-04 12:36:27.441	warn	
                          node-red.0	2019-02-04 12:36:27.441	warn	4 Feb 12:36:27 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
                          node-red.0	2019-02-04 12:36:27.439	warn	
                          node-red.0	2019-02-04 12:36:27.439	warn	4 Feb 12:36:27 - [info] Settings file : C:\iobroker\node_modules\iobroker.node-red\userdata\settings.js
                          node-red.0	2019-02-04 12:36:27.439	warn	4 Feb 12:36:27 - [warn] ------------------------------------------------------
                          node-red.0	2019-02-04 12:36:27.439	warn	4 Feb 12:36:27 - [warn] [node-red/tail] Not currently supported on Windows.
                          node-red.0	2019-02-04 12:36:27.439	warn	
                          node-red.0	2019-02-04 12:36:27.439	warn	4 Feb 12:36:27 - [warn] ------------------------------------------------------
                          iot.0	2019-02-04 12:36:26.852	info	Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                          iot.0	2019-02-04 12:36:26.843	info	starting. Version 0.2.2 in C:/iobroker/node_modules/iobroker.iot, node: v8.15.0
                          node-red.0	2019-02-04 12:36:26.129	warn	
                          node-red.0	2019-02-04 12:36:26.129	warn	4 Feb 12:36:26 - [warn] rpi-gpio : Raspberry Pi specific node set inactive</anonymous></anonymous></anonymous>
                          
                          1 Reply Last reply Reply Quote 0
                          • Stabilostick
                            Stabilostick last edited by

                            Was sagt

                            npm config list -ls

                            ?

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

                              7652_8.png
                              7652_9.png
                              7652_10.png

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

                                Öhem, das sieht, obwohl es nicht funktioniert, gut aus. Du hast im npm eine Konfiguration zu Python stehen, die identisch ist mit der Umgebungsvariable….

                                Was sagt „where python.exe“ in der Kommandozeile?

                                Nächster Versuch:

                                Stoppe den iobroker-Dienst. Starte in einer neuen administrativen Kommandozeile ioBroker im iobroker-Verzeichnis mit „iobroker start“. Öffnen sich mehrere schwarze Fenster? Mache dann den Admin im Webbrowser auf. Klappt jetzt das hinzufügen von yahka? Kommt wieder die gleiche Fehlermeldung, das Python nicht gefunden werden kann?

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

                                  soweit so gut 7652_11.png

                                  1 Reply Last reply Reply Quote 0
                                  • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            832
                                            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