Build error: "Unable to build profile"
Not sure what this build error means or what to do about it.
project id = 2090e121-cc62-4fbe-9114-5349121f7893
This project pulls data from APIs in sequence. It was just Rust, but after adding a Python data loader and using custom build/start commands, this error comes up. I specified both the Rust and Python Providers as well as my custom build and start commands.
From what I can find from searching myself, this looks like a nix problem with merging, but I'm not sure how to handle or prevent that in Railway.
relevant log output:
17 Replies
Project ID:
2090e121-cc62-4fbe-9114-5349121f7893
You will likely want to move to a custom Dockerfile for your build
@Brody thanks for the quick reply. Do you think it could work with a custom nixpacks? To avoid a potentially messy dockerfile I would probably opt to make several mono-lingual services in railway instead π
why does the Dockerfile have to be messy?
Because I'm terrible at maintaining them π
what is the main language in use in this app?
Rust. But that rust will slowly move over to TypeScript as the primary as I add more APIs to pull from.
typescript? what happened to python?
It's not one "app." I'm using whatever SDK is best supported to pull stuff from Stripe, Discord, Instagram etc. I just run them each one at a time.
at this time does your deployment need node too?
not yet.
okay so just rust as the provider and python as a dependency?
hmmm the rust doesn't call the python. It's kind of backwards right now since my build and start scripts are just proc calls in python. so I guess it's python provider and a rust dependency? Not sure how to apply those words to this configuration
interesting
I still believe this would be best done with a Dockerfile, it's going to give you by far the most control over the build process
yeah it's definitely doable in a Docker file. I'll play around a bit and see what I can do. In the end it sounds like this particular error is a sign something too complicated is going on in the build?
sounds about right!
thanks for the help! I appreciate it