Railway not fetching my source code on build
cicerorph
HOBBYOP

a month ago

When trying to build it says package.json doesn't exist even tho on the repo it exists.

image.png

image.png

Solved$10 Bounty

Pinned Solution

cicerorph
HOBBYOP

a month ago

Decided to just change from Bun to Node and it worked.

16 Replies

Railway
BOT

a month ago

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

Status changed to Open Railway 30 days ago


a month ago

Previous build is probably cached, try disable it by add NO_CACHE=1 to environment variables


cicerorph
HOBBYOP

a month ago

Still didn't work.


cicerorph
HOBBYOP

a month ago


a month ago

Try Deploy Latest Commit

Open your service > Open the Command Palette (Ctrl-K) > select Deploy Latest Commit


mayori

Try Deploy Latest Commit Open your service > Open the Command Palette (Ctrl-K) > select `Deploy Latest Commit`

cicerorph
HOBBYOP

a month ago

Same error.


cicerorph
HOBBYOP

a month ago

I'm going to try deleting the service and then creating it again


a month ago

Do you have app directory set on the service settings?


mayori

Do you have app directory set on the service settings?

cicerorph
HOBBYOP

a month ago

It's the default root folder


cicerorph
HOBBYOP

a month ago

No changes


cicerorph

I'm going to try deleting the service and then creating it again

cicerorph
HOBBYOP

a month ago

Also same error


a month ago

Is that a public repo? If so I will try deploy


mayori

Is that a public repo? If so I will try deploy

cicerorph
HOBBYOP

a month ago

No, it's a private one


a month ago

Is your latest deployment message same as your last commit message?


mayori

Is your latest deployment message same as your last commit message?

cicerorph
HOBBYOP

a month ago

Yes, sorry for the late reply


a month ago

Can you share the full build logs?


cicerorph
HOBBYOP

a month ago

Decided to just change from Bun to Node and it worked.


Status changed to Solved brody 29 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...