Trying to uninstall yt-dlp

I have been trying to uninstall yt-dlp from my bot but it just reinstall even tho it isn't in my packages files
3 Replies
d.js toolkit
d.js toolkit10mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Electrix
ElectrixOP10mo ago
• Discord.js : 14.6.0 • Node : v20.11.0
Error: Cannot find module '@distube/ytpl'
Require stack:
- /home/container/node_modules/distube/dist/index.js
- /home/container/bot.js
- /home/container/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/usr/local/lib/node_modules/ts-node/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/home/container/node_modules/distube/src/core/DisTubeHandler.ts:1:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Object.require.extensions.<computed> [as .js] (/usr/local/lib/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/container/node_modules/distube/dist/index.js',
'/home/container/bot.js',
'/home/container/index.js'
]
Error: Cannot find module '@distube/ytpl'
Require stack:
- /home/container/node_modules/distube/dist/index.js
- /home/container/bot.js
- /home/container/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/usr/local/lib/node_modules/ts-node/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/home/container/node_modules/distube/src/core/DisTubeHandler.ts:1:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Object.require.extensions.<computed> [as .js] (/usr/local/lib/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/container/node_modules/distube/dist/index.js',
'/home/container/bot.js',
'/home/container/index.js'
]
chewie
chewie10mo ago
not djs related, #useful-servers #other-js-ts
Want results from more Discord servers?
Add your server