Hello, I have the same issue here, My PIO IDE terminal is ok.
I also tried to build the code, it keeps showing the following message forever:
PackageManager: Installing toolchain-xtensa @ ~1.40802.0
I tried many advices from the forum, no one really worked, so I installed the Arduino IDE. When I started installing the ESP8266 board from Boards Manager I realized that my internet connection is poor, because I had to restart many times the download until I complete it.
But since I cannot see the download status and I can’t control the pause/retrieve the download I really can’t see for sure what it is happening. I think that it might be interesting to show the status of the download (%) and also you can start the download from where it stopped…