code: https://github.com/Lazy-C0der/ytdl-core
ydtl-core error 404 while playing music watch full video. this video will work 100% for them who are using packages like distube and others which works on ytdl-core. but for then who are not using this type of packages if it does not work for you contact me server link is below at bottom.
it will work on localhost but on hosting service like heroku, repl.it and others which downloads node_modules by itself there it will not work.
for that watch this: • Heroku Hosting Bot | ytdl-core Error ...
step 1:
npm upadate --depth 2 or npm update will work as same.
as depth support is removed as you can read here https://github.com/npm/rfcs/blob/late...
step 2:
open node_modules/lib/info.js and delete original code
then copy code from https://github.com/Lazy-C0der/ytdl-core here and paste it.
Subscribe, Share And Like The Video.
Like Share And Subscribe My Channel.
Join Me On Discord If You Want To Learn Coding.
website: https://sarfarajshah.web.app
Instagram: / sarfarajshah_
Discord: / discord
Github: https://github.com/Bugslogger