Fatal error: ESP8266WiFi.h: No such file or directory Adafruit ESP32 Feather

Find the solution in this thread link

ESP32 boards don’t work with ESP8266WiFi.h, you have to use Wifi.h instead.