R
Railway16mo 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
Percy16mo ago
Project ID: 50d71689-c9c5-4244-9bb5-f2d3e67da193
r_sk
r_sk16mo ago
50d71689-c9c5-4244-9bb5-f2d3e67da193
Brody
Brody16mo ago
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
[phases.setup]
aptPkgs = ['...', 'ffmpeg']
add that to a nixpacks.toml file in your project
r_sk
r_sk16mo ago
Currently, I am not using any nixpacks.toml
Brody
Brody16mo ago
well now you're going to
r_sk
r_sk16mo 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
Brody16mo ago
^
r_sk
r_sk16mo 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_sk16mo ago
Adding just [phases.setup] aptPkgs = ['...', 'ffmpeg'] gives the same error
Brody
Brody16mo ago
you are bad at following directions
r_sk
r_sk16mo ago
ok, my bad.
Brody
Brody16mo ago
show screenshot of error when using the nixpacks configs I provided
r_sk
r_sk16mo ago
Sure
r_sk
r_sk16mo ago
Brody
Brody16mo 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_sk16mo ago
Sure, Appreciate your inputs
Brody
Brody16mo ago
Dockerfile look into it
r_sk
r_sk16mo ago
Yes will do
Brody
Brody16mo ago
I expect you to have it solved by the time I wake up in the morning
r_sk
r_sk16mo ago
I did Thank you for the critical feedback 😊
Brody
Brody16mo ago
you got it!?
r_sk
r_sk16mo ago
Yes
Brody
Brody16mo ago
awsome!
r_sk
r_sk16mo ago
Thank u