I cannot build/compile any new or existing esp projects. I always get this type of error:
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- ESPAsyncWebServer-esphome @ 2.1.0
| |-- ESPAsyncTCP-esphome @ 1.2.3
| |-- Hash @ 1.0
| |-- ESP8266WiFi @ 1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- Wire @ 1.0
*** [/data/bathroom-climate/.pioenvs/bathroom-climate/src/esphome/components/api/api_connection.cpp.o] Implicit dependency `/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/pgmspace.h' not found, needed by target `/data/bathroom-climate/.pioenvs/bathroom-climate/src/esphome/components/api/api_connection.cpp.o'.
Error:
*** [/data/bathroom-climate/.pioenvs/bathroom-climate/src/esphome/components/api/api_connection.cpp.o]
Implicit dependency `/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/pgmspace.h'
not found, needed by target
`/data/bathroom-climate/.pioenvs/bathroom-climate/src/esphome/components/api/api_connection.cpp.o'
Is there anything I can do? I already went back to a backup but the Issue remains.