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?
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