Thank you very much! This information is very helpful.
I also found a workaround for this issue. You can upload the sketch directly from a terminal (such as CMD on Windows). Here's how:
- Copy the command shown in the error message into a terminal window.
- Correct the filenames in the command (make sure to include the ".ino" extension).
- Hit Enter, and the sketch will be uploaded directly using esptool.
Although this method is less convenient than uploading from the editor, it works reliably and is a good alternative.
tHO