Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(windows): Use other command for installing windows-build-tools #614

Open
TimPietrusky opened this issue Jul 2, 2021 · 3 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@TimPietrusky
Copy link
Member

The command in the docs takes forever and sometimes doesn't even finish.

I found this one just works: npm install --global [email protected]

From felixrieseberg/windows-build-tools#179

@2xAA
Copy link
Member

2xAA commented Jul 2, 2021

npm install --global --production windows-build-tools --vs2017
npm config set msvs_version 2017

This worked for me. I guess the newest version needs a version explicitly set for some reason?
Even though it does say VS2017 is the default.

@2xAA 2xAA added the documentation Improvements or additions to documentation label Jul 8, 2021
@TimPietrusky
Copy link
Member Author

It seems that node already comes with tools to build on windows and we don't need this anymore, see https://github.com/felixrieseberg/windows-build-tools

@2xAA
Copy link
Member

2xAA commented Mar 26, 2022

Depends how you install node.
My preferred method is using nvm, or nvm-windows.

nvm-windows doesn't install any build tools.
coreybutler/nvm-windows#627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants