#Could not find any Visual Studio installation to use

65 messages · Page 1 of 1 (latest)

neon widget

I am getting this error when I am trying to install the @discordjs/opus package, any fix?

fervent sedgeBOT
  • 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!
neon widget

This is the full error available

digital portal
neon widget
digital portal

😟

neon widget

Isn't this it?

I also have python and ffmpeg installed, so I don't know what is the issue

amber estuary

What about the buildtools install? That should take all work from you

neon widget
amber estuary

No, I mean the last command you used in #djs-help-v14 the one from the guide

neon widget
amber estuary

You can do that when it works. For now you should focus on getting it to work

neon widget

npm install --global --production --add-python-to-path windows-build-tools

this one

amber estuary

Yes. And fix the issues it tells you about

neon widget
neon widget

How do I fix it?

amber estuary

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🤦‍♂️

neon widget

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?

bronze stone

just use a nodejs installer and select that checkbox and let it finish, it should update everything automatically

neon widget
bronze stone

i think so

neon widget

Still gettinng this error

neon widget
amber estuary

Can you run npm -v

neon widget

ok

This is the output

So what do we get from this?

amber estuary

May I ask what version of windows that is?

neon widget

i think it should work on 11 right?

neon widget

updated my npm package now

amber estuary

Can you try in a new terminal (close that powershell and open a new one)

neon widget

The thing is this was installed easily in my bot project code

So @discordjs/opus is working

neon widget

What is happening then

amber estuary

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

amber estuary

Wait, so you‘re telling me your issue is fixed? Good

neon widget

for some reason

idk how tho

amber estuary

By you installing NodeJS with the build tool checkbox

neon widget
neon widget