Error installing @discordjs/opus
I've been trying to install @discordjs/opus with Bun 1.1.8 and also Node 20.1.3, but it always throws me the following error.
I notice that the command is trying to fetch a prebuilt binary that doesn't exist
2 Replies
- 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!I was facing the same issue with bun, make sure you add
@discordjs/opus
to your trustedDependencies
in package.json.
Also make sure you have these dependencies in your system (just in case!)