# Cannot find file problem

**URL:** <https://answers.netlify.com/t/cannot-find-file-problem/15160>\
**Category:** Support\
**Tags:** building, netlify-newbie, deployment\
**Created:** [May 20, 2020, 7:05pm UTC](https://answers.netlify.com/t/cannot-find-file-problem/15160 "2020-05-20T19:05:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nardove](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nardove/32/11058_2.png) [@nardove](https://answers.netlify.com/u/nardove)\
**Post date:** [May 20, 2020, 7:05pm UTC](https://answers.netlify.com/t/cannot-find-file-problem/15160/1 "2020-05-20T19:05:41Z")

</div>

I have seen a few post regarding this issue all of them with different problems, in my case my site build fine using both **npm start** and **npm run build** but when Netlify tries to deploy I get the following error:

> Cannot find file ‘./components/UsersContainer/UsersContainer.js’ in ‘./src’.

What do I need to look for to make my site comply with Netlify deployment rules?

Any help will be much appreciated

Cheers  
Ricardo

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [May 20, 2020, 7:28pm UTC](https://answers.netlify.com/t/cannot-find-file-problem/15160/2 "2020-05-20T19:28:01Z")

</div>

Hey there, thanks for reaching out.

What you are describing sounds a bit like a an issue with case sensitivity on our system.

Can you give this a read through and let us know if that fixes the issue?

> [@\[Support Guide\] Netlify app builds locally but fails on deploy (case sensitivity)](https://answers.netlify.com/t/support-guide-netlify-app-builds-locally-but-fails-on-deploy-case-sensitivity/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…

---

<div class="post-metadata">

**Author:** ![mbaiadori](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/mbaiadori/32/18921_2.png) [@mbaiadori](https://answers.netlify.com/u/mbaiadori)\
**Post date:** [November 27, 2020, 4:14pm UTC](https://answers.netlify.com/t/cannot-find-file-problem/15160/3 "2020-11-27T16:14:38Z")

</div>

You can change your git config  
Globaly \> git config --global core.ignorecase false  
Or (if you are created one repository)  
Go to folder in your project “.git/config” and change or add this configuration \>  
[core]  
ignorecase = false
