NEWS
[gelöst] Windows 7 Fehler bei Installation von YAHKA
-
Passt. Und was macht der von Kommandozeile aus gestartete ioBroker?
-
also…
ich habe über den Task Manager den Dienst gestoppt...
dann als Administrator das neue Fenster cmd geöffnet und wie folgt neu gestartet...
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>
-
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?
-
ja,
erst mal den Dienst wieder gestartet…
dann die Installation über Deinen Befehl gestartet...
gibt was rotes am Anfang und am Ende...
-
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.
-
???
-
Also zum ersten: Was ist Authenticate PAM?
PAM (Pluggable Authentication Modules) is the management layer that sits between Linux applications and the Linux native authentication system. There are many programs in your system that use PAM modules, such as SU, password, SSH, logging in, and other services.
Wie soll das unter Windows funktionieren?
-
Zum zweiten Punkt:
Gibt es unter C:\ bei Dir das Verzeichnis OpenSSL-Win64?
Außerdem ist der zweite Fehler eh optional, also gerade Wurst.
-
…ich hör das zum 1. Mal...
-
Ähm, hat er etwa den Adapter jetzt installiert? Schau mal nach im Admin.
-
das Verzeichnis gibt es nicht
-
Wie gesagt, das Modul ist optional, also gerade egal.
Was ist jetzt mit dem Adapter?
-
leider nicht,
war nicht installiert
und tut auch jetzt nicht
-
Ich versuche es bei mir mal.
-
mir ist gerade aufgefallen, dass der Prozess wieder deaktiviert war.
Auch wenn ich Ihn neu aktiviert habe, ging er nach ein paar Sekunden wieder aus.
Nach einem Neustart ist das aber wieder weg…
die Instanz fügt er trotzdem nicht hinzu
-
Installiere bitte zuerst OpenSSL: http://slproweb.com/products/Win32OpenSSL.html
Bitte exakt die Version v1.0.2j
Nicht "light"!
Bei der Installation alles auf Standard lassen. 64-bit Variante entsprechend Deinem Betriebssystem
Jetzt das Setup von yahka mit npm i … in der Kommandozeile wiederholen.
-
habe ich gemacht…
bei dem Installieren hat er einmal gemeckert, weil auf meinem Rechner während der Installation ein command promt lief.
Kann das Scheitern daran liegen?
Wenn ja, wie kriege ich das aus?
Anschließend Neustart
und über Administrator-cmd:
Ich sag mal so…
für mich als Laien sieht der Fehlercode kürzer aus... :roll:
-
ich hoffe, ich hab mit dem richtigen Befehl installiert…
-
Nee, das war doof. Du musst das Kommando im iobroker-Ordner ausführen. Was kommt jetzt?
-
Wenn Du das sagst, klingt das so logisch… :roll:
Das war auch mal ein Schritt:
Unter Adapter sagt er jetzt auch endlich dass die Version, 0.9.1 installiert ist
Juchu!!! :lol:
0.7.1 hatte er vorher dort angegeben.
aaaber, müsste ich jetzt nicht Unter Instanzen irgendwas von Homekit oder yahka finden können?