React + Vite + React Router TS, Homepage working, other routes 404

i try with this https://github.com/brody192/vite-react-template copy the nixpacks.toml and Caddyfile from that repo into yours but it isnt work project id: 3a326bbc-7091-4f7c-bafe-f65e0a798867
GitHub
GitHub - brody192/vite-react-template
Contribute to brody192/vite-react-template development by creating an account on GitHub.
Solution:
if you have set a start command in the service settings you will need to remove it
Jump to solution
10 Replies
Percy
Percy11mo ago
Project ID: 3a326bbc-7091-4f7c-bafe-f65e0a798867
MikhailBaor
MikhailBaorOP11mo ago
this is the logs withot nixpacs config
Brody
Brody11mo ago
im looking for the build logs when you are using nixpacks.toml and the Caddyfile and it would help if you could share youre repo too
MikhailBaor
MikhailBaorOP11mo ago
ok this is the build using nixpacks
MikhailBaor
MikhailBaorOP11mo ago
these are the logs of build with nixpacks bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found /bin/bash: npm: command not found
MikhailBaor
MikhailBaorOP11mo ago
this my config of settins to build
No description
Solution
Brody
Brody11mo ago
if you have set a start command in the service settings you will need to remove it
MikhailBaor
MikhailBaorOP11mo ago
Ok ill do Omg its working thank you
Brody
Brody11mo ago
no problem!
Want results from more Discord servers?
Add your server