R
Railwayβ€’7mo ago
Anish

Getting a docker error when deploying a Next.js app

Getting this weird error when deploying a Next.js app (bun, Next.js 14). No idea what it means, environment variables are correct and builds successfully locally
No description
Solution:
ok removing it fixed it, thanks a lot!
Jump to solution
17 Replies
Percy
Percyβ€’7mo ago
Project ID: f832b251-070d-46be-af2c-c6011de8b57c
Anish
Anishβ€’7mo ago
f832b251-070d-46be-af2c-c6011de8b57c
Fragly
Fraglyβ€’7mo ago
Mind using this to download your build logs? https://bookmarklets.up.railway.app/log-downloader/
Medim
Medimβ€’7mo ago
Also, this is from a dockerfile, right? Does it works fine locally?
Anish
Anishβ€’7mo ago
nope, i dont have a dockerfile, it is using nixpacks
No description
Anish
Anishβ€’7mo ago
ahhh is there any other way? my browser doesnt support bookmarks πŸ’€ nvm logged in on a diff browser
Medim
Medimβ€’7mo ago
This looks like a Nixpacks bug, I don't have much experience at Nixpacks so maybe someone else can help you, I would advise opening an issue at the nixpacks repo and use a Dockerfile for now.
Brody
Brodyβ€’7mo ago
do you happen to have tsbuildinfo in your repo? that can cause issues
Solution
Anish
Anishβ€’7mo ago
ok removing it fixed it, thanks a lot!
Brody
Brodyβ€’7mo ago
no problem!
Brody
Brodyβ€’7mo ago
I'm the creator of the bookmarklet, may I ask what browser you where using that doesn't support them?
Anish
Anishβ€’7mo ago
Arc
Brody
Brodyβ€’7mo ago
ah yeah don't think it does, thanks!
Anish
Anishβ€’7mo ago
np, adding a button within railway to export logs might make more sense
Brody
Brodyβ€’7mo ago
I've been saying that for a long time 🀣
Anish
Anishβ€’7mo ago
ahhh lol