Author Topic: config.json erased every time arduino sketch tries to upload  (Read 2414 times)

alnitak

  • Newbie
  • *
  • Posts: 3
config.json erased every time arduino sketch tries to upload
« on: March 20, 2016, 06:47:34 am »
Greetings all,

I have set up my oak per the wik startup guide. I run the oak config command line tool, it writes the config.json tool, but when I go to upload the example arduino code, i get this arduino upload message:


Error : Selected device is no longer available on this account, please run this tool from the command line to select a device.

I can see the config.json file getting erased right before this message shows up in the arduino IDE 1.6.7

acgt101

  • Newbie
  • *
  • Posts: 3
Re: config.json erased every time arduino sketch tries to upload
« Reply #1 on: March 20, 2016, 06:50:01 am »
i'm haveing the same issue, been poking around for a bit, but haven't found a soulution yet.

elrac

  • Newbie
  • *
  • Posts: 1
Re: config.json erased every time arduino sketch tries to upload
« Reply #2 on: March 20, 2016, 04:40:05 pm »
I had the same issue, turns out I had an old version of the oakCLI app. https://github.com/digistump/OakCLI/releases

alnitak

  • Newbie
  • *
  • Posts: 3
Re: config.json erased every time arduino sketch tries to upload
« Reply #3 on: March 21, 2016, 07:53:16 am »
That worked. Perhaps Digistump should update the wiki get started to reflect this