Skip to main content

This is one of the simple solutions that worked for me:

  1. Plug out the USB connection with the computer;
  2. Hold the flash button on the nodemcu/esp8266;
  3. Plug in the usb connection and quickly release the flash button;
  4. Now try uploading the sketch.

Thank you.