Closed DimPaDev closed 4 years ago
This module works very well for node.js but if you try to use it under electron/nw.js it throws an error which makes it unusable:
Example (using Nw.js or Electron) :
var ytt = require("ytt"); ytt.playlist('PLCxjFBEyIgt1FmIYPZrodi19Vv_Z8K9LJ', true) // or any other method except "format" method
it throws : Uncaught (in promise) TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type object
Uncaught (in promise) TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type object
This module works very well for node.js but if you try to use it under electron/nw.js it throws an error which makes it unusable:
Example (using Nw.js or Electron) :
it throws :
Uncaught (in promise) TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type object