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:Jump to solution
if you have set a start command in the service settings you will need to remove it
10 Replies
Project ID:
3a326bbc-7091-4f7c-bafe-f65e0a798867
build logs please https://bookmarklets.up.railway.app/log-downloader/
this is the logs withot nixpacs config
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
ok this is the build using nixpacks
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
this my config of settins to build
Solution
if you have set a start command in the service settings you will need to remove it
Ok ill do
Omg its working thank you
no problem!