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

[push] Starting app from Flash does not work occasionally #707

Closed
johnnyman727 opened this issue Apr 25, 2016 · 7 comments
Closed

[push] Starting app from Flash does not work occasionally #707

johnnyman727 opened this issue Apr 25, 2016 · 7 comments
Assignees

Comments

@johnnyman727
Copy link
Contributor

johnnyman727 commented Apr 25, 2016

Cross posted from the Forums

To Reproduce (On Windows 8/10):

t2 init
t2 push index.js

Expected Results: Blinking LEDs

Actual Results: No Change in LED state

@rwaldron
Copy link
Contributor

I'll test this on my Windows machine in the AM

@rwaldron rwaldron self-assigned this Apr 26, 2016
@rwaldron
Copy link
Contributor

I tried doing this, but I can't even get t2-cli installed on my Windows 10 right now. I have no idea wtf is going on with Windows

@johnnyman727
Copy link
Contributor Author

@rwaldron how does it fail?

@rwaldron
Copy link
Contributor

TBH, it's too much to explain at the moment and I need to force myself to be done for the day. I was walking through the t2-start experience, using garbage shell cmd.exe and npm install -g t2-cli and it failed to install. I'll see if the logs still exist, but I have no interest in spending hours looking at a garbage windows machine today.

In other news, npm install; npm link from within a clone of the repo appears to work, but that's using Git Bash. Running t2 list shows a Tessel 2 on LAN (it was setup from my MBP), but there is no USB connection to t2 provision over.

Also, I was updated to the preview build that has Bash, so that's pretty cool. I haven't tried it yet, but I'm sure it's lovely.

@johnnyman727 johnnyman727 changed the title [push] Starting app from Flash does not work from Windows [push] Starting app from Flash does not work occasionally Apr 30, 2016
@johnnyman727
Copy link
Contributor Author

It has been suggested here that the best way to fix is by adding a /etc/init.d/tessel-app enable command to the deploy sequence before attempting to /etc/init.d/tessel-app start.

@smrq
Copy link

smrq commented May 21, 2016

Can confirm: I was running into this issue. Just running t2 push index.js alone wasn't causing the app to run on boot. After doing the following manually, the app now runs on boot.

λ t2 root

...

root@tessel:~# /etc/init.d/tessel-app enable
root@tessel:~# /etc/init.d/tessel-app start

@johnnyman727
Copy link
Contributor Author

#752 should fix this.

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

3 participants