Problem with setting up photon on CLI

I am attempting to set up a number of photons on the Particle CLI and I am running into some trouble. I seem to keep getting this error…

- Attempting to connect to Photon-NSY9CY...Potentially unhandled rejection [3] {"err":{"errno":"ENOENT","code":"ENOENT","syscall":"spawn netsh","path":"netsh","spawnargs":["wlan","show","interfaces"]},"stderr":"","stdout":"","code":null} (WARNING: non-Error used)
\ Attempting to connect to Photon-NSY9CY...

The CLI will continue to “Attempting to connect to Photon” until I Crtl+C to stop it.

Any ideas about what may be going on would be helpful. I have also tried going through the setup process on setup.particle.io and that doesn’t seem to be working for me as well.

@ParticleD, or @mstanley are you able to assist?

What computer are you running this on?
Does that computer have built-in WiFi?

I seem to have fixed the problem by moving to a more “accessible” wifi area. Didn’t realize the area I am in has poor signal strength. Thanks for offering help though!

2 Likes