mlg404 / whatsapp-music-bot

A whatsapp bot to send and search musics to your friends!
MIT License
124 stars 78 forks source link

keeps crashing #6

Closed MrOliverYt closed 3 years ago

MrOliverYt commented 3 years ago

everytime i try to play a song it says " app crashed - waiting for file changes before starting..."

can u help? thx

mlg404 commented 3 years ago

Give more details. Show the entire error log

MrOliverYt commented 3 years ago

now it shows this:

(node:2342) UnhandledPromiseRejectionWarning: Error: Could not find player config at exports.getBasicInfo (/Users/oli/whatsapp-music-bot/node_modules/ytdl-core/lib/info.js:59:13) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Object.exports. [as getBasicInfo] (/Users/oli/whatsapp-music-bot/node_modules/ytdl-core/lib/info.js:296:18) at async exports.getFullInfo (/Users/oli/whatsapp-music-bot/node_modules/ytdl-core/lib/info.js:187:14) at async Object.exports. [as getFullInfo] (/Users/oli/whatsapp-music-bot/node_modules/ytdl-core/lib/info.js:296:18) (node:2342) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:2342) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.