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