Hi, I want to ask, how to solve the problem step by step and in detail, when i do matrix ping, the result in my ubuntu terminal that i run in windows 10 is:
Matrix CLI Error: TypeError: Cannot read property ‘message’ of null
at /usr/lib/node_modules/matrix-cli/lib/app.js:163:29
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:726:13
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:52:16
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:269:32
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:44:16
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:723:17
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:167:37
at Socket. (/usr/lib/node_modules/matrix-cli/node_modules/matrix-node-sdk/utils/Socket.js:28:13)
at Socket.Emitter.emit (/usr/lib/node_modules/matrix-cli/node_modules/component-emitter/index.js:133:20)
at Socket.onClose (/usr/lib/node_modules/matrix-cli/node_modules/engine.io-client/lib/socket.js:715:10) TypeError: Cannot read property ‘message’ of null
at /usr/lib/node_modules/matrix-cli/lib/app.js:163:29
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:726:13
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:52:16
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:269:32
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:44:16
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:723:17
at /usr/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:167:37
at Socket. (/usr/lib/node_modules/matrix-cli/node_modules/matrix-node-sdk/utils/Socket.js:28:13)
at Socket.Emitter.emit (/usr/lib/node_modules/matrix-cli/node_modules/component-emitter/index.js:133:20)
at Socket.onClose (/usr/lib/node_modules/matrix-cli/node_modules/engine.io-client/lib/socket.js:715:10)
i also found the similar problem in this link;
but it’s not clear enough for me since i am very newbie using this device and do not know much about programming. Thanks
Hi - I having the exact same error.
Just received my creator and voice boards.
Did the “Installation & Registration” guide.
On pi, running 0.17.0, and get a “ready”
On Win 10 running matrix cli 1.7.0.
All on rc. To me it looks like an exception in the code.
I am trying to figure out how it all fit together.
Any hel appreciated. BR Kims
Same here. Installed Lite. Got the sensorTest app to install, start, and stop, but the Matrix just keeps blinking its blue light like its not really doing anything.
When I ping it, I get the “Matrix CLI Error: TypeError: Cannot read property ‘message’ of null” error.
The device continues to say offline on the app and OK=no in the “matrix list devices” table. It makes me think that Bluetooth isn’t working or something.
I decided to try with HAL https://matrix-io.github.io/matrix-documentation/matrix-hal/getting-started/installation/ and the demo worked. After that I came back to matrix-os and launch testApp then it worked for me. Matrix ping now gave me flash leds so that seemed to work too, except that I still got “Matrix CLI Error: TypeError: Cannot read property ‘message’ of null” message. At least now I know that there is no problem with the hardware.
I got it semi working as you after upgrading some packages. Not sure if that is what fixed it, but it definitely didn’t work before and then it did after - but still gave me the “null” message on ping.
Out of frustration of not getting anywhere, I made a tutorial to at least get as far as I got:
Yes. I got my nodejs a little out of whack, but after doing a few updates and reboots, it sorted itself out.
I still get the errors on ping, though, that the original poster had:
C:\Users\Sean>matrix ping
Matrix CLI Error: TypeError: Cannot read property ‘message’ of null
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\lib\app.js:163:29
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\node_modules\async\lib\async.js:726:13
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\node_modules\async\lib\async.js:52:16
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\node_modules\async\lib\async.js:269:32
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\node_modules\async\lib\async.js:44:16
at C:\Users\Sean\AppData\Roaming\npm\node_modules\matrix-cli\node_modules\async\lib\async.js:723:17