Esp8266 ESP8266mDNS.h not found


I’m using an adafruit huzzah esp8266 with ESP Async WebServer and webthing-arduino.

When compiling the project I get the following error:

.pio/libdeps/huzzah/webthing-arduino/ESPWebThingAdapter.h:20:10: fatal error: ESP8266mDNS.h: No such file or directory

yet the library exists here:


I added lib_ldf_mode = deep but didn’t help. But if I include the full path of ESP8266mDNS, the projects compiles fine.

Is there a way to make it work without a hardcoded path?


platform = espressif8266
board = huzzah
framework = arduino
lib_ldf_mode = deep
lib_deps = 
	me-no-dev/ESP Async WebServer@^1.2.3


With with deep+ the same?

Worked like a charm!
Thank you @maxgerhardt