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

Cannot read property Error #18

Closed
lopemac opened this issue Mar 28, 2016 · 1 comment · Fixed by #19
Closed

Cannot read property Error #18

lopemac opened this issue Mar 28, 2016 · 1 comment · Fixed by #19

Comments

@lopemac
Copy link

lopemac commented Mar 28, 2016

With the OakCLI 1.0.0 I get this
Logging in to Particle...
No devices available.
Press enter to exit.
With OakCLI 1.0.2 I get this
Logging in to Particle...
nexe.js:43520
if(err.code !== undefined){
^
TypeError: Cannot read property 'code' of null
at nexe.js:43520:13
at Spark.emitAndCallback (nexe.js:31377:42)
at null. (nexe.js:31505:10)
at Request.self.callback (nexe.js:28860:22)
at Request.emit (events.js:110:17)
at Request. (nexe.js:29697:10)
at Request.emit (events.js:129:20)
at IncomingMessage. (nexe.js:29624:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

I really want to use my oaks. Why am I getting these errors? I'm on OSX 10.11.4 and my oak has a local IP address.

@thunderace
Copy link

For the first one (No devices available.) please see http://digistump.com/wiki/oak/tutorials/connecting.
For the second one, it's a bug, i make a pull request to fix it.

thunderace pushed a commit to thunderace/OakCLI that referenced this issue Mar 29, 2016
digistump pushed a commit that referenced this issue Apr 2, 2016
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

Successfully merging a pull request may close this issue.

2 participants