npm install @discordjs/opus

No description
7 Replies
d.js toolkit
d.js toolkit4mo 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!
ThePedroo
ThePedroo4mo ago
Unsure how to fix this, but as a workaround you can use opusscript
Aquie
Aquie4mo ago
Yes, I installed the necessary things.
Sago
Sago4mo ago
Downgrading to node v19.x fixes the issue. Would also love to know a fix for higher versions.
ThePedroo
ThePedroo4mo ago
Weird, I've been using for a while, I'll see if prism-media is using opusscript or djs/opus and lky Is djs/opus maintained? The last commit to it was 2y ago
Aquie
Aquie4mo ago
v20 use
ThePedroo
ThePedroo4mo ago
Updating libopus, for example. The one in djs/opus is 5y old Not quite, v1.3 and v1.2 also exists While that, it seems like there's barely any attention for its issues, especially when compared to the other discord.js org libraries In any case, for this issue it's easier to use opusscript while this is not fixed 🤷‍♂️ However I myself use v21 and never had building problems with djs/opus 2019 was 5 years ago? What.. in any way, the rest counts