Error compiling for board LOLIN(WEMOS) D1 mini Lite.

Hi everyone,

I am new to arduino and do not have much experience with the program. I have looked everywhere for answers and have tried almost everything.

I have connected my ESP8266 D1 Mini via USB cable to my laptop. The laptop that i am using is MacBook Pro (OS X Yosemite Version 10.10.5).

I keep getting this error when I am testing the blink code on arduino:

Error compiling for board LOLIN(WEMOS) D1 mini Lite.
Arduino: 1.8.13 (Mac OS X), Board: "LOLIN(WEMOS) D1 mini Lite, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 1MB (FS:64KB OTA:~470KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
fork/exec /Users/user/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++: no such file or directory
Error compiling for board LOLIN(WEMOS) D1 mini Lite.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I have re-downloaded the application as I was trying to trouble-shoot another error. I have followed the installation process to the tea where I have
a) https://arduino.esp8266.com/stable/package_esp8266com_index.json -> put this in the preferences tab
b) downloaded esp8266 microgear and esp8266 community
c) added the ch34 drivers

One step which I could not follow was when identifying the appropriate port. There are 3 serial port options which i have attached, to which I am not too sure which one to choose.

Any help would be great.

Thank you in advance!

Screen Shot 2020-07-18 at 12.38.27 pm.png

That error indicates that something went wrong when installing the board package (OS is reporting file not found when it tries to launch that to compile the sketch). I take it uninstalling and reinstalling the board package doesn't work?

Anything on the ESP8266 arduino package forum about this issue?

Assuming that didn't fix it, I'd probably try to see how much is missing (ie, we know /Users/user/Library/Arduino15/packages/esp8266/ is present, since the boards.txt that it's pulling those board names is under that... so open it in whatever Apple calls their file browser and see how close you can get to where that file is supposed to be before you hit a wall - would only take a minute or two to see whether there was no toolchain package there at all, vs it's there but the binaries are missing, or whatever - the extent to which this was useful information is debatable, but it's a 30-60 second time investment - if how to do that doesn't make sense, I wouldn't waste effort on that unless someone with more relevant experience told you to do it... I neither use a mac nor program the xtensa parts using Arduino IDE)