R
Join ServerRailway
βο½help
Trying to deploy Next js 13 app and its failing?
Hey guys, whats the process to deploy a simple Next js app? Version 13.
Right now its failing. Is there specific steps? I'm just trying to deploy it from the github repo.
Right now its failing. Is there specific steps? I'm just trying to deploy it from the github repo.
c8ae4fa9-ea5e-4a2a-b926-127053262298
"ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn run build" did not complete successfully: exit code: 1
Error: Docker build failed"
Error: Docker build failed"
can you please provide full build logs?
Im working trough it rn
I think tis because Im uploading pages that I was just using to keep some code dev, is there a way to signal railway to ignore stuff?
like an ignore file?
a .gitignore file
hmmm, ok, I wanted to save those pages on my repo, just not on the production, I guess I need two different repos?
also, how do I solve this error:
Dockerfile:25
-------------------
23 | # build phase
24 | COPY . /app/.
25 | >>> RUN --mount=type=cache,id=s/6938deab-95c5-4dea-a72a-638ab065b303-next/cache,target=/app/.next/cache --mount=type=cache,id=s/6938deab-95c5-4dea-a72a-638ab065b303-node_modules/cache,target=/app/node_modules/.cache yarn run build
26 |
27 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn run build" did not complete successfully: exit code: 1
Error: Docker build failed
also, how do I solve this error:
Dockerfile:25
-------------------
23 | # build phase
24 | COPY . /app/.
25 | >>> RUN --mount=type=cache,id=s/6938deab-95c5-4dea-a72a-638ab065b303-next/cache,target=/app/.next/cache --mount=type=cache,id=s/6938deab-95c5-4dea-a72a-638ab065b303-node_modules/cache,target=/app/node_modules/.cache yarn run build
26 |
27 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn run build" did not complete successfully: exit code: 1
Error: Docker build failed
that does not tell me what the error is, it only states that there was an error. please provide full build logs
ok I was able to publish
Im unable to expose the server
says not found
works now
AWESOME
thanks!
little tip, setup a health check endpoint so that railway knows when your app has started and can switch over to new deploys with zero downtime
https://docs.railway.app/deploy/healthchecks
https://docs.railway.app/deploy/healthchecks
ok, let me learn about this, thank you Brody!
no problem!
cool website design btw!
thanks! π I did it haha
Im having some problems
I can see the site just fine
but my team does not, seems its not fetching the NFT metadata nor the thirdweb stuff
I cant replicate the error on my end which is super weird
are you on the teams plan?
no
but so far only one person has this problem, he is in America, my other 2 team mates see the website like I do, they are in Europe and South America
can i have specific error messages/screenshots? that is far to vague for me to help you with