Renamed file and build cannot find it
vitakili
PROOP

2 months ago

I've renamed the file from "Blogcard" to "BlogCard" everything is correct (locally, I know :D) but somehow its cached in railway ... I dont want to rename it back

buil_error.png

Attachments

Solved$20 Bounty

Pinned Solution

2 months ago

If it reaches the next build step then it is not cached (failing builds aren't cached either afaik)

Could you show the components folder?

4 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 2 months ago


2 months ago

If it reaches the next build step then it is not cached (failing builds aren't cached either afaik)

Could you show the components folder?


2 months ago

You can try disable the Build Cache by add NO_CACHE=1 to your Variables, and enable it again later


astrid

If it reaches the next build step then it is not cached (failing builds aren't cached either afaik) Could you show the components folder?

vitakili
PROOP

2 months ago

Mmm, Im stupid ... I've changed it locally, pushed it via VSCode, visibly it was changed file - renamed, but on git its still Uppercase and Lowercase -> Blogcard instead of BlogCard ... thanks


vitakili

Mmm, Im stupid ... I've changed it locally, pushed it via VSCode, visibly it was changed file - renamed, but on git its still Uppercase and Lowercase -> Blogcard instead of BlogCard ... thanks

2 months ago

Try git mv <old name> <new name> so git mv Blogcard.tsx BlogCard.tsx


Status changed to Solved uxuz • about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...