NEWS
Fehler bei Yahka-Adapter Installation (Windows)
-
Hi,
jetzt mal bitte gaaaaaanz langsam!!! Da ist nichts gruselig. Das sind alles normale Grundbedingungen für nodejs projekte und hat mit dem Adapter und iobroker nichts zu tun!
Python wird bei der installation benötigt weil eine der Libraries auf deinem Rechner kompiliert werden muss. Das ist Installation und danach erledigt.
Verzeichnis kopieren weiss nicht was DU da genau getan hast.
Er muss die pyhton exe 8wie auch immer die genau heisst) aufrufen können vom Prozess her.
Daher noch ein letztes mal meine Frage (sonst suche ich mir andere Threads zum helfen): Hast du den Python Pfad in deinen PATH von deinem User/System gepackt?
Kannst Du an der Kommandozeile in einem anderen verzeichnis python.exe (oder wie auch immer die in dem verzeichnis heisst) aufrufen und Sie wird gefunden?
-
Der Iobroker hat damit auch nichts zu tun. Komischerweise meckert er auch nur bei diesem Adapter rum, alles anderes funktioniert ja.
Okay, nochmal gaaaanz langsam.
Python installiert, Path-Variable ist eingetragen, lässt sich auch über die Kommandozeile aufrufen.
Gerade nochmal versucht den Adapter zu installieren, läuft immer noch auf "Error 13" (LOG Datei habe ich ebenfalls nochmal angehangen)
4867_python-aufruf.jpg
4867_2018-07-24t11_14_27_233z-debug.log -
Naja, jetzt ist der Fehler ja auch ein anderer :-))
Sehr strange.
Was sagt denn
npm install -g node-gyp
in einer Admin-Shell? Und danach ggf nochmal versuchen yahka.
Die Build Tools hast Du auch in einem Admin-Fenster installiert?
-
Befehl ausgeführt (Ergebnis siehe Screenshot)
Yahka Installation ausgeführt -> Error 13
Neue LOG-Datei im Anhang
Ja, die Kommando Zeile hatte ich mit Admin-Rechten gestartet.
4867_2018-07-24t11_52_48_922z-debug.log
4867_2018-07-24_13_52_25-io-broker_-192.168.1.14-_remotedesktopverbindung.png -
Liegt in C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin eine node-gyp.exe ? kannst du die direkt aufrufen?
Versuch auch mal an einer Shell im iobrioker-verzeichnis ein
npm i -S curve25519-n
-
Also in dem Verzeichnis liegen 2 Dateien (node-gyp und node-gyp.cmd)
Der Befehl liefert (Screenshot)
4867_2018-07-24_14_04_28-io-broker_-192.168.1.14-_remotedesktopverbindung.png -
Ok, einzeln klappt die Installation …
und jetzt nochmal yahka hinterher?!
-
Immer noch der Fehler…
4867_2018-07-24_15_18_32-window.jpg -
WTF jetzt findet er python wieder nicht … ?!
mach mal im iobroker Verzeichnis in Admin Shell
npm install iobroker.yahka (weil da ging es ja besser, oder !?)
-
Gibt einen neuen Fehler jetzt
4867_yahka.jpg -
Gibts das OpenSSL bei dir? Ansonsten das noch installieren? Alles strange … bei anderen geht das und auch bei unseren Appvexyor tests und so ...
-
Oder probiere mal mit vorheriger Vorschlag. Ich hatte letzte Woche auch komischen Fehler bis ich npm 4.x installiert hattest…
Viele hat Probleme mit npm v5. und v6.x. Probiere mal "npm install -g npm@4" um downgrade npm auf 4.x `
-
Gibts das OpenSSL bei dir? Ansonsten das noch installieren? Alles strange … bei anderen geht das und auch bei unseren Appvexyor tests und so ... `
Das habe ich auch bereits installiert. Muss das in ein spezielles Verzeichnis?
-
ist es da wo er meckert?! C:/OpenSSL-WIn64 oder so
-
Ja, ist da wo er anmeckert.
4867_openssl_pfad.jpg -
Aber er sucht ein file was da nicht ist … ehrlich habe ich jetzt keine Idee mehr. Bei Vielen Usern geht es.
Gesendet vom Handy ...
-
Ja, ist da wo er anmeckert. `
Hallo
Das Problem hatte ich vorhin auch (mit openSSL 1.1.0f): Datei existierte nicht.
Bei der Version openSSL 1.0.2l gab es sie aber und die Installation vom Yahka-Adapter lief durch.
Hoffe bei dir klappts nun auch?
LG
Patrick
-
-
Hallo,
bei mir kommt folgender Fehler:
$ ./iobroker add yahka --host DESKTOP-P9BVQ1I NPM version: 6.4.0 npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-n gyp ERR! node -v v8.11.4gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_44_284Z-debug.log host.DESKTOP-P9BVQ1I install adapter yahka NPM version: 6.4.0 npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19) gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-n gyp ERR! node -v v8.11.4 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_50_986Z-debug.log host.DESKTOP-P9BVQ1I install adapter yahka NPM version: 6.4.0 npm install iobroker.yahka --production --save --prefix "C:/Users/Jörg/ioBroker" (System call) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19) gyp ERR! stack at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\Users\Jörg\ioBroker\node_modules\iobroker.yahka\node_modules\curve25519-ngyp ERR! node -v v8.11.4 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! curve25519-n@1.4.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-11-27T16_08_57_588Z-debug.log host.DESKTOP-P9BVQ1I install adapter yahka ERROR: host.DESKTOP-P9BVQ1I Cannot install yahka ERROR: process exited with code 13</anonymous></anonymous></anonymous>
Jemand eine Idee?
-
Ja Python fehlt und das heißt meistens das für Windows Build Tools fehlen Google mal danach oder suche hier im Forum bzw bei yahka auf der GitHub Seite.
Gesendet vom Handy …