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
Percy
Percy11mo ago
Project ID: 837cac68-68b7-45c9-8b81-2b1d97c38823
MantisInABox
MantisInABox11mo ago
Can you show us what the error message you are receiving is?
emerson98.
emerson98.11mo ago
No description
emerson98.
emerson98.11mo ago
this is my start command scripts.
No description
MantisInABox
MantisInABox11mo ago
You don’t have an actual start command. How would you run your app?
emerson98.
emerson98.11mo ago
As a ("start": "npm run build:icons && vite --host",), in the script? local testo npm run dev and builds, npm run build.
MantisInABox
MantisInABox11mo ago
Okay, then you need to add ”start”: “npm run build:icons && vite —host” to your scripts, not just as dev
emerson98.
emerson98.11mo ago
already did that
emerson98.
emerson98.11mo ago
No description
MantisInABox
MantisInABox11mo ago
Are you still receiving the same error when you deploy?
emerson98.
emerson98.11mo ago
No description
emerson98.
emerson98.11mo ago
this is the error I am getting.
Brody
Brody11mo ago
vite starts a dev server 😠 please provide full build logs https://bookmarklets.up.railway.app/log-downloader/
emerson98.
emerson98.11mo ago
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
Brody
Brody11mo ago
can you explain what troubles you ran into with the bookmarklet
emerson98.
emerson98.11mo ago
First time I'm using it so I tried to follow the steps in the file.
emerson98.
emerson98.11mo ago
No description
Brody
Brody11mo ago
right and what problems did you run into? i am unable to reproduce any issues with edge
No description
emerson98.
emerson98.11mo ago
I believe that when clicking on log-download it was supposed to display the modal or not?
Brody
Brody11mo ago
and what happened when you clicked the bookmarklet
emerson98.
emerson98.11mo ago
here ?
No description
Brody
Brody11mo ago
please follow the instructions or tell me what you are confused about
emerson98.
emerson98.11mo ago
is this correct?
No description
Brody
Brody11mo ago
as per the instructions you should have it in your bookmarks bar looks like you have your bookmarks bar disabled/hidden
emerson98.
emerson98.11mo ago
cool I added the favorites bar
emerson98.
emerson98.11mo ago
No description
Brody
Brody11mo ago
do you have a deployment open?
Brody
Brody11mo ago
thats not all of the logs
emerson98.
emerson98.11mo ago
Brody
Brody11mo ago
fix the error
src/@iconify/tsconfig.json(13,9): error TS5101: Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. Use 'verbatimModuleSyntax' instead.
src/@iconify/tsconfig.json(13,9): error TS5101: Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. Use 'verbatimModuleSyntax' instead.
emerson98.
emerson98.11mo ago
I managed to solve the error, thank you very much for your help. chefkiss from Brazil, friend!!🤝
Brody
Brody11mo ago
hello from canada
emerson98.
emerson98.11mo ago
salute 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/
emerson98.
emerson98.11mo ago
Can you help me with this please?
Brody
Brody11mo ago
copy the nixpacks.toml and Caddyfile from this repo into yours https://github.com/brody192/vue-3-template
emerson98.
emerson98.11mo ago
Thank you friend!
Brody
Brody11mo ago
let me know how that goes
emerson98.
emerson98.11mo ago
It worked, it worked.
Brody
Brody11mo ago
awesome!