ZerioDev / Music-bot

A complete code to download for a cool Discord music bot !
https://discord.gg/5cGSYV8ZZj
GNU General Public License v3.0
892 stars 1.09k forks source link

Node modules #295

Closed discordbotengineering closed 11 months ago

discordbotengineering commented 1 year ago

Can you pls update package.json file? I guess this error about ytdl-core

error:

ERR_NO_RESULT: Could not extract stream for this track

evalmachine.:426 koa=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(h){throw d=Error("Error reading responseText"),d.params=a,JB(d),h;}a=c.getResponseHeader("Content-Type")||"";f&&0<=a.indexOf("json")&&(")]};gma(ncode);

Nickeldon commented 1 year ago

Sadly, this error is due to current issues in the latest version of the ytdl-core module. Feel free to visit our Discord Issues threads to follow one of our team members' tutorials to fix this issue.

[If you are already part of our discord server]:

Fix one (Downgrading): https://discord.com/channels/773639842449850368/1149985204400824403

Fix two (Direct modification of the package source code): https://discord.com/channels/773639842449850368/1150095560200687690

Feel free to ask if you have any concerns.

discordbotengineering commented 1 year ago

If can be ytdlcore version 4.9.1 the bot is working. So can you update package.json with modules's old version. the bot will work.

Nickeldon commented 1 year ago

If can be ytdlcore version 4.9.1 the bot is working. So can you update package.json with modules's old version. the bot will

I know... Nevertheless, be aware that using a deprecated version of ytdl-core will slow down your streaming speed.

discordbotengineering commented 1 year ago

then must we wait ytdl-core fix the problem?