node-gyp
node-gyp copied to clipboard
Windows installation: Can't find "Visual C++ build tools" workload
Trying to install on windows with the instructions from the readme.
it says: Install Visual C++ Build Environment: Visual Studio Build Tools (using "Visual C++ build tools" workload)
i install visual studio build tools 2019 16.11.11, and I see a workloads tab, but none of the options are called "Visual C++ build tools"
here are the options i am given:
am I missing something? did i install the wrong software? is it under a different name?
https://github.com/nodejs/node-gyp/blob/91eb407f8418235d51c72b6a8df9c454ba882554/README.md#L53-L55
You've probably already solved this problem but for anyone else using visual studio it's the "Desktop development with C++" workload.
@skeddles Can this issue be closed?
The readme should be updated for Windows, I ran into the same problem.
@StefanStojanovic Should both work or only the latter?
@raress96 Please make the appropriate edits at https://github.com/nodejs/node-gyp/edit/main/README.md which should create a pull request.
@StefanStojanovic Should both work or only the latter?
I left a comment in a PR, but basically, it depends on the version of the build tools you're installing. Both workloads are mutually exclusive and each is valid for certain versions of the build tools.