I have a brand new generic ESP8266 Nodemcu V 1.0 that I don't know about other than his upload rate (9600)
While try to upload a copy-pasted sketch donloaded from Internet (just to see how it works), I get the error messeges that I attach.
On Arduino 1.8.9 I've tried other boards( Nodemecu V 0.9, Lolin, generic ESP8266 module);
I've set upload speed to 9600,
I've tried also an older version(2.4.2) of ESP8266 by ESO8266 community.
I think the problem is that you're trying to do an "Upload Using Programmer" but this is not supported on the ESP8266. You need to do a standard upload. Upload Using Programmer is done either via Sketch > Upload Using Programmer or by holding the Shift key while clicking the "Upload" button. In very old versions of the Arduino IDE, holding the Shift key while clicking the "Upload" button got you verbose output and you might still find some very outdated troubleshooting information that tells you to do this if you're having a problem uploading, but this is no longer true. You now need to select File > Preferences > Show verbose output during: upload if you want verbose output for uploads.