In ubuntu snappy OS I have installed the node-red but while starting I'm getting exception like:
Oct 14 10:12:23 admin node-red.node-red[3741]: Welcome to Node-RED
Oct 14 10:12:23 admin node-red.node-red[3741]: ===================
Oct 14 10:12:23 admin node-red.node-red[3741]: 14 Oct 10:12:23 - [info] Node-RED version: v1.0.1
Oct 14 10:12:23 admin node-red.node-red[3741]: 14 Oct 10:12:23 - [info] Node.js version: v10.16.3
Oct 14 10:12:23 admin node-red.node-red[3741]: 14 Oct 10:12:23 - [info] Linux 4.4.0-164-generic x64 LE
Oct 14 10:12:24 admin node-red.node-red[3741]: 14 Oct 10:12:24 - [info] Loading palette nodes
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Settings file : /root/snap/node-red/503/settings.js
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Context store : 'default' [module=memory]
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] User directory : /root/snap/node-red/503
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [warn] Projects disabled : editorTheme.projects.enabled=false
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Flows file : /root/snap/node-red/503/flows.json
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Server now running at http://127.0.0.1:1880/
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [warn]
Oct 14 10:12:28 admin node-red.node-red[3741]: ---------------------------------------------------------------------
Oct 14 10:12:28 admin node-red.node-red[3741]: Your flow credentials file is encrypted using a system-generated key.
Oct 14 10:12:28 admin node-red.node-red[3741]: If the system-generated key is lost for any reason, your credentials
Oct 14 10:12:28 admin node-red.node-red[3741]: file will not be recoverable, you will have to delete it and re-enter
Oct 14 10:12:28 admin node-red.node-red[3741]: your credentials.
Oct 14 10:12:28 admin node-red.node-red[3741]: You should set your own key using the 'credentialSecret' option in
Oct 14 10:12:28 admin node-red.node-red[3741]: your settings file. Node-RED will then re-encrypt your credentials
Oct 14 10:12:28 admin node-red.node-red[3741]: file using your chosen key the next time you deploy a change.
Oct 14 10:12:28 admin node-red.node-red[3741]: ---------------------------------------------------------------------
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Starting flows
Oct 14 10:12:28 admin node-red.node-red[3741]: 14 Oct 10:12:28 - [info] Started flows
Oct 14 10:12:29 admin node-red.node-red[3741]: 14 Oct 10:12:29 - [info] [mqtt-broker:5bb44be3.f0b5bc] Connected to broker: tcp://test.testhub.in:1883
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 0
Oct 14 10:12:29 admin node-red.node-red[3741]: 14 Oct 10:12:29 - [red] Uncaught Exception:
Oct 14 10:12:29 admin node-red.node-red[3741]: 14 Oct 10:12:29 - Error: spawn /root/snap/node-red/503/node_modules/node-red-contrib-lwm2m/dist/binding/node-v64-linux-x64/wakatiwaiclient ENOENT
Oct 14 10:12:29 admin node-red.node-red[3741]: at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
Oct 14 10:12:29 admin node-red.node-red[3741]: at onErrorNT (internal/child_process.js:415:16)
Oct 14 10:12:29 admin node-red.node-red[3741]: at process._tickCallback (internal/process/next_tick.js:63:19)
Oct 14 10:12:29 admin systemd[1]: snap.node-red.node-red.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 10:12:29 admin systemd[1]: snap.node-red.node-red.service: Unit entered failed state.
Oct 14 10:12:29 admin systemd[1]: snap.node-red.node-red.service: Failed with result 'exit-code'.
Oct 14 10:12:29 admin systemd[1]: snap.node-red.node-red.service: Service hold-off time over, scheduling restart.
Oct 14 10:12:29 admin systemd[1]: Stopped Service for snap application node-red.node-red.
Oct 14 10:12:29 admin systemd[1]: Started Service for snap application node-red.node-red.
Oct 14 10:12:29 admin node-red.node-red[3844]: NOW STARTING NODE-RED : /snap/node-red/503/bin/node-red -u /root/snap/node-red/503 on port 1880
Oct 14 10:12:31 admin node-red.node-red[3844]: 14 Oct 10:12:31 - [info]
Oct 14 10:12:31 admin node-red.node-red[3844]: Welcome to Node-RED
Oct 14 10:12:31 admin node-red.node-red[3844]: ===================
Oct 14 10:12:31 admin node-red.node-red[3844]: 14 Oct 10:12:31 - [info] Node-RED version: v1.0.1
Oct 14 10:12:31 admin node-red.node-red[3844]: 14 Oct 10:12:31 - [info] Node.js version: v10.16.3
Oct 14 10:12:31 admin node-red.node-red[3844]: 14 Oct 10:12:31 - [info] Linux 4.4.0-164-generic x64 LE
Oct 14 10:12:32 admin node-red.node-red[3844]: 14 Oct 10:12:32 - [info] Loading palette nodes