node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

Specifc list of requirements for node-gyp versions on a Windows machine

Open punowo opened this issue 2 years ago • 2 comments

Hello.

Is there a place where I can see exactly what I have to install for a specific version of node-gyp ? Recently keep encountering node-gyp in different, some newer some older projects on a Windows machine and I would like to know what to install from "Visual Studio Installer" just by looking at the package.json instead of waiting for the error. The switch between python 2 and 3 is not that bad but when it comes to MSVC it feels like I have no idea what I'm doing and I get it working by pure luck.

Now I know that node-sass is deprecated or that I'm using an old version of node-gyp but this shouldn't be so much of a pain. Why is the whole "C++ workload" required ? In what way does node-gyp need stuff like "vcpkg or the "debugger" ?

Please understand that I'm coming from a workplace perspective. Most of the time is "we need to add this feature to this old project". Timmy on Linux installs base-devel or "Development Tools" or whatever and starts working and I'm fumbling around waiting for npm install to finish sometimes getting C++ errors related I can't even read because I barely know C++.

Don't mean to offend anyone, just wondering if there's anything better out there than me going through the changelog and making my own list.

punowo avatar Aug 13 '23 00:08 punowo

Duplicate of #2879

cclauss avatar Aug 23 '23 12:08 cclauss

Duplicate of #2879

May I ask how are these related ?

punowo avatar Aug 23 '23 14:08 punowo