Compiling issues wemos d1 mini

Good night,
I will appreciate a lot if anyone can help me with the following problem that i have, I have problems trying to install my program to a wemos d1 mini in esphome, every time that I try to install it I get the following message, this problem is while esphome is compiling.

Error: Could not find ‘eagle.flash.4m.ld’ LD script in LDPATH ‘/data/screen01/.pioenvs/screen01 /data/screen01/.pioenvs/screen01/ld /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/lib /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/ld /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/lib/NONOSDK22x_190703’
Error: Could not find ‘eagle.flash.4m.ld’ LD script in LDPATH ‘/data/screen01/.pioenvs/screen01 /data/screen01/.pioenvs/screen01/ld /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/lib /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/ld /data/cache/platformio/packages/framework-arduinoespressif8266/tools/sdk/lib/NONOSDK22x_190703’
========================== [FAILED] Took 7.96 seconds ==========================

Thank you in advance

Please post your ESPHome YAML code here. It will greatly enable others to assist you. Be certain to format it correctly, as well.

Also, what version of esphome do you have?

I didn’t have the oportunity to make a code but I have the following

The version that I have is the 2022.10.2