R
Railway15mo ago
r_sk

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

Facing the following error: FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
25 Replies
Percy
Percy15mo ago
Project ID: 50d71689-c9c5-4244-9bb5-f2d3e67da193
r_sk
r_sk15mo ago
50d71689-c9c5-4244-9bb5-f2d3e67da193
Brody
Brody15mo ago
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
add that to a nixpacks.toml file in your project
r_sk
r_sk15mo ago
Currently, I am not using any nixpacks.toml
Brody
Brody15mo ago
well now you're going to
r_sk
r_sk15mo ago
Yes, I am trying, Thank you for your prompt response Can you help with the content of the .toml file, I am completely new to this
Brody
Brody15mo ago
^
r_sk
r_sk15mo ago
It gives the following error: #8 [stage-0 4/9] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF Error: Docker build failed
r_sk
r_sk15mo ago
Adding just [phases.setup] aptPkgs = ['...', 'ffmpeg'] gives the same error
Brody
Brody15mo ago
you are bad at following directions
r_sk
r_sk15mo ago
ok, my bad.
Brody
Brody15mo ago
show screenshot of error when using the nixpacks configs I provided
r_sk
r_sk15mo ago
Sure
r_sk
r_sk15mo ago
Brody
Brody15mo ago
railway problem but it's 6am so I'm gonna head to bed, in the mean time if you wanna look into using a dockerfile, be my guest
r_sk
r_sk15mo ago
Sure, Appreciate your inputs
Brody
Brody15mo ago
Dockerfile look into it
r_sk
r_sk15mo ago
Yes will do
Brody
Brody15mo ago
I expect you to have it solved by the time I wake up in the morning
r_sk
r_sk15mo ago
I did Thank you for the critical feedback 😊
Brody
Brody15mo ago
you got it!?
r_sk
r_sk15mo ago
Yes
Brody
Brody15mo ago
awsome!
r_sk
r_sk15mo ago
Thank u