Won't play the given Stream

node:events:491
throw er; // Unhandled 'error' event
^

Error: Cannot find module 'E:\Docs\Dev\MoonAssist\node_modules\@discordjs\voice\dist\index.js'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1022:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1015:15)
at resolveExports (node:internal/modules/cjs/loader:529:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:569:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at require (node:internal/modules/cjs/helpers:103:18)
at JoinChannel (E:\Docs\Dev\MoonAssist\events\Client\ready.js:44:149)
at Client.<anonymous> (E:\Docs\Dev\MoonAssist\events\Client\ready.js:39:3)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:394:10)
at processTicksAndRejections (node:internal/process/task_queues:85:21) {
code: 'MODULE_NOT_FOUND',
path: 'E:\\Docs\\Dev\\MoonAssist\\node_modules\\@discordjs\\voice\\package.json'
}
node:events:491
throw er; // Unhandled 'error' event
^

Error: Cannot find module 'E:\Docs\Dev\MoonAssist\node_modules\@discordjs\voice\dist\index.js'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1022:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1015:15)
at resolveExports (node:internal/modules/cjs/loader:529:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:569:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at require (node:internal/modules/cjs/helpers:103:18)
at JoinChannel (E:\Docs\Dev\MoonAssist\events\Client\ready.js:44:149)
at Client.<anonymous> (E:\Docs\Dev\MoonAssist\events\Client\ready.js:39:3)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:394:10)
at processTicksAndRejections (node:internal/process/task_queues:85:21) {
code: 'MODULE_NOT_FOUND',
path: 'E:\\Docs\\Dev\\MoonAssist\\node_modules\\@discordjs\\voice\\package.json'
}
My Djs Version: "discord.js": "^14.7.1", DJS Voice: github:discordjs/voice Node: v16.19.0
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Tay
TayOP2y ago
Okay somehow i janked it together that atleast that works. Now it wont play music
Fyphen
Fyphen2y ago
Please try re install packages that dependent on playing audio.
Kinect3000
Kinect30002y ago
Install @discordjs/voice for the voice package github:discordjs/voice is outdated and is no longer being used for that package
Want results from more Discord servers?
Add your server