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

preferences fails write when .tessel folder doesn't exist #820

Closed
jandrieu opened this issue Aug 19, 2016 · 1 comment
Closed

preferences fails write when .tessel folder doesn't exist #820

jandrieu opened this issue Aug 19, 2016 · 1 comment

Comments

@jandrieu
Copy link
Contributor

I ran into this trying to get the t2 working on WIndows 10, node 4.3, following this gist https://gist.github.com/tcr/992978a5dbe5bff2e18f495c5c0973c3

Unfortunately, the preferences file handling fails if there is no ~/.tessel folder.

C:\Users\Joe\Documents\Software\Tessel>t2 list
INFO Searching for nearby Tessels...
ERR! Detected CLI crash { [Error: LIBUSB_TRANSFER_STALL] errno: 4 } Error: LIBUSB_TRANSFER_STALL
ERR!     at Error (native)
undefined
Submit Crash Report to help Tessel Developers improve the CLI ?
    If yes(y), subsequent crashes will be submitted automatically. Yes
ERR! Error writing preference crash.reporter.prompt false
ERR! Detected CLI crash { [Error: ENOENT: no such file or directory, open 'C:\Users\Joe\.tessel\preferences.json']
ERR!   errno: -4058,
ERR!   code: 'ENOENT',
ERR!   syscall: 'open',
ERR!   path: 'C:\\Users\\Joe\\.tessel\\preferences.json' } Error: ENOENT: no such file or directory, open 'C:\Users\Joe\.tessel\preferences.json'
ERR!     at Error (native)
undefined
Submit Crash Report to help Tessel Developers improve the CLI ?
@rwaldron
Copy link
Contributor

Closed by #821

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

2 participants