Hi, we have begun to notice an issue with the latest release (1.6.0) of the Cloud agent on Macbooks. The issue happens when uploading any code to a ESP8266 board via Arduino Cloud.
After some investigation, we saw that, when the Mac updates the create agent to version 1.6.0 (the agent was updated automatically on student computers), it leaves the existing application in the applications folder. Students can still go to Arduino Cloud, open a sketch, and select the board. So, initially it looks like the agent is running and working correctly. We can also see that it knows that the board is connected if a student plugs it into their computer.
However when the student attempts to upload their code to the device we get the following error:
We navigated to the "esptool" folder in the .arduino-create directory, but found that this folder is empty (it was empty on multiple student computers, all of which ran MacOS). After attempting to place the files it was looking for in the directory manually, it seemed as if the files were getting deleted when the agent attempts to flash the attached device.
We were able to confirm that the Mac computers we looked at were able to flash to the device and upload the new code by first quitting the agent that was running, then installing the previous version of the agent (version 1.5.0) and then running it. It then allowed us to upload the new code successfully. Going back to version 1.5.0 worked as long as the device didn't restart and the browser wasn't refreshed as a restart or browser refresh caused it to download and use version 1.6.0 again and the issue would happen again.
Here is a screenshot of how the error was displayed in the console:
Next, connect an Arduino board to the computer and attempt to upload any code to it. The error should show then. The board we used with students is the ESP8266: NodeMCU ESP8266 — Arduino Online Shop
Please note that this error only seems to be affecting Mac computers. Uploading code using a Windows computer seems to work fine.