Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Error when running ping command #105

Closed
vineet-sinha opened this issue Sep 7, 2017 · 8 comments
Closed

Error when running ping command #105

vineet-sinha opened this issue Sep 7, 2017 · 8 comments

Comments

@vineet-sinha
Copy link

Lines https://github.com/matrix-io/matrix-cli/blob/master/lib/app.js#L163-L164 need to only run after a conditional check on err.

@hpsaturn
Copy link

hpsaturn commented Oct 3, 2017

Maybe is the same error like this:

matrix ping


Matrix CLI Error: [TypeError: Cannot read property 'message' of null] TypeError: Cannot read property 'message' of null
    at /usr/local/lib/node_modules/matrix-cli/lib/app.js:163:28
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:726:13
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:52:16
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:269:32
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:44:16
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:723:17
    at /usr/local/lib/node_modules/matrix-cli/node_modules/async/lib/async.js:167:37
    at Socket.<anonymous> (/usr/local/lib/node_modules/matrix-cli/node_modules/matrix-node-sdk/utils/Socket.js:28:13)
    at Socket.Emitter.emit (/usr/local/lib/node_modules/matrix-cli/node_modules/component-emitter/index.js:133:20)
    at Socket.onClose (/usr/local/lib/node_modules/matrix-cli/node_modules/engine.io-client/lib/socket.js:715:10)

@gordinh
Copy link
Collaborator

gordinh commented Oct 4, 2017

Yes it's the same. Thanks @hpsaturn and @vineet-sinha

@chbardel
Copy link

I get the same error! How can I workaround this?

@gordinh
Copy link
Collaborator

gordinh commented Oct 13, 2017

@chbardel for now you can update your CLI and work in dev branch.

@gordinh gordinh closed this as completed Oct 13, 2017
@LexiconCode
Copy link

@gordinh
Could you post the commands to switch and update to dev branch?

@gordinh
Copy link
Collaborator

gordinh commented Mar 12, 2018

git checkout dev and you can do a git pull to update

@LexiconCode
Copy link

LexiconCode commented Mar 12, 2018

@gordinh

I've tried following the documentation here regarding upgrading. I've checked out the dev and master branch to which it seems to be up-to-date.

Unfortunately MATRIX OS reports the following..

"v0.17.1-22211c5
MATRIX OS can be upgraded. 0.17.0 available! 0.17.1"

Yet even that is inaccurate 1.7.2 seems to be available.
https://github.com/matrix-io/matrix-cli/releases/tag/v1.7.2

@gordinh
Copy link
Collaborator

gordinh commented Mar 12, 2018

Sorry, this is regarding the MATRIX OS system. But, if the upgrade isn't working, you can also dowload the specif release following this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants