Wemos D1 R1 Wifi SCK led error

Hello! The SCK LED on the Wemos D1 R1 Wifi card is on and while uploading code it times out saying "Connecting..." and cannot connect.

Try a different and shorter cable.

IDE version? Which OS, Windows or what?
Have you already installed the USB/Serial CH340 drivers? And does the serial port come out when plugging the cable?
What is the compilation full output?
Do you have something connected to the board (if so, disconnect everything before trying again)?
Already tried with another WeMos board, if any? Tried with another cable?