(Photon) "Cannot Read Property configureWiFi of Undefined" Error

Hello,

I’m trying to add a wifi to my Photon microcontroller. However, I’m getting the error which is shown below:

How can I fix this error? I started to get this error without doing anything to the machine.

Thank you very much.

How a have you installed/updated CLI?
Try uninstalling it and reinstall via the Windows installer
https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe

1 Like

I would re-install as @ScruffR suggests. You can use the Windows installer or try npm install -g particle-cli