I'm running the Particle Workbench through VSCode under Win10 Pro, and have been having a recurring issue about once every couple of months with the Particle CLI. Basically everything will be working as normal, then for no reason I can see, both the VS Code Extension and the CLI stops being able to flash my devices, either OTA or by USB, with an error that looks similar to this:
I attempted a particle update-cli, and that returned Updating CLI... no plugins to update.
The fix in the past has been to uninstall and re-install the CLI and all the workbench addons. While this has been a usable workaround, it'd be great if there was something I could do that didn't cost me 1/2 an hour out of my day, as it always seems to crop up when there's an urgent bugfix I want to test. I've had to pull the trigger on the workaround again for today's failure, as I really needed to get this code out for testing, but for the next time it happens, if there's anything else I can try that'd be awesome.
Thanks for reaching out, and apologies for the delayed reply, I've been somewhat under the pump here with other matters. I'd be happy to discuss when I can make a bit of time, probably later in the week. I'm Sydney (GMT+10) based, so time zones can be a bit of a challenge, but I'm sure we can align somewhere.
Just wanted to chime in here - i'm still seeing a similar issue.
I'm at our warehouse reflashing a few dozen Photons and at almost exactly 2:00 EST (~22 minutes before this post) today the cli stopped working. It had been working all morning.
! Cannot find module 'pseudomap'
! See C:\Users\tommy\AppData\Local\particle\error.log for more info.
I deleted node_modules and updated manually and it seems to be working now... can I disable the automatic updates to prevent this from happening in the future?