Can't install @discordjs/opus.
I am running windows 10, node v.20.4.0, @discordjs/opus v.0.16.0. I have installed Visual Studio 2022 Community Edition with the C++ workload, and use pnpm as my package manager. When I try to install @discordjs/opus after two minutes I get this error: https://hastebin.com/share/vebiterace.swift . Switching to opusscript is not an option either, because I get an error when trying to use it instead.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button!could you try downgrading to node 19?
yeah for the meantime downgrading to node v.18 fixes it but still it would be nice to be able to use the latest node version
yeah i think only up to v19 is supported for now