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