#Could not find any Visual Studio installation to use
65 messages · Page 1 of 1 (latest)
- 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!
This is the full error available
I think i have it installed
😟
Isn't this it?
I also have python and ffmpeg installed, so I don't know what is the issue
What about the buildtools install? That should take all work from you
Do you mean visual studio community 2022?
No, I mean the last command you used in #djs-help-v14 the one from the guide
So I should delete the visual studo comminuty 2022?
You can do that when it works. For now you should focus on getting it to work
Ok so I should use that cmd again and try then?
npm install --global --production --add-python-to-path windows-build-tools
this one
Yes. And fix the issues it tells you about
Ok let me try it again
I am getting this error
How do I fix it?
Ugh, mb. That’s deprecated… the nodejs installer should have a checkbox for you to install everything you need as stated by the tag I sent earlier… apparently the guide is outdated🤦♂️
I already selected that checkbox
So now I should uninstall everything and download nodejs again?
Like I should uninstall nodejs, python, windows tools communmity 2022, all c++, windows runtime and all
And then install nodejs?
just use a nodejs installer and select that checkbox and let it finish, it should update everything automatically
I should choose the option Change from the installer?
i think so
Still gettinng this error
do u know why im getting this?
Can you run npm -v
ok
This is the output
So what do we get from this?
May I ask what version of windows that is?
windows 11
i think it should work on 11 right?
here
updated my npm package now
Can you try in a new terminal (close that powershell and open a new one)
ok
same error
The thing is this was installed easily in my bot project code
So @discordjs/opus is working
You don’t need to install that anymore… as I Said, that’s deprecated. Just checking the C++ tools in node installer should do that now
Because you probably don’t host your bot on a windows 11 machine?
Wait, so you‘re telling me your issue is fixed? Good
yes
for some reason
idk how tho
By you installing NodeJS with the build tool checkbox
But i still get this error
Do you know about mongodb?