“littlefs” Missing When Compiling with ESPHome

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.

One Reply to ““littlefs” Missing When Compiling with ESPHome”

  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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.