Error: easybotics led-matrix doesn't work

Hello, I've install node-red recently thanks to the following script on my raspberry pi3 b+ :

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

node-red works well but I want to use it to control a led panel and the node " node-red-contrib-easybotics-led-matrix " doesn t work... I've install it with the manage palette.
When I try "easybotics-led-matrix nyan cat" flow, node-red stoped...
Here's the log:

26 Apr 16:47:18 - [info] Starting flows
26 Apr 16:47:18 - [error] [led-matrix:9b09c013.e6c5b] TypeError: Cannot read property 'includes' of undefined
26 Apr 16:47:19 - [info] Started flows
26 Apr 16:47:19 - [error] [text-to-matrix:120aca5d.d35096] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [image-to-matrix:8d7cce34.7eafa] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [image-to-matrix:8d7cce34.7eafa] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [error] [circle:279368fd.bd5fb8] TypeError: Cannot read property 'add' of undefined
26 Apr 16:47:19 - [red] Uncaught Exception:
26 Apr 16:47:19 - TypeError: Cannot read property 'add' of undefined
    at readySend (/home/pi/.node-red/node_modules/node-red-contrib-easybotics-led-matrix/pixel.js:192:17)
    at /home/pi/.node-red/node_modules/node-red-contrib-easybotics-led-matrix/pixel.js:300:6
    at /home/pi/.node-red/node_modules/node-red-contrib-easybotics-led-matrix/pixel.js:248:6
    at handleGIF (/home/pi/.node-red/node_modules/get-pixels/node-pixels.js:74:5)
    at doParse (/home/pi/.node-red/node_modules/get-pixels/node-pixels.js:118:7)
    at Request._callback (/home/pi/.node-red/node_modules/get-pixels/node-pixels.js:177:7)
    at Request.self.callback (/home/pi/.node-red/node_modules/request/request.js:185:22)
    at Request.emit (events.js:314:20)
    at Request.<anonymous> (/home/pi/.node-red/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:314:20)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.

Thank you in advance for your reply

Did you read the read me for the node about installing NR as root?

I ve uninstall rasbpian and restart everything from the beginning, the node is now installed but I don t understand a thing... The pannel display 2 lines of 2 pixels large, one blue and the other is red.
I don t know if the problem came from node-red or if it is something else.
Thank you for your reply :slight_smile:

Why did you reinstall raspbian??

Did you install node-red as root as the nodes directions tell you to?

And when you say you don’t understand a thing, what do you mean?

I have reinstall raspbian to be careful at everything I installed and where everything is.
Thank for your help, I've set node-red as root and follow the tutorials on the acmesystem's website, reboot the raspberry and that works well. Thank you for your time

1 Like

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