"I swear it works on my machine" Railway edition
phsebastiao
HOBBYOP

2 years ago

Railway doesn't seem to be able to build my latest commit, I moved to using Railpack once announced but trying to fix the problem I got back to good old docker and it still works fine locally but not on railway, is there a way to check railway build files to ensure that the module is still there or something like that?

Dockerfile:

FROM node:22-slim

WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install

COPY . .

RUN npm run build

ENV NODE_ENV=production

CMD ["npm", "run", "prod"]
Solved

14 Replies

phsebastiao
HOBBYOP

2 years ago

d6f12898-6068-4b22-a00e-af3f7da567b1


2 years ago

are you sure its Dev ? perhaps its dev (lowercase)


phsebastiao
HOBBYOP

2 years ago

i am quite sure


phsebastiao
HOBBYOP

2 years ago

1351212983891791993


phsebastiao
HOBBYOP

2 years ago

unless railway copies with lowercase


2 years ago

nope, but please check the folder's name in github too


phsebastiao
HOBBYOP

2 years ago

apparently on github C in commands is capitalized but I tested both ways

1351213904021426207


phsebastiao
HOBBYOP

2 years ago

<:hmm:1228339204048814080> ill look into it


2 years ago

sounds good


phsebastiao
HOBBYOP

2 years ago

<:veiDank:925264890732642344> why was renaming folders so hard


phsebastiao
HOBBYOP

2 years ago

but it worked


phsebastiao
HOBBYOP

2 years ago

thanks


2 years ago

no problem!


2 years ago

!s


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...