Build fails in 3s with no logs — Next.js + Postgres, multiple service IDs
salesdendrite-ux
HOBBYOP

11 days ago

Hi — single-user hobby project, can't get a deploy past 'Build image' on Railway. Hoping someone can spot what I'm missing or confirm this is platform-side.

Build fails identically across 5+ attempts with the same signature:

"Failed to build an image" at exactly 3 seconds

"No build logs" — zero Railpack output, no clone, no install

Diagnose returns either "Config Error" (incorrectly saying NIXPACKS is invalid) or "Infrastructure Error" (says to contact support)

Things I've tried that did NOT change the behavior:

Updated railway.json builder from NIXPACKS → RAILPACK

Deleted railway.json entirely (let Railway auto-detect)

Removed postinstall: prisma generate from package.json

Deleted the service entirely and recreated it (got a fresh service ID f2d3ab54...) — still fails identically

Repo is a clean Next.js 14 scaffold, ~10 files. Could you check if my project/account is being routed to a bad build worker?

$10 Bounty

1 Replies

Status changed to Open Railway 11 days ago


constsn
HOBBY

11 days ago

早く直せよ


Welcome!

Sign in to your Railway account to join the conversation.

Loading...