Arduino can't find my library

Mac OS
Arduino Version: 2.3.3-nightly-20240328

Arduino > Settings: /Users/user/Robot/programming
Path for ESPAsyncWebServer: /Users/user/Robot/programming/libraries/ESPAsyncWebServer/src

/Users/user/Robot/programming/ESP32AsyncWebServer8_1/ESP32AsyncWebServer8_1.ino:4:10: fatal error: ESPAsyncWebServer: No such file or directory
 #include <ESPAsyncWebServer>

Why is Arduino not finding my ESPAsyncWebServer library?

Screenshot 2024-03-28 at 11.02.07 AM

Hi @fester225. The reason for the error is the filename in the #include directive is wrong. Change this line of your sketch:

to this:

#include <ESPAsyncWebServer.h>

then try compiling the sketch again. Hopefully this time there won't be any errors.

That's embarrassing. Thank you!

You are welcome. I'm glad if I was able to be of assistance.

Regards,
Per