@m_m,
OK, figured it out.
Turns out that on my system two of the targets you show as hidden were not.
Here are the steps I was following:
delete the following files and directories if available:
.npm-cache
autoupdate
error.log
./node-v8.15.0-<os>-<cpu>
(e.g. node-v8.15.0-windows-x64, node-v8.15.0-darwin-x64, node-v8.15.0-linux-x64)
./node_modules
but, on my system the ./node-v8.15.0 … and the ./node_modules were not hidden and, if I omitted the “.”, I was able to delete them and then the particle update-cli command worked perfectly.
So, to summarize:
- Followed your advice and deleted the “global” node from my system
- Performed the steps to manually clean the CLI with the exception listed above.
- Used the standard install for the Particle CLI, again, as you suggested.
All is working now - and no “sudo”!
Thank you
Chip