I am getting this message when I boot node-red

7 Sep 06:45:40 - [info] Flows file     : /home/pi/.node-red/flows_BedPi.json
7 Sep 06:45:41 - [info] Server now running at http://127.0.0.1:1880/
7 Sep 06:45:45 - [info] Starting flows
While constructing LEDNode widget: TypeError: Cannot read property 'config' of null
    at addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:72:39)
    at Object.addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:136:48)
    at new LEDNode (/home/pi/.node-red/node_modules/node-red-contrib-ui-led/led.js:41:28)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:193:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:345:33)
    at tryCatchReject (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:845:30)
    at runContinuation1 (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:804:4)
    at Fulfilled.when (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:592:4)
    at Pending.run (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:483:13)
While constructing LEDNode widget: TypeError: Cannot read property 'config' of null
    at addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:72:39)
    at Object.addWidget (/home/pi/.node-red/node_modules/node-red-dashboard/index.js:136:48)
    at new LEDNode (/home/pi/.node-red/node_modules/node-red-contrib-ui-led/led.js:41:28)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:193:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:345:33)
    at tryCatchReject (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:845:30)
    at runContinuation1 (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:804:4)
    at Fulfilled.when (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:592:4)
    at Pending.run (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:483:13)
7 Sep 06:45:51 - [info] Started flows
7 Sep 06:45:52 - [info] [mqtt-broker:MQTT host] Connected to broker: mqtt://192.168.0.99:1883
7 Sep 06:45:53 - [warn] [vcgencmd:Check Temp] Previous vcgencmd command hasn't finished yet
7 Sep 06:45:54 - [warn] [vcgencmd:Other stuff] Previous vcgencmd command hasn't finished yet
7 Sep 06:45:54 - [warn] [function:Modem/Uplink status] Modem value 1

A stab in the dark would be that you have an LED node that has an empty configuration setting somewhere. Sound plausible?

1 Like

Yeah, that does seem obvious.

But if there is a LED node which is mis-configured, wouldn't it complain when I deploy?

Depends on the node in question. Anyhow, you know where to start looking. :thinking:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.