Deployment Failed during build process
Project Id: 0c7fec98-322c-4deb-ac9d-d61c6c0278bf
With no issues I have been deploying to Railway, but today this error occurred,
No package 'cairo' found
ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects
Why did this error come about, it was not there before, do i need to install pycairo mannally :
railway run pip install pycairo
to fix this issue,
what was the reason this to come about now.![No description](https://cdn.answeroverflow.com/1173851628814745600/image.png)
Solution:Jump to solution
delete the Procfile and the nixpacks.toml file, then add this Dockerfile to your project
50 Replies
Project ID:
0c7fec98-322c-4deb-ac9d-d61c6c0278bf
railway run pip install pycairothis installs
pycairo
locally
With no issues I have been deploying to Railway, but today this error occurredyour last successfully deployment, what nixpacks version was in use?
it does not state the version on nixpacks:
![No description](https://cdn.answeroverflow.com/1173854010256674948/image.png)
where can i find the version number?
it would be printed in the build logs on the top of the build table
thanks here it is:
Nixpacks v1.17.0
the thing is my successful builds' Nixpacks version is also Nixpacks v1.17.0
then it was something you added to your app
add the missing module to your requirements.txt
ok, m going through the changed i made recently.
sounds good
have tried reverting to a working git commit, which deployed successfully previously, However the Deployment still crashes with the same errors.
nixpacks wasnt changed, so this was something youve changed, why not just try installing the module needed?
have included in my
requirements.text
pycairo
still the error persists
or should I install it in the railway run pip install pycairo
?^
have included in my requirements.text pycairo still the error persistswas .text a typo? can you please share your repo
ok, wait
how do I share the repo.
give me an email or an username pls
to share the repo.
brody192