R
Railway•6mo 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•6mo ago
Project ID: f832b251-070d-46be-af2c-c6011de8b57c
Anish
Anish•6mo ago
f832b251-070d-46be-af2c-c6011de8b57c
Fragly
Fragly•6mo ago
Mind using this to download your build logs? https://bookmarklets.up.railway.app/log-downloader/
Medim
Medim•6mo ago
Also, this is from a dockerfile, right? Does it works fine locally?
Anish
Anish•6mo ago
nope, i dont have a dockerfile, it is using nixpacks
No description
Anish
Anish•6mo ago
ahhh is there any other way? my browser doesnt support bookmarks 💀 nvm logged in on a diff browser
Medim
Medim•6mo 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•6mo ago
do you happen to have tsbuildinfo in your repo? that can cause issues
Solution
Anish
Anish•6mo ago
ok removing it fixed it, thanks a lot!
Brody
Brody•6mo ago
no problem!
Brody
Brody•6mo ago
I'm the creator of the bookmarklet, may I ask what browser you where using that doesn't support them?
Anish
Anish•6mo ago
Arc
Brody
Brody•6mo ago
ah yeah don't think it does, thanks!
Anish
Anish•6mo ago
np, adding a button within railway to export logs might make more sense
Brody
Brody•6mo ago
I've been saying that for a long time 🤣
Anish
Anish•6mo ago
ahhh lol