Wifi setup over CLI

Hi!

I can’t seem to setup wifi over the CLI.
IT jumps immediately from:

> I have detected a Photon connected via USB.
? Would you like to continue with this one? Yes
! The Photon supports secure Wi-Fi setup. We'll try that first.

to:

    ! PROTIP: Wireless setup of Photons works like a wizard!
    ! PROTIP: We will automagically change the Wi-Fi network to which your computer is connected.
    ! PROTIP: You will lose your connection to the internet periodically.

> No nearby Photons detected. Try the `particle help` command for more information.

Any idea why?

I haven’t personally tried to set up wifi that way. If you have it connected to your computer with USB, try using particle serial wifi. It will do all of the setup over serial instead of wifi.