Problem upload code to ESP8266-01 (1M) using PL2303

The funny thing is that in the first screenshot you can see that PIO autodetected COM4 so it must be there, but then avrdude says it’s not there. Very likely a wiring problem, also observed in No text on OLED 128x64 from ATTiny85 - #7 by hans with the exact same adapter type (PL2303).