I was developing my app which generates youtube clips from the yt-link, it was running fine locally , but when i uploaded the app on render it started showing me this error:
Error generating clip: [Error: Command failed: yt-dlp -f best -o “/opt/render/project/src/public/downloads/MYiiCnHI3DM.mp4” “yt link here”
Jan 10 03:06:09 PM/bin/sh: 1: yt-dlp: not found
Jan 10 03:06:09 PM] {
Jan 10 03:06:09 PM code: 127,
Jan 10 03:06:09 PM killed: false,
Jan 10 03:06:09 PM signal: null,
Jan 10 03:06:09 PM cmd: 'yt-dlp -f best -o “/opt/render/project/src/public/downloads/MYiiCnHI3DM.mp4” [“yt link here”,)
Jan 10 03:06:09 PM stdout: ‘’,
Jan 10 03:06:09 PM stderr: ‘/bin/sh: 1: yt-dlp: not found\n’
Jan 10 03:06:09 PM}