particle-iot/spark-cli

Potentially unhandled rejection during spark setup

Opened this issue · 2 comments

========================================
Setup your account

You are already logged in as nexxy@spark.io
Do you want to switch accounts? (y/N): n
Logged in!  Saving access token: [lol redacted]

----------------------
Finding your core id

I didn't find any cores available via serial
Press and hold the MODE button until your core blinks solid blue

 - Is your core blinking blue?  Then press ENTER - Potentially unhandled rejection [2] No serial port identified (WARNING: non-Error used)

Steps to reproduce:

  • Core plugged in but not in listen mode
  • Run spark setup
  • Observe error output in prompt

I had this issue today, too, but it was because I was powering the Spark from the VIN pin, so the USB cable wasn't actually connected to the Spark. 😞

@tylerhunt, this is actually fixed in V1.0.0 if i am not wrong