Had same problem, but after running some tests i saw online like (problem in path because its react) turns out its just case-sensitive in deployment and not in developement.