Hello all,
on a Mac, running the command cmd + maj + p, Particle cloud flash results in the error at the end of this message.
I can confirm I am logged to the Particle’s Cloud, and the program can be compiled locally and in the cloud.
Any idea how to fix this ?
Best regards
“Popup: failed to flash”
Targeting version: 0.9.0
Including:
src/test_bis.ino
src/test_bis.cpp
project.properties
attempting to flash firmware to your device casse_couilles
Flash device failed: I didn’t recognize that device name or ID, try opening https://api.particle.io/v1/devices?access_token=xxx
Error: Command failed: /Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/src/cli/bin/darwin/amd64/particle cloud flash casse_couilles --target 0.9.0
Targeting version: 0.9.0
Including:
src/test_bis.ino
src/test_bis.cpp
project.properties
attempting to flash firmware to your device casse_couilles
Flash device failed: I didn’t recognize that device name or ID, try opening https://api.particle.io/v1/devices?access_token=xxx
at makeError (/Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/node_modules/execa/index.js:174:9)
at module.exports.Promise.all.then.arr (/Users/me/.vscode/extensions/particle.particle-vscode-core-1.2.2/node_modules/execa/index.js:278:16)