There comes an exception if the global variables are not defined and we try to launch the Node red and in a node the global variables are being read.
28 Sep 12:53:23 - [error] TypeError: Cannot read properties of undefined (reading 'indexOf')
at MQTTBrokerNode.node.setOptions (C:\Users\###\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\nodes\core\network\10-mqtt.js:590:33)
at C:\Users\###\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\nodes\core\network\10-mqtt.js:423:37
at _callback (C:\Users\###\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\nodes\core\network\10-mqtt.js:834:62)
at C:\Users\###\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\nodes\core\network\10-mqtt.js:869:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)`