subdownloader icon indicating copy to clipboard operation
subdownloader copied to clipboard

/usr/bin/env: 'node\r': No such file or directory

Open PGPereira opened this issue 8 years ago • 8 comments

PGPereira avatar May 22 '16 00:05 PGPereira

when did you get this?

beatfreaker avatar Jul 04 '16 14:07 beatfreaker

I get this when I try to use it from terminal.

PGPereira avatar Jul 11 '16 13:07 PGPereira

pedro@pedro ~/Vídeos/Séries % LANG=C subdownload Breaking\ Bad /usr/bin/env: 'node\r': No such file or directory

PGPereira avatar Jul 11 '16 13:07 PGPereira

same here, new ubuntu 16.06 install

  • update - dos2unix on the file helps

danijelk avatar Aug 19 '16 11:08 danijelk

can anyone do a PR for this issue

beatfreaker avatar Aug 20 '16 07:08 beatfreaker

I have the same issue on linux mint 18.02 was this ever resolved?

aristosv avatar Oct 01 '17 14:10 aristosv

I think so, it's just not accepted https://github.com/beatfreaker/subdownloader/pull/6

danijelk avatar Oct 04 '17 13:10 danijelk

Got the same problem in Ubuntu 18.

EDIT : to fix the issue, run sudo dos2unix /usr/local/lib/node_modules/subdownloader/cli.js

Cooya avatar Nov 06 '18 21:11 Cooya