定制版docker-iobroker安装z2m网关失败

错误日志:

0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’,
1 verbose cli ‘/usr/bin/npm’,
1 verbose cli ‘install’,
1 verbose cli ‘ioBroker/ioBroker.zigbee#herdsman’,
1 verbose cli ‘–loglevel’,
1 verbose cli ‘error’,
1 verbose cli ‘–prefix’,
1 verbose cli ‘/opt/iobroker’ ]
2 info using npm@6.13.4
3 info using node@v10.18.1
4 verbose config Skipping project config: /opt/iobroker/.npmrc. (matches userconfig)
5 verbose npm-session d95a71f51ad39a28
6 silly install loadCurrentTree
7 silly install readLocalPackageData
8 silly fetchPackageMetaData error for github:ioBroker/ioBroker.zigbee#herdsman Command failed: git checkout herdsman
8 silly fetchPackageMetaData error: pathspec ‘herdsman’ did not match any file(s) known to git.
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 31136ms
11 verbose stack Error: Command failed: git checkout herdsman
11 verbose stack error: pathspec ‘herdsman’ did not match any file(s) known to git.
11 verbose stack
11 verbose stack at ChildProcess.exithandler (child_process.js:294:12)
11 verbose stack at ChildProcess.emit (events.js:198:13)
11 verbose stack at maybeClose (internal/child_process.js:982:16)
11 verbose stack at Socket.stream.socket.on (internal/child_process.js:389:11)
11 verbose stack at Socket.emit (events.js:198:13)
11 verbose stack at Pipe._handle.close (net.js:607:12)
12 verbose cwd /opt/iobroker
13 verbose Linux 4.4.59+
14 verbose argv “/usr/bin/node” “/usr/bin/npm” “install” “ioBroker/ioBroker.zigbee#herdsman” “–loglevel” “error” “–prefix” “/opt/iobroker”
15 verbose node v10.18.1
16 verbose npm v6.13.4
17 error code 1
18 error Command failed: git checkout herdsman
18 error error: pathspec ‘herdsman’ did not match any file(s) known to git.
19 verbose exit [ 1, true ]

直接安装 ioBroker/ioBroker.zigbee 就可以了。

1赞