NEWS
[Gelöst] harmony Adapter Error bei install
-
hey
habe mein rpi3 neu aufgesetzt alles nach anleitung installiert node -v und nodejs -v gibt auch entsprechend der anleitung richtige version aus aber der adapter schreibt error
! $ ./iobroker add harmony
! npm install iobroker.harmony –production --prefix "/opt/iobroker" (System call)
! npm
! ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefinednpm
! ERR!
! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
! npm
! WARN
! deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>
! npm
! ERR!
! Linux 4.9.80-v7+
! npm ERR!
! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
! npm ERR!
! node v6.14.1
! npm ERR!
! npm v3.10.10
! npm
! ERR!
! code
! ENOGIT
! npm ERR! not found: gitnpm 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! /npm-debug.log
! host.raspberrypi install adapter harmony
! npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
! npm
! WARN
! addRemoteGit
! Error: not found: gitnpm
! WARN
! addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)npm
! WARN
! addRemoteGit
! at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm
! WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
! npm
! WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
! npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
! npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cd ... ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
! npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
! npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
! npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
! npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
! npm
! ERR!
! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
! npm ERR!
! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
! npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml>
! npm
! ERR! Linux 4.9.80-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
! npm ERR! node v6.14.1
! npm ERR! npm v3.10.10
! npm ERR! code ENOGIT
! npm ERR! not found: gitnpm 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! /npm-debug.log
! host.raspberrypi install adapter harmony
! npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
! npm WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
! npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
! npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
! npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
! npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cd ... ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b because of error: { Error: not found: git
! npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
! npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
! npm WARN addRemoteGit
! at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
! npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
! npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
! npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https://www.npmjs.com/package/@xmpp/xml%3Enpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
! npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b: undefined
! npm
! ERR! Linux 4.9.80-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
! npm ERR! node
! v6.14.1npm ERR! npm v3.10.10
! npm ERR! code ENOGIT
! npm ERR! not found: gitnpm 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! /npm-debug.log
! host.raspberrypi install adapter harmony
! ERROR: host.raspberrypi Cannot install harmony
! ERROR: process exited with code 13hab es mir selbst beantwortet
sudo apt-get install git-core
sudo apt-get update sudo apt-get upgrade
bekomme den adapter nun mit error installiert so weit alles gut ?
! harmony.0 2018-04-14 18:44:00.167 info synced hub config
! harmony.0 2018-04-14 18:44:00.145 info added new device: Marantz_AV-Empfänger
! harmony.0 2018-04-14 18:44:00.120 info added new device: Sony_TV
! harmony.0 2018-04-14 18:44:00.092 info added new device: Microsoft_Xbox_360
! harmony.0 2018-04-14 18:44:00.088 info added new activity: Iobroker
! harmony.0 2018-04-14 18:44:00.086 info added new activity: Kino
! harmony.0 2018-04-14 18:44:00.085 info added new activity: Musik_hören
! harmony.0 2018-04-14 18:44:00.079 info added new activity: Wiedergabe_Xbox_360
! harmony.0 2018-04-14 18:43:58.997 info connected to Harmony Hub
! harmony.0 2018-04-14 18:43:56.414 info connecting to Harmony Hub
! harmony.0 2018-04-14 18:43:56.396 info discovered Harmony Hub
! harmony.0 2018-04-14 18:43:55.039 info searching for Harmony Hubs…
! harmony.0 2018-04-14 18:43:54.987 info starting. Version 0.9.0 in /opt/iobroker/node_modules/iobroker.harmony, node: v6.14.1
! iobroker 2018-04-14 18:43:52.397 info exit 0
! iobroker 2018-04-14 18:43:52.376 info host.raspberrypi object system.adapter.harmony.0 created
! host.raspberrypi 2018-04-14 18:43:52.371 info instance system.adapter.harmony.0 started with pid 32731
! host.raspberrypi 2018-04-14 18:43:52.343 info object change system.adapter.harmony.0
! iobroker 2018-04-14 18:43:52.306 info host.raspberrypi object system.adapter.harmony.0.alive created
! iobroker 2018-04-14 18:43:52.270 info host.raspberrypi object system.adapter.harmony.0.connected created
! iobroker 2018-04-14 18:43:52.237 info host.raspberrypi object system.adapter.harmony.0.memHeapUsed created
! iobroker 2018-04-14 18:43:52.205 info host.raspberrypi object system.adapter.harmony.0.memHeapTotal created
! iobroker 2018-04-14 18:43:52.171 info host.raspberrypi object system.adapter.harmony.0.memRss created
! iobroker 2018-04-14 18:43:52.136 info host.raspberrypi object system.adapter.harmony.0.uptime created
! iobroker 2018-04-14 18:43:52.097 info host.raspberrypi object system.adapter.harmony.0.inputCount created
! iobroker 2018-04-14 18:43:52.062 info host.raspberrypi object system.adapter.harmony.0.outputCount created
! iobroker 2018-04-14 18:43:52.049 info host.raspberrypi create instance harmony
! iobroker 2018-04-14 18:43:52.012 info host.raspberrypi object system.adapter.harmony created
! iobroker 2018-04-14 18:43:51.876 info upload [0] harmony.admin /opt/iobroker/node_modules/iobroker.harmony/admin/harmony.png harmony.png image/png
! iobroker 2018-04-14 18:43:51.770 info upload [1] harmony.admin /opt/iobroker/node_modules/iobroker.harmony/admin/index.html index.html text/html
! iobroker 2018-04-14 18:43:51.740 info got /opt/iobroker/node_modules/iobroker.harmony/admin
! iobroker 2018-04-14 18:43:27.493 info WARN deprecated node-xmpp-jid@2.3.0: use @xmpp/jid package
! iobroker 2018-04-14 18:43:27.491 info npm
! iobroker 2018-04-14 18:43:18.505 info WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
! iobroker 2018-04-14 18:43:18.503 info npm
! iobroker 2018-04-14 18:43:14.199 info npm install –production (System call) in "/opt/iobroker/node_modules/iobroker.harmony"
! iobroker 2018-04-14 18:43:14.192 info host.raspberrypi install adapter harmony
! iobroker 2018-04-14 18:42:47.832 info node-xmpp-jid@2.3.0: use @xmpp/jid package
! iobroker 2018-04-14 18:42:47.830 info WARN deprecated
! iobroker 2018-04-14 18:42:47.828 info npm
! iobroker 2018-04-14 18:42:36.468 info npm WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package
! iobroker 2018-04-14 18:42:36.359 info npm WARN addRemoteGit cmd: 'git config --get remote.origin.url' }
! iobroker 2018-04-14 18:42:36.359 info code: 1,npm WARN addRemoteGit signal: null,
! iobroker 2018-04-14 18:42:36.355 info addRemoteGit killed: false,npm WARN addRemoteGit
! iobroker 2018-04-14 18:42:36.350 info npm WARN
! iobroker 2018-04-14 18:42:36.350 info npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)
! iobroker 2018-04-14 18:42:36.350 info npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! iobroker 2018-04-14 18:42:36.350 info WARN addRemoteGit at Socket. (internal/child_process.js:351:11)npm WARN addRemoteGit at emitOne (events.js:96:13)
! iobroker 2018-04-14 18:42:36.340 info npm
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at emitTwo (events.js:106:13)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cd … ltx-parser resetting remote /root/.npm/_git-remotes/git-https-github-com-swissmanu-ltx-git-cdata-for-ltx-parser-d923f26b becau
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:509:12)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at Socket.emit (events.js:188:7)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at emitOne (events.js:96:13)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at Socket. (internal/child_process.js:351:11)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at maybeClose (internal/child_process.js:920:16)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at emitTwo (events.js:106:13)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:199:12)
! iobroker 2018-04-14 18:42:36.340 info npm WARN addRemoteGit Error: Command failed: git config –get remote.origin.urlnpm WARN addRemoteGit
! iobroker 2018-04-14 18:42:20.512 info npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
! iobroker 2018-04-14 18:42:18.549 info add harmony -
Hi,
Auch wenn es jetzt läuft.
Wenn du den PI neu installiert hast gehe ich von Jessie oder Stretch aus.
Dann wäre der richtige Befehl zum installieren von GIT dieser:
sudo apt install git
Und für ein Upgrade der Linux Pakete sollte man das „-get“ weglassen.
Laut deinem Log wurden ja Devices und Aktionen gefunden. Somit sollte jetzt alles gut sein.
Kannst du dann bitte den Titel vom ersten Post um ein````
[Gelöst]Schönen Sonntag