# Bolt Build failed due to a user error: Build script returned non-zero exit code: 2

**URL:** <https://answers.netlify.com/t/bolt-build-failed-due-to-a-user-error-build-script-returned-non-zero-exit-code-2/153741>\
**Category:** Support\
**Tags:** deployment\
**Created:** [July 7, 2025, 6:40pm UTC](https://answers.netlify.com/t/bolt-build-failed-due-to-a-user-error-build-script-returned-non-zero-exit-code-2/153741 "2025-07-07T18:40:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [July 7, 2025, 6:42pm UTC](https://answers.netlify.com/t/bolt-build-failed-due-to-a-user-error-build-script-returned-non-zero-exit-code-2/153741/2 "2025-07-07T18:42:21Z")

</div>

It’s very likely that you’d have to reach out to Bolt for help if Bolt has made this project. But

> [@keamTBL](#):
>
> 1:06:10 PM: ./app/contact/page.tsx  
> 1:06:10 PM: Module not found: Can’t resolve ‘lucide-react/icons/chevron-right’

it says that it can’t find a file. Not sure if Bolt was supposed to add that file or you were or maybe:

> [@\[Support Guide\] Netlify app builds locally but fails on deploy (case sensitivity)](https://answers.netlify.com/t/10754):
>
> Last updated by Netlify Support: July 2025 Are you struggling to understand why your project runs locally but errors out with missing files or logs that point toward issues with case when you try and build on Netlify? You are not alone. Often, case (as in: UPPERCASE or lowercase letters in filenames or paths) can cause problems. Here is a guide to understanding how case sensitivity issues present themselves, why they arise, and how you can fix them! 1. Errors you might see Case sensitivity iss…

---

_[View the full topic](https://answers.netlify.com/t/bolt-build-failed-due-to-a-user-error-build-script-returned-non-zero-exit-code-2/153741)._
