Hallo, ich erhalte den folgenden Fehler bei der Installation des Plugins.
Meine Homebridge läuft unter dem Benutzer "Homebridge" und im unsicheren Modus. Mehrere installierte Plugins funktionieren jedoch korrekt (Tado, Netatmo, Homematic, Config-Ui-X, Alexa, Unifi). Warum funktioniert das nicht mit Harmony?
Fehler:
Error:
USER: homebridge
DIR: /usr/local/lib/node_modules
CMD: sudo -E -n npm --no-update-notifier install --unsafe-perm homebridge-harmonyhub@latest
npm WARN deprecated [email protected]: use package https://www.npmjs.com/package/@xmpp/xml
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3
npm ERR! /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3/.git: Keine Berechtigung
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/homebridge/.npm/_logs/2018-05-11T14_43_07_720Z-debug.log
Command failed. Please review log for details
Die log Datei sagt folgendes:
pi@raspberrypi:~ $ cat /home/homebridge/.npm/_logs/2018-05-11T14_43_07_720Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli '--no-update-notifier',
1 verbose cli 'install',
1 verbose cli '--unsafe-perm',
1 verbose cli 'homebridge-harmonyhub@latest' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session cd5c6a653dd3d870
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/homebridge-harmonyhub 425ms
8 silly pacote tag manifest for homebridge-harmonyhub@latest fetched in 559ms
9 timing stage:loadCurrentTree Completed in 1451ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 6ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email protected] checking installable status
17 http fetch GET 200 https://registry.npmjs.org/harmonyhubjs-discover 210ms
18 silly pacote range manifest for harmonyhubjs-discover@^1.0.2 fetched in 367ms
19 silly resolveWithNewModule [email protected] checking installable status
20 http fetch GET 200 https://registry.npmjs.org/queue 370ms
21 http fetch GET 304 https://registry.npmjs.org/inherits 406ms (from cache)
22 http fetch GET 200 https://registry.npmjs.org/lodash 411ms
23 http fetch GET 304 https://registry.npmjs.org/debug 459ms (from cache)
24 silly pacote range manifest for inherits@^2.0.1 fetched in 439ms
25 silly resolveWithNewModule [email protected] checking installable status
26 http fetch GET 304 https://registry.npmjs.org/bluebird 487ms (from cache)
27 silly pacote range manifest for lodash@^4.6 fetched in 490ms
28 silly resolveWithNewModule [email protected] checking installable status
29 silly pacote range manifest for debug@^2.2.0 fetched in 535ms
30 silly resolveWithNewModule [email protected] checking installable status
31 silly pacote range manifest for bluebird@^3.3.4 fetched in 548ms
32 silly resolveWithNewModule [email protected] checking installable status
33 silly pacote range manifest for queue@^3.1.0 fetched in 511ms
34 silly resolveWithNewModule [email protected] checking installable status
35 info lifecycle [email protected]prepack: [email protected]postpack: [email protected]
36 info lifecycle [email protected]
37 silly pacote git manifest for harmonyhubjs-client@github:e7hz3r0/harmonyhubjs-client fetched in 2998ms
38 silly resolveWithNewModule [email protected] checking installable status
39 http fetch GET 304 https://registry.npmjs.org/ms 98ms (from cache)
40 silly pacote version manifest for [email protected] fetched in 106ms
41 silly resolveWithNewModule [email protected] checking installable status
42 http fetch GET 200 https://registry.npmjs.org/node-xmpp-stanza 156ms
43 http fetch GET 304 https://registry.npmjs.org/request 163ms (from cache)
44 http fetch GET 200 https://registry.npmjs.org/node-xmpp-client 191ms
45 http fetch GET 304 https://registry.npmjs.org/q 190ms (from cache)
46 silly pacote range manifest for request@^2.48.0 fetched in 205ms
47 silly resolveWithNewModule [email protected] checking installable status
48 silly pacote version manifest for [email protected] fetched in 230ms
49 warn deprecated [email protected]: use package https://www.npmjs.com/package/@xmpp/xml
50 silly resolveWithNewModule [email protected] checking installable status
51 silly pacote version manifest for [email protected] fetched in 249ms
52 silly resolveWithNewModule [email protected] checking installable status
53 silly pacote range manifest for q@^1.1.2 fetched in 246ms
54 silly resolveWithNewModule [email protected] checking installable status
55 silly fetchPackageMetaData error for ltx@git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser Command failed: /usr/bin/git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3
55 silly fetchPackageMetaData /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3/.git: Keine Berechtigung
56 timing stage:rollbackFailedOptional Completed in 3ms
57 timing stage:runTopLevelLifecycles Completed in 5878ms
58 verbose stack Error: Command failed: /usr/bin/git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3
58 verbose stack /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3/.git: Keine Berechtigung
58 verbose stack
58 verbose stack at ChildProcess.exithandler (child_process.js:272:12)
58 verbose stack at emitTwo (events.js:125:13)
58 verbose stack at ChildProcess.emit (events.js:213:7)
58 verbose stack at maybeClose (internal/child_process.js:927:16)
58 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
59 verbose cwd /usr/local/lib/node_modules
60 verbose Linux 4.14.34-v7+
61 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "--no-update-notifier" "install" "--unsafe-perm" "homebridge-harmonyhub@latest"
62 verbose node v8.8.1
63 verbose npm v6.0.1
64 error code 1
65 error Command failed: /usr/bin/git clone --depth=1 -q -b cdata-for-ltx-parser https://github.com/swissmanu/ltx.git /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3
65 error /home/homebridge/.npm/_cacache/tmp/git-clone-257a97d3/.git: Keine Berechtigung
66 verbose exit [ 1, true ]
Es scheint ja was mit Berechtigung zu nun haben. Kenne mich damit leider noch nicht so aus und da die anderen Plugins ja laufen, möchte ich nicht mehr kaputt machen....
Vielen Dank für Euere Hilfe