hey all - apologies for the bumps here. i think the issue has been resolved. can you try running particle version
and confirm you are error-free?
the problem appears to be related to the update mechanism - it doesn’t handle unexpected server responses well - otherwise v1.38.0
is ok (iow, downgrading isn’t going to help)
i’ll get it sorted
if you are a Workbench user and you’ve deleted your ~/.particle
directory, you can do the following to get things back in order:
- launch VSCode
- you may be prompted to install dependencies, click “install” and wait for it to complete
- run the
Particle: Update CLI
command and wait for it to complete - in the terminal panel that was launched, type
particle version
and confirm you are runningv1.38.0
EDIT: if you’ve installed the CLI using our installers (docs), you may need to reinstall to get back up and running. the easiest way to do that is:
on windows:
- open a file explorer and navigate to
C:\Users\<you>\AppData\Local\particle
- remove the following directories:
.npm-cache
,node_modules
,node-v5.4.1-windows-x64
- open a powershell terminal and type
particle version
on mac & linux:
- open a terminal
- go to your particle directory
cd ~/.particle
- remove cli dependencies
rm -rf ./node-v5.4.1-darwin-x64 ./.npm-cache ./node_modules
(or linux as appropriate) - run
particle version
in both cases, you should see the “particle: Installing plugins…” message followed after some delay by 1.38.0
.