eritislami / evobot

🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages
MIT License
1.85k stars 2.02k forks source link

Bug: I get this error when trying to play music from soundcloud #133

Closed JoJoSniper closed 4 years ago

JoJoSniper commented 4 years ago

Error: scdl.downloadFromURL is not a function

Any fixes?

eritislami commented 4 years ago

Run npm ls --depth 0 it should say that soundcloud-downloader is version 0.0.9 like this

$ npm ls --depth 0
evobot@0.6.2 C:\Users\Erit\evobot
+-- @discordjs/opus@0.3.2
+-- discord.js@12.2.0
+-- ffmpeg-static@4.2.5
+-- lyrics-finder@21.0.5
+-- simple-youtube-api@5.2.1
+-- soundcloud-downloader@0.0.9
+-- ytdl-core@3.1.2
-- ytdl-core-discord@1.2.1

if not delete npm_modules, package-lock and copy package.json from the repo and run npm install again.

xSphere1 commented 4 years ago

when play There was an error playing that Soundcloud track.

eritislami commented 4 years ago

I'm getting a mistake when I do have the right version as you said earlier.

Error: scdl.downloadFromURL is not a function I'm not even using this function in my current code, if you don't want to provide more details try reinstalling the project

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.