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