I updated Node-Red add on (18.0.0) and now Node-red won’t start.
Here is the log output. Any ideas to fix this would be appreciated.
> start
> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
/opt/node_modules/@node-red/util/lib/util.js:772
})
^
SyntaxError: Unexpected token ')'
at internalCompileFunction (node:internal/vm:76:18)
at wrapSafe (node:internal/modules/cjs/loader:1283:20)
at Module._compile (node:internal/modules/cjs/loader:1328:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/opt/node_modules/@node-red/util/index.js:19:14)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
Node.js v18.20.3
[12:35:56] INFO: Service Node-RED exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[12:35:56] INFO: Service NGINX exited with code 256 (by signal 15)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service nodered: stopping
s6-rc: info: service nodered successfully stopped
Home Assistant:
Core 2024.6.2
Supervisor 2024.06.0
Operating System 12.4
Frontend 20240610.0