Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:/opt/zigbee2mqtt $ sudo systemctl start zigbee2mqtt
- pi@raspberrypi:/opt/zigbee2mqtt $ sudo journalctl -u zigbee2mqtt.service -f
- -- Logs begin at Tue 2019-04-09 15:24:30 CEST. --
- Apr 09 18:39:02 raspberrypi npm[12411]: npm WARN For further explanations, please read
- Apr 09 18:39:02 raspberrypi npm[12411]: /usr/share/doc/nodejs/README.Debian
- Apr 09 18:39:02 raspberrypi npm[12411]:
- Apr 09 18:39:02 raspberrypi npm[12411]: npm ERR!
- Apr 09 18:39:02 raspberrypi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
- Apr 09 18:39:02 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
- Apr 09 18:39:02 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
- Apr 09 18:39:02 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
- Apr 09 18:39:02 raspberrypi systemd[1]: Stopped zigbee2mqtt.
- Apr 09 18:39:02 raspberrypi systemd[1]: Started zigbee2mqtt.
- Apr 09 18:39:05 raspberrypi npm[12441]: (node:12441) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
- Apr 09 18:39:06 raspberrypi npm[12441]: > zigbee2mqtt@1.3.0 start /opt/zigbee2mqtt
- Apr 09 18:39:06 raspberrypi npm[12441]: > node index.js
- Apr 09 18:39:08 raspberrypi npm[12441]: Zigbee2mqtt requires node version 10, you are running v8.11.1!
- Apr 09 18:39:09 raspberrypi npm[12441]: zigbee2mqtt:info 9.4.2019, 18:39:09 Logging to directory: '/opt/zigbee2mqtt/data/log/2019-04-09.18-39-09'
- Apr 09 18:39:09 raspberrypi npm[12441]: /opt/zigbee2mqtt/node_modules/cc-znp/node_modules/bindings/bindings.js:121
- Apr 09 18:39:09 raspberrypi npm[12441]: throw e;
- Apr 09 18:39:09 raspberrypi npm[12441]: ^
- Apr 09 18:39:09 raspberrypi npm[12441]: Error: The module '/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/@serialport/bindings/build/Release/bindings.node'
- Apr 09 18:39:09 raspberrypi npm[12441]: was compiled against a different Node.js version using
- Apr 09 18:39:09 raspberrypi npm[12441]: NODE_MODULE_VERSION 64. This version of Node.js requires
- Apr 09 18:39:09 raspberrypi npm[12441]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
- Apr 09 18:39:09 raspberrypi npm[12441]: the module (for instance, using `npm rebuild` or `npm install`).
- Apr 09 18:39:09 raspberrypi npm[12441]: at Object.Module._extensions..node (module.js:681:18)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Module.load (module.js:565:32)
- Apr 09 18:39:09 raspberrypi npm[12441]: at tryModuleLoad (module.js:505:12)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Function.Module._load (module.js:497:3)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Module.require (module.js:596:17)
- Apr 09 18:39:09 raspberrypi npm[12441]: at require (internal/module.js:11:18)
- Apr 09 18:39:09 raspberrypi npm[12441]: at bindings (/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/bindings/bindings.js:112:48)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Object.<anonymous> (/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/@serialport/bindings/lib/linux.js:1:98)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Module._compile (module.js:652:30)
- Apr 09 18:39:09 raspberrypi npm[12441]: at Object.Module._extensions..js (module.js:663:10)
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! zigbee2mqtt@1.3.0 start: `node index.js`
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! Exit status 1
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR!
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! Failed at the zigbee2mqtt@1.3.0 start script.
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! This is most likely a problem with the zigbee2mqtt package,
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! not with npm itself.
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! Tell the author that this fails on your system:
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! node index.js
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! You can get their info via:
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! npm owner ls zigbee2mqtt
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! There is likely additional logging output above.
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! System Linux 4.14.98-v7+
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! cwd /opt/zigbee2mqtt
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! node -v v8.11.1
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! npm -v 1.4.21
- Apr 09 18:39:09 raspberrypi npm[12441]: npm ERR! code ELIFECYCLE
- Apr 09 18:39:09 raspberrypi npm[12441]: npm WARN This failure might be due to the use of legacy binary "node"
- Apr 09 18:39:09 raspberrypi npm[12441]: npm WARN For further explanations, please read
- Apr 09 18:39:09 raspberrypi npm[12441]: /usr/share/doc/nodejs/README.Debian
- Apr 09 18:39:09 raspberrypi npm[12441]:
- Apr 09 18:39:09 raspberrypi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
- Apr 09 18:39:09 raspberrypi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
- Apr 09 18:39:09 raspberrypi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
- Apr 09 18:39:10 raspberrypi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
- Apr 09 18:39:10 raspberrypi systemd[1]: Stopped zigbee2mqtt.
- pi@raspberrypi:/opt/zigbee2mqtt $ npm --version
- 6.9.0
- pi@raspberrypi:/opt/zigbee2mqtt $ node --version
- v10.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement