Random error in lib file? TypeError: Cannot read property '4' of null
Muh9049 opened this issue · 2 comments
Just randomly started getting this for YouTube Playlists..
Yes i have been getting the same error
(node:3956) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '4' of null
at Object.exports.getGeneralInfo (C:\Users\Galactica\Desktop\ytpl\YOUTUBE CODE\node_modules\ytpl\lib\util.js:39:31)
at module.exports (C:\Users\Galactica\Desktop\ytpl\YOUTUBE CODE\node_modules\ytpl\lib\firstpage.js:29:25)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async module.exports (C:\Users\Galactica\Desktop\ytpl\YOUTUBE CODE\node_modules\ytpl\lib\main.js:13:20)
(node:3956) 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:3956) [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.
let's keep discussion in #84