Unable to compile sketches for any ESP8266

I'm just getting started with the ESP8266. When I try to verify any example sketch for the generic module I get this error:

"Error resolving FQBN: getting

Error compiling for board Generic ESP8266 Module."

I tried searching this error and I couldn't find anyone else having anything quite like it. I also have a HUZZAH feather that I wasn't planning to use for my project. But I plugged it in and when I try to verify, I get the same error.

I have the ESP8266 Community installed. I selected the Generic ESP8266 Module as the board when I was trying to use the little module, and when I tested the feather I selected the feather as the board. I have both these URLs in the additional boards URLs:

http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://github.com/esp8266/Arduino/releases/download/2.3.0/package_esp8266com_index.json

I don't know what else to do.

Is the Arduino IDE the latest version? (1.8.12)

Please check this:

And this:

(Unable to compile for ESP8266 [RESOLVED])
https://forum.arduino.cc/index.php?topic=615297.0

I re-installed the Arduino IDE and whatever was wrong seemed to be fixed now.

Nice, please add [Solved] to the title, thanks!