An error occurred while uploading the sketch.

board wemmos d1 r1
the board was working just fine and for no reason
when i try to upload a sketch this error ocures.
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Placa:"WeMos D1 R1, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Archiving built core (caching) in: C:\Users\migue\AppData\Local\Temp\arduino_cache_475616\core\core_esp8266_esp8266_d1_CpuFrequency_80,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_a2f4ecf09cad4f35b9a1d504fdc62c4d.a
O rascunho usa 246311 bytes (23%) do espaço de armazenamento do programa. O máximo é 1044464 bytes.
Variáveis globais usam 32260 bytes (39%) de memória dinâmica, restando 49660 bytes para variáveis locais. O maximo é 81920 bytes.

warning: espcomm_sync failed
Ocorreu um erro a enviar o rascunho
error: espcomm_open failed
error: espcomm_upload_mem failed

the error appeared after attempting to connect the Arduino to the intellij ide, I already reinstalled the arduino ide already reinstalled the software of the usb controller and nothing need help !!!