Could it be that you’ve got two installations of the CLI (the windows installer one and a manual one)? If so, removing both and installing one should help alleviate that.
I’m getting this same error. I am using the web IDE in Chrome on MacOS 10.12.4 (Sierra). Is the Chrome IDE using my local environment? (that would surprise me because that is presumably the benefit of the web IDE - no need to maintain a local environment).
Locally I already have particle-cli v1.21.0 so it seems the problem is in the environment the web IDE is using (where is that?).
Thanks for any insight - I see the response above but I am not sure how to “remove” the particle-cli associated with the web IDE.