# Hugo build fails without clearing cache

**URL:** <https://answers.netlify.com/t/hugo-build-fails-without-clearing-cache/31809>\
**Category:** Support\
**Tags:** deployment, building, hugo\
**Created:** [February 4, 2021, 2:38pm UTC](https://answers.netlify.com/t/hugo-build-fails-without-clearing-cache/31809 "2021-02-04T14:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![serhat](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/serhat/32/23940_2.png) [@serhat](https://answers.netlify.com/u/serhat)\
**Post date:** [February 5, 2021, 12:35pm UTC](https://answers.netlify.com/t/hugo-build-fails-without-clearing-cache/31809/2 "2021-02-05T12:35:20Z")

</div>

Btw I read the below guide but none of the options below apply to my site since I have a **HUGO**  
builder therefore I don’t have any `node_modules` nor `package.json` nor `yarn.lock`.

> [@\[Support Guide\] My site deploy fails unless Netlify's build cache is cleared](https://answers.netlify.com/t/support-guide-my-site-deploy-fails-unless-netlifys-build-cache-is-cleared/3035):
>
> Last reviewed by Netlify Support - August, 2023 Netlify builds are highly configurable, but you may encounter some common build problem scenarios, which we describe in depth in these two articles: [[Support Guide] Debugging Netlify site builds](https://answers.netlify.com/t/support-guide-debugging-netlify-site-builds/142)[[Support Guide] Frequently encountered problems during builds](https://answers.netlify.com/t/support-guide-frequently-encountered-problems-during-builds/213) However, there is an edge case that isn’t mentioned that deserves special treatment: Your build fails every time, UNLESS you manually click “Trigger deploy” \> “Clear cache and deploy site” o…

---

_[View the full topic](https://answers.netlify.com/t/hugo-build-fails-without-clearing-cache/31809)._
