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

a year 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

a year ago

d6f12898-6068-4b22-a00e-af3f7da567b1


brody
EMPLOYEE

a year ago

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


phsebastiao
HOBBYOP

a year ago

i am quite sure


phsebastiao
HOBBYOP

a year ago

1351212983891792000


phsebastiao
HOBBYOP

a year ago

unless railway copies with lowercase


brody
EMPLOYEE

a year ago

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


phsebastiao
HOBBYOP

a year ago

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

1351213904021426200


phsebastiao
HOBBYOP

a year ago

<:hmm:1228339204048814080> ill look into it


brody
EMPLOYEE

a year ago

sounds good


phsebastiao
HOBBYOP

a year ago

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


phsebastiao
HOBBYOP

a year ago

but it worked


phsebastiao
HOBBYOP

a year ago

thanks


brody
EMPLOYEE

a year ago

no problem!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 11 months ago


Loading...