#Updating npm packages
1 messages · Page 1 of 1 (latest)
Hello!
this place is totally private
Nobody will get in trouble for asking for help in here. That’s the whole purpose
I ran some commands, and it isn't updating.
Be more specific please
npm install --save discord.js@13.8.1 distube@3.3.4 ffmpeg-static@5.0.2 @discordjs/opus@0.8.0 --color=always
Those were outdated.
But it isn't installing./
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/abort-controller
npm ERR! dest /home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/.abort-controller-S48AWvyj
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/abort-controller' -> '/home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/.abort-controller-S48AWvyj'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-07-08T16_27_17_299Z-debug-0.log
Error.
Use rm instead of install here. And after that only install discord.js
Playing music from YT is against yt TOS and thus also against discord‘s developers TOS. Can’t support that
rm discord.js@13.8.1 distube@3.3.4 ffmpeg-static@5.0.2 @discordjs/opus@0.8.0 --color=always
Like this?
Ohh
npm should stay
What cmd do I run then?
This but with npm at the front (additionally)
npm rm discord.js@13.8.1 distube@3.3.4 ffmpeg-static@5.0.2 @discordjs/opus@0.8.0 --color=always
like this?
Yes (well the color thing isn’t needed, but that’s your choice)
npm ERR! ENOTEMPTY: directory not empty, rename '/home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/abort-controller' -> '/home/advanced-24-7-Radio-with-Youtube-Playlists/node_modules/.abort-controller-S48AWvyj'
how do I rename the directory?