Closed andrevitxr closed 2 years ago
Hey @playboyander, please do the following commands in your cli in the bot folder
npm i @discordjs/opus node-opus opusscript
The general idea is that if the node error is Cannot find module 'something' you should do npm i something
Please let me know whether this fixed the issue or not!
package.lock is old, it was created on an older version of npm, it doesn't support discord.js@12.5.3
you need to update package.lock
Do npm rebuild
C:\xampp\htdocs\voice-interrupter-discord-bot-main\node_modules\prism-media\src\util\loader.js:12 throw new Error(errorLog.join('\n')); ^
Error: Error: Cannot find module '@discordjs/opus' Require stack: