NEWS
[gelöst] Windows 7 Fehler bei Installation von YAHKA
-
Moin,
welche Node- und npm-Version?
Neue Anleitung für Windows mal versucht?
Gruß,
Eric
Von unterwegs getippert
-
Python Installation im Pfad erreichbar?
Gesendet vom Handy …
-
Moin Moin und danke für die Antworten!
Phyton war nicht im Pfad erreichbar. Habs daher einfach deinstalliert und noch-einmal installiert und jetzt funktioniert alles problemlos.
Vielen lieben DANK
-
Moin,
leider hänge ich auch bei der Installation und komme nicht weiter…
also habe ich das runtergeladen:
https://www.samuelattard.com/files/bonjourcore2.msi
dann installiert und die Datei wieder gelöscht
war das so gemeint?
dann habe ich diesen runtergeladen, installiert und die Datei wieder gelöscht:
https://www.samuelattard.com/files/bonjoursdksetup.exe
Hiermit kann ich leider gar nichts anfangen:
- set BONJOUR_SDK_HOME=C:\Program Files\Bonjour SDK
muss ich das über das terminal ausführen? Und was soll bei dem Code rein?
Ich habe immer folgenden Fehler:
Fertig mit Fehler: host.DESKTOP-SK00CCS Cannot install yahka
es scheint irgendwie an den Ports zu liegen,
das steht im Log:
host.DESKTOP-SK00CCS 2019-01-29 15:46:56.981 info Restart adapter system.adapter.terminal.1 because enabled
host.DESKTOP-SK00CCS 2019-01-29 15:46:56.981 error instance system.adapter.terminal.1 terminated with code 1 ()
terminal.1 2019-01-29 15:46:56.828 info starting. Version 0.1.2 in C:/iobroker/node_modules/iobroker.terminal, node: v6.9.1
host.DESKTOP-SK00CCS 2019-01-29 15:46:56.268 info instance system.adapter.terminal.1 started with pid 33664
host.DESKTOP-SK00CCS 2019-01-29 15:46:26.260 info Restart adapter system.adapter.terminal.1 because enabled
host.DESKTOP-SK00CCS 2019-01-29 15:46:26.259 error instance system.adapter.terminal.1 terminated with code 1 ()
terminal.1 2019-01-29 15:46:26.225 error port 8088 already in use
terminal.1 2019-01-29 15:46:26.057 info starting. Version 0.1.2 in C:/iobroker/node_modules/iobroker.terminal, node: v6.9.1
host.DESKTOP-SK00CCS 2019-01-29 15:46:25.486 info instance system.adapter.terminal.1 started with pid 33028
-
Das code weg inkl der eckigen Klammern. Und ja kommandozeile
Der Fehler mit der einen Zeile ist nicht sehr hilfreich.
Gesendet vom Handy …
-
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
-
ich komme damit einfach nicht weiter…
habt ihr noch ein Tipp für mich?
mein System:
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…
Hiermit habe ich natürlich auch experimentiert
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>
-
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.
-
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:
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>
-
Es fehlt die PYTHON-Umgebungsvariable mi dem exakten Pfad zu Python.exe
Google das mal.
-
Oder teste damit (als Admin ausführen):
npm --add-python-to-path='true' --debug install --global windows-build-tools
-
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??
-
In der Kommandozeile
set PYTHON=hier/der/Pfad/inkl./der/EXE
-
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?
-
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.
-
o. k., habe ich gemacht…
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>
-
Was sagt
npm config list -ls
?
-
-
Ö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?
-
soweit so gut