Issues installing @discordjs/opus
Attempting to install discordjs/opus, getting multiple errors. I've successfully installed the build tools, VS 2017 build tools, proper versions of python/C++/etc, getting a weird error and I'm not sure why.
5 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!
- ✅
Marked as resolved by OPTo save scrolling (it's pretty far down), the first error is:
I can't for the life of me figure out what's wrong.
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
I did, yeah, installed through visual studio installer. 2015 is installed for sodium, 2019/2022 workloads installed as well. Maybe I also need 2017? :Sweating:
Technically, with VS (I have 2022), but some stuff required older build tools.
I do see that VCTargetsPath is missing entirely from the registry on all the versions, interesting...
I see what you meant though, I didn't have them selected as part of VS 2022. I'll try that as well. Who needs disk space?
Heh, I fixed it by setting msvs_version to 2019 ...which is interesting since
sodium
doesn't support anything above 2015.