I am currently trying to upload a YAML file I made in ESPHome to my ESP32 via USB, but the problem I am having is that I cannot upload anything from the ESPHome Add-On. It appears during the attempted uploads the upload progress would be stuck on the compiling. The compiling part takes so long to the point where the upload is terminated. Does anyone know what the issue may be?
The same thing would happen to me when I was running on an older raspberry Pi, it was related to the system running out of RAM.
I only ever found two fixes - first I tried to upload immediately after a system restart when there was most RAM available (or stop other integrations running), which sometimes worked. Then I upgraded to a system with more RAM, and the issue has never come back.
The screenshot you posted doesn’t show any upload activity at all actually, just compiling. The most important information is missing which would be the last lines and maybe a hover message like “process terminated” or something before it “quits”.
What machine is this running on? Maybe you want to monitor your system resources next time you try to compile&upload to see if their is a bottle neck