2 years ago
i am deploy vue js app but using vite , i added caddyfile and nixpack but still is crashed
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1
24 Replies
2 years ago
build logs please -
2 years ago
Please remove your start command from the service settings
Error: [vite:css] [postcss] Cannot find module 'daisyui'- do you have daisyui installed?
2 years ago
please send your package.json
2 years ago
your Caddyfile is named Caddyfile.txt
2 years ago
all works?
it says active but when i visit the url it says : Nothing here… yet, so i think it needs sometime or ?
2 years ago
yep just gotta wait a bit, railways proxy takes a bit to update it's routing table
hi brody i want go back to this discussion do i need to build my vue vite app or only add caddyfile and nixpack no building or is building optional like running npm run build
a year ago
building is not optional, you do need a build script along with the nixpacks.toml and Caddyfile
so this is my steps : 1- run npm run build 2 …. idk next step if you can help any other step after building , while also having caddyfile and nixpack is there anything i am missing
a year ago
you are over thinking this
a year ago
do you have a build script?
a year ago
then deploy your repo to railway