Same issue as described with Windows CLI…
I am trying to configure WiFi credentials for this Photon. I’ve reflashed the Photon to latest firmware in DFU mode. The Photon is now in listening mode, and invoking “> particle wireless list” the CLI finds the Photon I’m looking to setup credentials with. I reply yes, and I get the same error described herein.
Here’s the CLI output:
! 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.
? Found “Photon-B4J9”. Would you like to perform setup on this one now? Yes
! PROTIP: You will need to know the password for your Wi-Fi network (if any) to proceed.
! PROTIP: You can press ctrl + C to quit setup at any time.
(node:1208) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ReferenceError: when is not defined
- My laptop is actively connected to the WiFi network I want my Photon to connect with.
- The CLI is up to date as well.
This issue either went unresolved or the OP found an alternate process?
I’m specifically looking to not claim this Photon and to set it up and run it outside of the Particle cloud in Manual Mode. Thanks in advance for any assistance