Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have the same problem of @vzamfirescu@johnnyman727 Thank you for your update! #1541

Closed
erickga opened this issue Oct 3, 2018 · 1 comment

Comments

@erickga
Copy link

erickga commented Oct 3, 2018

I´ve tried rm-r t2-cli, reinstalling it and still the same error -

It happened after I ctr+c in the middle of a t2 run index.js and after that I starte having this issue. How can I resolve it ??

I updated t2-cli and tried running t2 run index.js again, but I get the same error:

$ t2 version
INFO Looking for your Tessel...
INFO Connected to beast.
INFO Tessel [beast] CLI version: 0.0.24
INFO Tessel [beast] Firmware version: 0.0.13
INFO Tessel [beast] Node version: 4.4.3
ERR! Detected CLI crash [SyntaxError: Unexpected end of input] SyntaxError: Unexpected end of input
ERR!     at Object.parse (native)
ERR!     at C:\Users\<MY_USER>\AppData\Roaming\npm\node_modules\t2-cli\lib\preferences.js:57:26
ERR!     at C:\Users\<MY_USER>\AppData\Roaming\npm\node_modules\t2-cli\node_modules\fs-extra\node_modules\graceful-fs\graceful-fs.js:78:16
ERR!     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Originally posted by @vzamfirescu in #807 (comment)

@erickga
Copy link
Author

erickga commented Oct 3, 2018

I managed to solved it!

I uninstalled NODE, reinstalled 6.10.3LTS and resintalled CLI and it worked

@erickga erickga closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant