Not installing packages

A few days ago my bot has stopped working i updated my package.json folder and then i reinstalled discord.js but its giving these errors when i try to install any package stuff.
My project’s name is hinata-bot

npm WARN deprecated snekfetch@3.6.4: use node-fetch instead
npm WARN discord.js@11.4.2 requires a peer of bufferutil@^3.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@11.4.2 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@11.4.2 requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@11.4.2 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js@11.4.2 requires a peer of uws@^9.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN Discord-Bot-Maker-Bot@1.2.9 No description
npm WARN Discord-Bot-Maker-Bot@1.2.9 No repository field.
npm WARN Discord-Bot-Maker-Bot@1.2.9 No license field.

Heya @Hinata-chan, welcome to the Glitch forum!

When I take a look at your project I’m not seeing any active problems - when you say your bot’s not working what do you mean exactly?

When i try to open a music with my music on discord bot connects to voice channel then after a sec it leaves.
I think that’s a problem with ffmpeg or other packages.

it could be your project reaching the max memory usage when using the music, I suggest having the music on a separate project if possible so it gives it some extra memory and then the rest of the bot on another project, Glitch is not really the best for music bots currently, but in the future you will be able to expand your projects memory, and then you can keep the music with your bot.

Can you try playing a song, and keep checking the projects logs,and when the music stops and the bot disconnects from the channel, can you tell me if the logs say anything that would be in red text!

1 Like

No i can’t see any errors.
How can i clear my bots music cache so i can play songs.