20lives / FrontendMastersDownloader

FrontendMasters Downloader - A tool to keep offline copy of frontendmasters courses
199 stars 41 forks source link

Undefined `programs` with ffprobe after getting url download list #33

Closed jethromalate closed 3 years ago

jethromalate commented 3 years ago

Error encountered:

(node:9442) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'map' of undefined
    at extractPrograms (file:///.npm/_npx/9442/lib/node_modules/frontendmasters-downloader/src/programsExtractor.js:8:19)
    at async run (file:///.npm/_npx/9442/lib/node_modules/frontendmasters-downloader/src/index.js:46:20)
(node:9442) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9442) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
jethromalate commented 3 years ago

Working again after retrying