-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Description
Attempting to reset keys for a device that was once assigned to my account (but removed).
It outputs the following error:
The Doctor didn't complete successfully. Cannot destructure property 'protocol' of 'undefined' as it is undefined.
in Verbose mode, the additional error:
TypeError: Cannot destructure property 'protocol' of 'undefined' as it is undefined.
at KeysCommand.writeServerPublicKey (/Users/madison/.particle/node_modules/particle-cli/dist/cmd/keys.js:390:5)
at /Users/madison/.particle/node_modules/particle-cli/dist/cmd/doctor.js:328:35
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async CLI.runCommand (/Users/madison/.particle/node_modules/particle-cli/dist/app/cli.js:160:7)
at async CLI.run (/Users/madison/.particle/node_modules/particle-cli/dist/app/cli.js:190:14)
Steps to reproduce
What are the minimal set of steps required to reproduce the issue?
- After running
particle doctor, and following all the flashing steps, the last item asks about resetting keys.
Expected result
Resets keys as normal
Actual result
Error as described above
Environment
Tell us about your setup:
- OS: MacOS 10.15.3
- Node (run
node -v): v10.16.0 - NPM (run
npm -v): v6.14.4 - Particle CLI (run
particle version): v2.7.1
Metadata
Metadata
Assignees
Labels
No labels