NEWS
Iobroker Adapter Harmony
-
Hi zusammen,
ich versuche aktuell in ioBroker den Harmony Adapter zu installieren. Leider kommt es immer zu einen Fehler 13
$ ./iobroker add harmony --host raspberrypi NPM version: 4.6.1 npm install iobroker.harmony --production --save --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:13:12) npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-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:13:12) npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) 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: 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! 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! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-11-08T09_48_16_923Z-debug.log host.raspberrypi install adapter harmony NPM version: 4.6.1 npm install iobroker.harmony --production --save --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:13:12) npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21)npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-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:13:12) npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) 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: 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! 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! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-11-08T09_48_34_042Z-debug.log host.raspberrypi install adapter harmony NPM version: 4.6.1 npm install iobroker.harmony --production --save --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:13:12)npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21)npm WARN addRemoteGit git+https://github.com/swissmanu/ltx.git#cdata-for-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:13:12) npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5 npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:284:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:152:21) 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: 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! 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! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-11-08T09_48_52_411Z-debug.log host.raspberrypi install adapter harmony ERROR: host.raspberrypi Cannot install harmony ERROR: process exited with code 13</https:></https:></https:>
könnt ihr mir vielleicht weiterhelfen woher der Fehler kommen könnte?
-
Würde sagen dir fehlt „GIT“ auf deiner Installation:
Siehe Zeile 4 in deinem Log.
Oder hier:
npm ERR! Please check if you have git installed and in your PATH.
-
danke habe ich irgendwie überlesen. Hat funktioniert.