root@wb:/mnt/data/root/zigbee2mqtt# npm start
> zigbee2mqtt@1.2.1 start /mnt/data/root/zigbee2mqtt
> node index.js
zigbee2mqtt:info 12/5/2019, 7:31:09 PM Logging to directory: ‘/mnt/data/root/z igbee2mqtt/data/log/2019-12-05.19-31-08’
zigbee2mqtt:info 12/5/2019, 7:31:12 PM Starting zigbee2mqtt version 1.2.1 (com mit #a78cbfb)
zigbee2mqtt:info 12/5/2019, 7:31:12 PM Starting zigbee-shepherd
zigbee2mqtt:info 12/5/2019, 7:31:14 PM Error while starting zigbee-shepherd, a ttempting to fix… (takes 60 seconds)
zigbee2mqtt:info 12/5/2019, 7:32:14 PM Starting zigbee-shepherd
zigbee2mqtt:error 12/5/2019, 7:32:16 PM Error while starting zigbee-shepherd!
zigbee2mqtt:error 12/5/2019, 7:32:16 PM Press the reset button on the stick (t he one closest to the USB) and start again
zigbee2mqtt:error 12/5/2019, 7:32:16 PM Failed to start
{“message”:“request timeout”,“stack”:“Error: request timeout\n at CcZ np.<anonymous> (/mnt/data/root/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:261: 22)\n at Object.onceWrapper (events.js:286:20)\n at CcZnp.emit (events.js: 198:13)\n at Timeout.<anonymous> (/mnt/data/root/zigbee2mqtt/node_modules/cc- znp/lib/ccznp.js:240:18)\n at ontimeout (timers.js:436:11)\n at tryOnTimeo ut (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.proce ssTimers (timers.js:223:10)”}
zigbee2mqtt:error 12/5/2019, 7:32:16 PM Exiting…
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.2.1 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.2.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-05T19_32_47_271Z-debug.log
содержимое лог-файла
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@6.11.3
3 info using node@v10.17.0
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle zigbee2mqtt@1.2.1~prestart: zigbee2mqtt@1.2.1
6 info lifecycle zigbee2mqtt@1.2.1~start: zigbee2mqtt@1.2.1
7 verbose lifecycle zigbee2mqtt@1.2.1~start: unsafe-perm in lifecycle true
8 verbose lifecycle zigbee2mqtt@1.2.1~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/data/root/zigbee2mqtt/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle zigbee2mqtt@1.2.1~start: CWD: /mnt/data/root/zigbee2mqtt
10 silly lifecycle zigbee2mqtt@1.2.1~start: Args: [ ‘-c’, ‘node index.js’ ]
11 silly lifecycle zigbee2mqtt@1.2.1~start: Returned: code: 1 signal: null
12 info lifecycle zigbee2mqtt@1.2.1~start: Failed to exec start script
13 verbose stack Error: zigbee2mqtt@1.2.1 start: node index.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid zigbee2mqtt@1.2.1
15 verbose cwd /mnt/data/root/zigbee2mqtt
16 verbose Linux 4.9.22-wb6
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “start”
18 verbose node v10.17.0
19 verbose npm v6.11.3
20 error code ELIFECYCLE
21 error errno 1
22 error zigbee2mqtt@1.2.1 start: node index.js
22 error Exit status 1
23 error Failed at the zigbee2mqtt@1.2.1 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]