fem-dl icon indicating copy to clipboard operation
fem-dl copied to clipboard

Throws exception on start

Open beevk opened this issue 8 months ago • 3 comments

Hi, thank you for making this library. I cloned this repo, installed all the dependencies (npm i) using node v20.5.0, then I tried running it with npm run start

I'm getting this error when trying to run the program:

Downloading captions for Introduction...
node:internal/process/esm_loader:46
      internalBinding('errors').triggerUncaughtException(
                                ^
ffmpeg version 5.0.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
/home/user1/Documents/courses/algorithm-basics/The Last Algorithms Course You'll Need/1. Introduction/Introduction.tmp.mkv: No such file or directory

(Use `node --trace-uncaught ...` to show where the exception was thrown)

Node.js v20.5.02800

So I added the flag -trace-uncaught to the run command and it gives same error as above but with this extra information:

Thrown at:
    at loadESM (node:internal/process/esm_loader:40:33)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

I also tried with node 18.19.1 but same error. Anyway to fix this?

beevk avatar May 28 '24 16:05 beevk