I’ve just started having trouble fixing a non working Electron asset tracker. I’ve got about 8 of these devices up and running with my firmware successfully. Unfortunately I’ve only got access to the one device right now. I suspect the issue though is with the Particle CLI on my Macbook Pro. I Recently updated to Node v10.15.3 and NPM 6.9.0. I tried re-installing the CLI (as directed in some of the errors)
Some commands work fine e.g. particle list
The errors I get:
- When trying to run Particle Doctor:
Please reinstall the CLI again using npm install -g particle-cli
The Doctor didn't complete sucesfully. Cannot read property 'list' of undefined
- When I try to flash a device:
particle flash --serial electron_firmware_1554167697375.bin
Please reinstall the CLI again using npm install -g particle-cli
! PROTIP: Hold the SETUP button on your device until it blinks blue!
? Press ENTER when your device is blinking BLUE
Error writing firmware: Cannot read property 'list' of undefined
Didn’t find any help online. Any ideas?