You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full error stack:
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received null
at validateString (internal/validators.js:124:11)
at Url.parse (url.js:159:3)
at urlParse (url.js:154:13)
at Url.resolve (url.js:667:29)
at Object.urlResolve [as resolve] (url.js:663:40)
at exports.getInfo (C:\Users\matte\Documents\GitHub\Musix\node_modules\ytdl-core\lib\info.js:260:32)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Map.getOrSet (C:\Users\matte\Documents\GitHub\Musix\node_modules\ytdl-core\lib\cache.js:24:19)
at async Object.default_1 [as handleVideo] (C:\Users\matte\Documents\GitHub\Musix\build\struct\functions\handleVideo.js:12:23) {
code: 'ERR_INVALID_ARG_TYPE'
}
I did some digging to the code and seems like on line 121 of info.js the const getHTML5player returns null due to html5playerRes being null.
I can do some further debugging if thats needed.
The text was updated successfully, but these errors were encountered:
Full error stack:
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received null
at validateString (internal/validators.js:124:11)
at Url.parse (url.js:159:3)
at urlParse (url.js:154:13)
at Url.resolve (url.js:667:29)
at Object.urlResolve [as resolve] (url.js:663:40)
at exports.getInfo (C:\Users\matte\Documents\GitHub\Musix\node_modules\ytdl-core\lib\info.js:260:32)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Map.getOrSet (C:\Users\matte\Documents\GitHub\Musix\node_modules\ytdl-core\lib\cache.js:24:19)
at async Object.default_1 [as handleVideo] (C:\Users\matte\Documents\GitHub\Musix\build\struct\functions\handleVideo.js:12:23) {
code: 'ERR_INVALID_ARG_TYPE'
}
I did some digging to the code and seems like on line 121 of info.js the const getHTML5player returns null due to html5playerRes being null.
I can do some further debugging if thats needed.
The text was updated successfully, but these errors were encountered: