#File name changed from camelCase to PascalCase and causing Github CI build error

1 messages · Page 1 of 1 (latest)

silent furnace
#

Hi, is there any way that a remix project stores file structure in any cache folder or something? I've just changed the file name and although locally no complain and the code can find the updated component file, I get Use "app/components/watchList.tsx" instead of "app/components/WatchList.tsx" to avoid issues with case-sensitive file systems [different-path-case]
In the Github CI Action

tepid gulch
#

👋 I think the problem is that your OS file system is case-insensitive. Is a common problem in case-insensitive systems where the change won't be committed if you are just changing the casing.
You can use git mv watchList.tsx WatchList.tsx. Another dirty solution is to rename the file by changing something other than the casing (i.e. watchList2.tsx), commit it and then rename it to WatchList.tsx

#

btw, go to Github and check if the file is still camelCase to confirm this is the issue 😉