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
Percy10mo ago
Project ID: 3a326bbc-7091-4f7c-bafe-f65e0a798867
MikhailBaor
MikhailBaor10mo ago
this is the logs withot nixpacs config
Brody
Brody10mo 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
MikhailBaor10mo ago
ok this is the build using nixpacks
MikhailBaor
MikhailBaor10mo 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
MikhailBaor10mo ago
this my config of settins to build
No description
Solution
Brody
Brody10mo ago
if you have set a start command in the service settings you will need to remove it
MikhailBaor
MikhailBaor10mo ago
Ok ill do Omg its working thank you
Brody
Brody10mo ago
no problem!
Want results from more Discord servers?
Add your server