# Cache directory not found error

**URL:** <https://discuss.huggingface.co/t/cache-directory-not-found-error/29481>\
**Category:** 🤗Hub\
**Created:** [January 13, 2023, 5:41am UTC](https://discuss.huggingface.co/t/cache-directory-not-found-error/29481 "2023-01-13T05:41:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sl02](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sl02](https://discuss.huggingface.co/u/sl02)\
**Post date:** [January 13, 2023, 5:41am UTC](https://discuss.huggingface.co/t/cache-directory-not-found-error/29481/1 "2023-01-13T05:41:33Z")

</div>

I ran the following command `huggingface-cli scan-cache` in the terminal, but it returned the following message

`Cache directory not found: /Users/home/.cache/huggingface/hub`

This the structure of my home directory

```auto
(base) home@ss-MacBook-Pro huggingface % ls -l
total 0
drwxr-xr-x 103 home staff 3296 Jan 11 22:37 datasets
drwxr-xr-x 4 home staff 128 Nov 5 23:42 modules

```

However, in the [how to cache](https://huggingface.co/docs/huggingface_hub/how-to-cache) it does show `hub` as a folder under `huggingface` parent folder. What did I miss?
