Railway not fetching my source code on build
cicerorph
HOBBYOP

2 months 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

2 months ago

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

16 Replies

Railway
BOT

2 months ago

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

Status changed to Open Railway • 3 months ago


2 months ago

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


cicerorph
HOBBYOP

2 months ago

Still didn't work.


cicerorph
HOBBYOP

2 months ago


2 months 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

2 months ago

Same error.


cicerorph
HOBBYOP

2 months ago

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


2 months ago

Do you have app directory set on the service settings?


mayori

Do you have app directory set on the service settings?

cicerorph
HOBBYOP

2 months ago

It's the default root folder


cicerorph
HOBBYOP

2 months ago

No changes


cicerorph

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

cicerorph
HOBBYOP

2 months ago

Also same error


2 months 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

2 months ago

No, it's a private one


2 months 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

2 months ago

Yes, sorry for the late reply


2 months ago

Can you share the full build logs?


cicerorph
HOBBYOP

2 months ago

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


Status changed to Solved brody • 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...