I had the same issue on a Windows 10 pc and found a way to fix it without having to install additional software (well you’ll have to install and uninstall something).
-
Install Node.js
-
Download the Windows Particle CLI Installer
-
Run the CLI Installer (preferably as administrator)
-
Uninstall Node.js
-
Run the CLI Installer again
-
Test
particle setup
in the command prompt, it should be working.
Not sure why it is working, but it definitely solved my issue and now I can happily configure my Photon board. I hope it helps someone with the same issue.