Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

[bug] Command failed with exit code 1 #311

Open
ldevalbray opened this issue Jun 11, 2020 · 6 comments
Open

[bug] Command failed with exit code 1 #311

ldevalbray opened this issue Jun 11, 2020 · 6 comments

Comments

@ldevalbray
Copy link

Hello, when trying to download a video, I get this error :
Command failed with exit code 1: C:\Users\xxxxxxx\xxxxxx\xxxxx\xxxxx\youtube-dl.exe --dump-json -f best --encoding utf8 http://www.youtube.com/watch?v=A_MjCqQoLLA

from this piece of code :

video = youtubedl('http://www.youtube.com/watch?v=' + videoId)
video.on('error', function error(err) {
        console.log(err);

Do you know where it could come from ?
Thank you !

@hc2acc
Copy link

hc2acc commented Jun 18, 2020

did you get a solution to this?

@ldevalbray
Copy link
Author

Unfortunately no ... :(

@ghost
Copy link

ghost commented Jun 23, 2020

Which version of youtube-dl are you using? Maybe an update would help.
Otherwise try running the command in the terminal to get better error logging.

@abhijitpd
Copy link

@ldevalbray any update?

@bighitbiker3
Copy link

bighitbiker3 commented Aug 28, 2020

This is fixed in master but they haven't cut a release yet. Use npm i https://github.com/przemyslawpluta/node-youtube-dl.git

@abhijitpd
Copy link

@bighitbiker3 Thanks for the update!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants