Thomas Haireon Stack Overflow • Recommends
On “Error: Cannot find module '@discordjs/opus'”
Try this:
npm install discordjs/opus
I had the same issue "Error: Cannot find module '@discordjs/opus'" when trying to get my discord js bot to play an .mp3 file when a certain user was speaker
Figured this solution out by watching this video.
link to this video
If you don't want to click on the link, just search "How to play audio in voice channel discord js" on youtube!