If you’ve got ESPHome installed on an Apple Silicon Mac via Homebrew, you might have noticed a compilation error complaining about littlefs missing on all projects.
I haven’t dug too deeply into this. I suspect it’s a Homebrew dependency issue, but the solution was to go to the following directory (note this might change depending on the version of ESPHome you have installed):
cd /opt/homebrew/Cellar/esphome/2026.3.0/libexec/bin
Then run the following commands:
./python3 -m pip install littlefs-python
./python3 -m pip install fatfs-ng
Until the homebrew dependency (if that is indeed the issue) is resolved, you’ll need to do this each time ESPHome gets updated via homebrew.
Update: the issue seems to have now been solved by the latest ESPHome package now up on Homebrew (I tested with version 2026.4.1)
THANKS! This set my path to solve the general case.
See my esphome issue for a general workaround
https://github.com/esphome/esphome/issues/15619