ZerioDev / Music-bot

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

Another error #273

Closed Satyaki34 closed 6 months ago

Satyaki34 commented 1 year ago
D:\Music-bot-master\src\events.js:4
    console.log(`Error emitted from the queue ${error.message}`);
                                                      ^

TypeError: Cannot read properties of undefined (reading 'message')
    at _Player.<anonymous> (D:\Music-bot-master\src\events.js:4:55)
    at _Player.emit (node:events:513:28)
    at _Player.emit (D:\Music-bot-master\node_modules\discord-player\dist\index.js:207:18)
    at D:\Music-bot-master\node_modules\discord-player\dist\index.js:2537:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
i install everything with yarn,but still get this error...
Alphaegen commented 1 year ago

You should switch to the beta branch using git checkout "beta-(Bugs-are-expected)". The main branch has issues. Don't forget to remove the node_modules folder, Yarn or NPM lock file and reinstall using yarn.