18 days ago
i have an issue i pushed wrong files by mistake to my github repo , i used 2 repo on the same project and i host them as 2 separate services 1 using Dockerfile to run Python app and the other use Nixpack pnpm Nodejs ( it was Railway ) idk why it became Nixpack but anyways i did a merge on github and things got messy now the build keep failing for both services
Attachments
3 Replies
the amount of files i have on the project makes me question myself what is going on 💔
Attachments
5 days ago
Your merge likely mixed the two service configs together, so Railway is trying to build the wrong app with the wrong builder (Python service picking up Node/Nixpacks files or vice versa).
Fix it by separating each service cleanly again: keep only the Python app + Dockerfile in the Python service root, keep only the Node app files (package.json, pnpm-lock.yaml) in the Node service root, then in Railway set the Python service builder to Dockerfile and the Node service builder to Nixpacks/manual Node before redeploying.
this will help u ig
cheers