NEWS
Installation Logitech Harmony
-
Hallo Zusammen,
beim Versuch den Harmony Adapter unter windows 7 x32 zu installieren, kommt folgende Meldung:
$ ./iobroker add harmony
npm install iobroker.harmony –production --prefix "C:/Program Files/ioBroker" (System call)
npm
ERR!
git clone https://github.com/Pmant/harmonyhubjs-client.git
undefined
npm
ERR!
git clone https://github.com/Pmant/harmonyhubjs-client.git undefined
npm
ERR!
not found: git
npm
ERR!
npm
ERR!
Failed using git.
npm
ERR!
This is most likely not a problem with npm itself.
npm
ERR!
Please check if you have git installed and in your PATH.
npm
ERR! System Windows_NT 6.1.7601npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefix" "C:/Program Files/ioBroker"
npm
ERR! cwd C:\Windows\system32
npm ERR! node -v v0.10.35npm
ERR!
npm -v
1.4.28
npm
ERR!
code
ENOGIT
npm
ERROR: process exited with code 25
Wer kennt die Ursache des Fehlers und kann mir helfen die Installation des Adapters ordentlich durchzuführen?
Viele Grüße Kruewalda
-
Könnte an deiner Node Version liegen. Wenn ich das Install log von dir richtig lese hast du version 0.10.35 installiert.
Das Könnte das Problem sein. Die Version kannst du mit "node -v" in der Kommandozeile anzeigen, bei Windows könnte es auch "node.exe -v" sein.
Eventeuell musst du auch in den Ordner Wechseln in dem Node installiert ist um den Befehl aus zu führen.
-
https://github.com/npm/npm/wiki/Troubleshooting#no-git
Sorry dass es im Moment mit dem Adapter so viele Probleme gibt, das liegt an einigen der genutzten Libs bzw. an deren genutzen Libs. Daher habe ich einige davon aus meinem Github eingebunden.
-
https://github.com/npm/npm/wiki/Troubleshooting#no-git
Sorry dass es im Moment mit dem Adapter so viele Probleme gibt, das liegt an einigen der genutzten Libs bzw. an deren genutzen Libs. Daher habe ich einige davon aus meinem Github eingebunden. `
Die Seite kann nicht angezeigt werden, aber ich habe das gleich Problem wie Kruewalda.
Gruß oekomat
-
Ich lehn mich Kurz aus dem Fenster da ich nicht 100%ig weiss ob Pman das meinte.
Auf der Verlinkten seite steht nur das der Fehler bedeutet es ist kein Git installiert und dort ist ein Link wie man Git installiert.
Aus gehend davon das du ebenfalls Windows hast hier die Anleitung von der Seite:
` > Installing on WindowsThere are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go to http://git-scm.com/download/win and the download will start automatically. Note that this is a project called Git for Windows, which is separate from Git itself; for more information on it, go to https://git-for-windows.github.io/.
Another easy way to get Git installed is by installing GitHub for Windows. The installer includes a command line version of Git as well as the GUI. It also works well with Powershell, and sets up solid credential caching and sane CRLF settings. We’ll learn more about those things a little later, but suffice it to say they’re things you want. You can download this from the GitHub for Windows website, at http://windows.github.com. `
Quelle: http://git-scm.com/book/en/v2/Getting-S … alling-Git
-
Jetzt mal aber ne ganz blöde Frage:
Geht man von dem Betriebssystem aus, auf dem iobroker läuft? Dann wäre es mit dem Raspi ja Linux
oder von dem aus, von dem die Konfiguration aufgerufen wird? dann wäre es ja Win7 im Firefox
-
@Jey Cee:Ich lehn mich Kurz … `
Funktioniert bei dir denn der Adapter?
-
Ja, zwar mit ein paar Macken an denen wir gerade Arbeiten um sie weg zu bekommen.
Hab ihn auch erst Gestern komplett neu Installiert und das hat Wunderbar funktioniert. Bei mir läuft das auf einem Raspberry Pi2 unter debian Jessy mit Node 4.x.
Was die obere Frage angeht: Von dem System auf dem ioBroker läuft.
-
Ok, bei mir läuft es auch auf einem Pi2.
Dann würde ich Git nachinstallieren und dann mal schauen.
-
auf linux mach mal das:
sudo apt-get install build-essential git
build-essential sollte beim Pi war schon drauf sein aber kann ja nicht schaden.
-
und danach nochmal den Adapter versuchen?!
-
genau `
Ok, kurze Info. Den Adapter hat er mir jetzt abgenommen und installiert. Danke dafür. Muss ich mal schauen, mit welchen Widget ich da was machen kann/muss.
-
Ach ich muss mich hier mal dran hängen.
Auch ich will den Adapter unter Windows installieren und komme nicht weiter.
Git habe ich installiert, verstehe aber nicht warum da trotzdem was nicht stimmt.
Könnte ihr weiter helfen?
$ ./iobroker add harmony npm install iobroker.harmony --production --prefix "C:/ioBroker" (System call) npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml=""> npm WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:13:12)npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:89:16 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:112:15) npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:13:12) npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:68:19) npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:80:29) npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:89:16npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:112:15) code: 'ENOGIT' } npm ERR! git clone --template=C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm ERR! git clone --template=C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/swissmanu/ltx.git C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined npm ERR! Windows_NT 6.1.7601npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefix" "C:/ioBroker" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ENOGIT npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log ERROR: host.Sören-PC Cannot install iobroker.harmony: 1 ERROR: process exited with code 25</https:>
-
@chemieka keine weitere Meldungen in der Console?
Sehe keine Vorgang/error Log
Sent from my iPhone using Tapatalk
Edit: ups Tapatalk hast nicht alles gezeigt…
> WARN addRemoteGit Error: not found: gitnpm
Git richtig installiert? ( habe git Pakete gesehen wo man expliciet die Command Line anhaken muss)
Reboot gemacht?
-
Keine Ahnung warum aber nach dem 10 mal neuinstallation ist es jetzt drauf warum kann ich leider nicht sagen.
Jetzt muss ich mal sehen ob ich es ans laufen bekomme.