Unable to compile for esp8266 ** now ESP32 **

You might have installed a different board package. I suggest that you check that.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.