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