ESPHome give error while compile

Hi All,

I iinstalled ESPhome on my HA (Debian, docker install) and when I want compile I get errors:

INFO Reading configuration /config/esphome/ITHO.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running:  platformio run -d /config/esphome/fancontrol
Processing fancontrol (board: nodemcuv2; framework: arduino; platform: [email protected])

< SNAP>

Compiling /data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_connection.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_pb2.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
Compiling /data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_pb2_service.cpp.o
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling /data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_server.cpp.o
*** [/data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_pb2.cpp.o] Error 127
*** [/data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
sh: 1: xtensa-lx106-elf-g++: not found
*** [/data/fancontrol/.pioenvs/fancontrol/src/esphome/components/api/api_server.cpp.o] Error 127
========================== [FAILED] Took 5.43 seconds ==========================

Tried to find here how to solve this but didn’t find.
Can someone tell me what to do?

Configuration is empty in settings ESPhome in HA
ESPhome Current version: 1.15.2

Nobody ? :frowning:

I have the same problem did you ever find a fix? This is why I have stayed with smart things and not totally switched to HA because of crap like this that shutters using it and no one has any idea how to fix it.

I moved to HA OS. Solved for me.

on pi 4 image, ended up using file/folder viewer renaming esphome folder after uninstall, reinstalling it and then it worked again…