Hi Node Red users,
I have a docker container with node red.
And every time I try to open my browsers developer tools, the container exits with the following error message:
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
15 Jan 15:41:26 - [info] Server now running at http://127.0.0.1:1880/
15 Jan 15:41:26 - [info] Starting flows
15 Jan 15:41:26 - [info] Started flows
15 Jan 15:41:52 - [red] Uncaught Exception:
15 Jan 15:41:52 - TypeError: Cannot read property 'warn' of undefined
at /usr/src/node-red/node_modules/node-red-dashboard/nodes/ui_base.js:93:29
at /usr/src/node-red/node_modules/express/lib/response.js:434:22
at SendStream.onerror (/usr/src/node-red/node_modules/express/lib/response.js:1044:5)
at SendStream.emit (events.js:198:13)
at SendStream.error (/usr/src/node-red/node_modules/send/index.js:270:17)
at SendStream.onStatError (/usr/src/node-red/node_modules/send/index.js:421:12)
at onstat (/usr/src/node-red/node_modules/send/index.js:726:26)
at FSReqWrap.oncomplete (fs.js:153:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-red-docker@1.0.0 start: node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-red-docker@1.0.0 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! /usr/src/node-red/.npm/_logs/2020-01-15T15_41_52_345Z-debug.log
anyone have an idea how to debug that?