Deployment Failed during build process
I'm encountering issues while trying to build my Vue 3 and TypeScript project on Railway using Nixpacks. During the Docker build process, I'm encountering errors.
Project ID: 837cac68-68b7-45c9-8b81-2b1d97c38823
Could you please assist me in resolving this issue?
Thank you in advance for your help.
41 Replies
Project ID:
837cac68-68b7-45c9-8b81-2b1d97c38823
Can you show us what the error message you are receiving is?
this is my start command scripts.
You don’t have an actual
start
command. How would you run your app?As a ("start": "npm run build:icons && vite --host",), in the script? local testo npm run dev and builds, npm run build.
Okay, then you need to add
”start”: “npm run build:icons && vite —host”
to your scripts, not just as devalready did that
Are you still receiving the same error when you deploy?
this is the error I am getting.
vite
starts a dev server 😠
please provide full build logs https://bookmarklets.up.railway.app/log-downloader/I was unable to use this in my Edge browser.
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
Error: Docker build failed
can you explain what troubles you ran into with the bookmarklet
First time I'm using it so I tried to follow the steps in the file.
right and what problems did you run into? i am unable to reproduce any issues with edge
I believe that when clicking on log-download it was supposed to display the modal or not?
and what happened when you clicked the bookmarklet
here ?
please follow the instructions
or tell me what you are confused about
is this correct?
as per the instructions you should have it in your bookmarks bar
looks like you have your bookmarks bar disabled/hidden
cool I added the favorites bar
do you have a deployment open?
I got it
thats not all of the logs
Cool see now!
fix the error
I managed to solve the error, thank you very much for your help. from Brazil, friend!!🤝
hello from canada
my build worked and apparently the deploy logs have this warning "npm WARN config production Use
--omit=dev
instead.'
this is the url of my frontend which is on the railway, https://rapidfunnelsfrontend-stage.up.railway.app/Can you help me with this please?
copy the nixpacks.toml and Caddyfile from this repo into yours
https://github.com/brody192/vue-3-template
Thank you friend!
let me know how that goes
It worked, it worked.
awesome!