Closed miha53cevic closed 3 years ago
Trying to use ytdl(url) or ytdl.getBasicInfo() both return the same thing.
full error:
WARN Possible Unhandled Promise Rejection (id: 1): TypeError: undefined is not an object (evaluating 'info.player_response.storyboards') getStoryboards@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:117895:37 _callee$@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:116494:91 tryCatch@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:7714:23 invoke@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:7887:32 tryCatch@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:7714:23 invoke@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:7787:30 http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:7797:21 tryCallOne@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:28583:16 http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:28684:27 _callTimer@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:29100:17 _callImmediatesPass@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:29139:17 callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:29357:33 __callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:3236:35 http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:3014:34 __guard@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:3219:15 flushedQueue@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.yourmusic&modulesOnly=false&runModule=true:3013:21 flushedQueue@[native code] invokeCallbackAndReturnFlushedQueue@[native code]
Experiencing the same
This problem has been resolved in the latest version v4.8.3
v4.8.3
Just need to reinstall the package
yarn upgrade react-native-ytdl@latest
or
npm update react-native-ytdl@latest
Trying to use ytdl(url) or ytdl.getBasicInfo() both return the same thing.
full error: