coding-dynasty
HOBBYOP
2 months ago
my nextjs build succeeds locally, but building on railway gives me a weird error, i am using a monorepo, and am new to this kind of projects, can anyone help me with it?
4 Replies
medim
MODERATOR
2 months ago
Doesn't seems like it? I'm no NextJs expert but did you try checking that 'useContext' function mentioned in the error?
i even deleted the files that might cause an issue, but the build still succeeds locally while failing on railway