Next.js project build failed in railway, whil can successfully build in local

It shows this error message:

26.92 Module not found: Can't resolve '@/app/[chain]/(gameDetail)/GuessNumber/_components/EvmGuessNumberDetail'

26.92 Module not found: Can't resolve '@/app/[chain]/(gameDetail)/GuessNumber/_components/EvmGuessNumberDetail'
Solution:
are you sure that path has the same casing as the path in GitHub?
Jump to solution
14 Replies
Percy
Percy2mo ago
Project ID: 847a7a85-5a26-410d-a547-713853bb6085
makisang
makisangOP2mo ago
847a7a85-5a26-410d-a547-713853bb6085
Solution
Brody
Brody2mo ago
are you sure that path has the same casing as the path in GitHub?
makisang
makisangOP2mo ago
yeah
Brody
Brody2mo ago
double check
makisang
makisangOP2mo ago
this is my code
No description
Brody
Brody2mo ago
unfortunately that doesn't answer the original question
makisang
makisangOP2mo ago
yes, the path is the same casing as Github code
Brody
Brody2mo ago
please show me
makisang
makisangOP2mo ago
this is the file I'm importing
No description
makisang
makisangOP2mo ago
oh shit, it's guessNumber not GuessNumber
Brody
Brody2mo ago
those are not the same yep
makisang
makisangOP2mo ago
but in local it's GuessNumber anyway, thank you
Brody
Brody2mo ago
no problem
Want results from more Discord servers?
Add your server