jely2002 / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
6.67k stars 472 forks source link

Trying to download video, gets "execa" error. Using M1 Macbook Air on macOS 13 beta 7 #431

Open gradygambrell opened 2 years ago

gradygambrell commented 2 years ago

Describe the bug Gets the "execa" error.

Trying to download https://www.youtube.com/watch?v=LXb3EKWsInQ (test video)

Error message:

{ "shortMessage": "Command failed with exit code 1: /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/yt-dlp-unix -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=7A4pEp8_O9o", "command": "/Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/yt-dlp-unix -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=7A4pEp8_O9o", "exitCode": 1, "stdout": "", "stderr": "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun", "failed": true, "timedOut": false, "isCanceled": false, "killed": false }

To Reproduce Steps to reproduce the behavior:

  1. Copy's link
  2. Paste link
  3. Press "+"
  4. Error appears

Expected behavior Gets a video.

Screenshots None

Additional info (please complete the following information):

Additional context Haves an M1 Macbook Air.

himyjan commented 2 months ago

https://github.com/StefanLobbenmeier/youtube-dl-gui/releases

or

command line version https://github.com/jely2002/youtube-dl-gui/issues/354#issuecomment-1127269708