Node red errors

Node red is not responding all the times.
Sometimes I get the following errors:
I m trying to locate this log file : /root/.npm/_logs/2021-05-05T10_22_56_028Z-debug.log but it does exist on my home assistance.

Pl help

5 May 12:15:23 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 May 12:15:23 - [info] [server:Home Assistant] Connected to http://supervisor/core
5 May 12:22:55 - [red] Uncaught Exception:
5 May 12:22:55 - Error: Invalid property expression: zero-length
at createError (/opt/node_modules/@node-red/util/lib/util.js:180:13)
at normalisePropertyExpression (/opt/node_modules/@node-red/util/lib/util.js:208:15)
at Object.setObjectProperty (/opt/node_modules/@node-red/util/lib/util.js:453:24)
at WaitUntilNode.setContextValue (/opt/node_modules/node-red-contrib-home-assistant-websocket/lib/base-node.js:335:31)
at Timeout._onTimeout (/opt/node_modules/node-red-contrib-home-assistant-websocket/nodes/wait-until/wait-until.js:319:26)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
npm ERR! errno 1
npm ERR! addon-node-red@ start: node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the addon-node-red@ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-05-05T10_22_56_028Z-debug.log
[12:22:56] INFO: Starting Node-RED…

addon-node-red@ start /opt
node $NODE_OPTIONS node_modules/node-red/red.js “–settings” “/etc/node-red/config.js”
5 May 12:23:04 - [info]
Welcome to Node-RED
5 May 12:23:04 - [info] Node-RED version: v1.3.3
5 May 12:23:04 - [info] Node.js version: v14.16.1