-
Notifications
You must be signed in to change notification settings - Fork 56
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
Detected CLI crash [SyntaxError: Unexpected end of input] SyntaxError: Unexpected end of input #807
Comments
@vzamfirescu Sorry you're running into this issue.
The Also, what version of Node and npm are you using? You can find that out by running If you haven't done this yet, can you turn on the Crash Reporter in the cli? This is done by running |
Sorry for not specifying the Node and npm version in my initial post:
I tried enabling the crash-reporter before posting an issue on GitHub, but I get the exact same error when running
|
@vzamfirescu we put out a new release ( |
@johnnyman727 Thank you for your update! I updated
|
This happens when you have a syntax error. Can you post the code you're trying deploy? |
I simply copied the example code from here - http://tessel.github.io/t2-start/blinky.html
|
Do have Screenhero (or some similar desktop remoting software)? Would you be willing to do remote desktop sharing session with me? |
Sure - is TeamViewer ok? (the free version, for non-commercial purposes) |
Got it! I'm not going to be available until sometime tomorrow, can you email at [email protected] and we can figure out a good time to do this? |
@rwaldron Moreover, I've tried uninstalling the I've also tried running a different bit of code - a simple |
I managed to finally get it to work by following the stack trace in each of the indicated lines in my initial error. Thus, I ended up opening the Below is the content that I had to add to
After adding the pair of brackets to the
|
@vzamfirescu Are you using the latest version of |
@vzamfirescu sorry, I was travelling and had a unexpected delay from Seattle to Boston that messed my whole day up on Friday, then we had Nodebots Day on Saturday. The issue you discovered is what I expected we'd find. Here was my plan:
I'm sorry this has been so problematic for you. I'm not sure why installing the latest version didn't resolve the issue, as @HipsterBrown indicated that it should have. As far as this:
I'm not sure what this could be. I'd like to ask that you |
@HipsterBrown I double-checked the timestamp on my initial @rwaldron no problem! I know that schedules can get a bit too crowded from time to time :) I somehow managed to fix this CLI crash as well - it appears it had something to do with me running the code from GitBash on Windows. As soon as I switched over to CMD, the code runs perfectly. I will also reinstall
UPDATE: Reinstalled |
Ah, yeah... that makes sense. The windows support is for use with the built-in cmd.exe (see: http://tessel.github.io/t2-start/, under the Windows tab)
@johnnyman727 any thoughts? |
@vzamfirescu thanks for your patience, I will make sure @johnnyman727 takes a look at this later today after our meeting |
@rwaldron @johnnyman727 Thanks a lot for the help, I really appreciate it! :) |
After multiple restarts, Instead of the previous error, I got the following error for the first couple of example code runs:
After getting the above error a couple of times, the module started working out of the blue, without any additional action from my side:
However, I still find it strange that each time I run my code, the following steps always get executed:
|
@vzamfirescu it looks like you're hitting a known issue: tessel/ambient-attx4#69 Closing this particular issue but feel free to follow-up on the one I linked above. The Ambient Module has been having some issues lately but nobody (including myself) has had time to look into it. I'm happy to help advise for anyone that wants to investigate on their own. |
Hello Everyone,
I finally got my Tessel 2 to work on Windows 10 x64, but when I try running the starting project, I get the following error:
I have tried reinstalling t2-cli, but it didn't fix my issue.
Furthermore, as I saw that the default project's
index.js
requires the 'tessel' module, I went on and installed that one as well, even though it was not specified under dependencies inpackage.json
After installing the 'tessel' module, when I run
t2 run index.js
I get some additional lines of text before getting the exact same error stack trace as above:I have to mention that the above error stack trace continues to be log indefinitely, until I interrupt the process.
Before installing the 'tessel' module locally in the project folder, I wouldn't even get the text lines from above - the one with Connected... and the one with Building project...
The text was updated successfully, but these errors were encountered: