need help to deploy nextjs 13 + prisma project
hello i get this error when deploy my fullstack nextjs project on railway here is my build log
# build phase
23 | COPY . /app/.
24 | >>> RUN --mount=type=cache,id=s/3f6705bc-8b10-4b26-9084-0ce96be52ad7-next/cache,target=/app/.next/cache --mount=type=cache,id=s/3f6705bc-8b10-4b26-9084-0ce96be52ad7-node_modules/cache,target=/app/node_modules/.cache npm run build
25 |
26 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
Error: Docker build failed
23 Replies
Project ID:
3f6705bc-8b10-4b26-9084-0ce96be52ad7,3f6705bc-8b10-4b26-9084-0ce96be52ad7
cf393a3b-e3ca-4a8a-89e1-dc020f26f5e7
please provide your full build logs with this https://bookmarklets.up.railway.app/log-downloader/
Railway
Log Explorer
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
build logs please
there is it
please provide your full build logs with this https://bookmarklets.up.railway.app/log-downloader/
i need help to use https://bookmarklets.up.railway.app/log-downloader/
follow the 3 steps listed on that site
i dit it but it juste open the link
follow the 3 steps please
there is it
please see your error message -
thanks i fixe it but how to moov from dev mode to prod
looks like you need to properly configure clerk, give their documentation a read
why the start commande is next start and dont use de build one
the build command is ran during build
how to serve the build file in prod
that would be done automatically by
next start
your issue is with clerkTo fixe ckerk issue i need to have domain for production
sounds plausible
do you own a domain?
No
then you know what you need to do next