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
d.js toolkit
d.js toolkit17mo ago
- 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!
dubfib
dubfib16mo ago
could you try downgrading to node 19?
jackssrt
jackssrtOP16mo ago
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
dubfib
dubfib16mo ago
yeah i think only up to v19 is supported for now
Want results from more Discord servers?
Add your server