felixrieseberg / windows-build-tools

:package: Install C++ Build Tools for Windows using npm
MIT License
3.4k stars 237 forks source link

6 GB just to be to use node-gyp ?? #202

Closed AlexandraK closed 4 years ago

AlexandraK commented 4 years ago

The level of incompetence of M$ programmers baffles me. node-gyp requires to install this windows "build" bloat and I just lost 6 GB of space after running it. And for what? Just to be able to install npm packages. Seriously?

AlexandraK commented 4 years ago

And after running npm remove --global --production windows-build-tools spaces wasn't freed. So basically I am left with 6 GB of trash who knows where..

kuttim commented 4 years ago

You shouldn't install things on internet, if you don't know what you're installing.

jacobq commented 4 years ago

node-gyp requires to install this windows "build" bloat and I just lost 6 GB of space after running it. And for what? Just to be able to install npm packages. Seriously?

You only need to have build tools when you want to compile native node modules. That is, C/C++ code compiled specifically for your machine's architecture and node version. You do not need this in order to install pure JavaScript node modules.

Furthermore, if 6GB of storage space on a development machine seems like a lot to you then you may want to consider developing in a more space efficient ecosystem. Developing Node / JS on Windows is not well suited for space-constrained environments.

And after running npm remove --global --production windows-build-tools space wasn't freed. So basically I am left with 6 GB of trash who knows where.

As mentioned in the README, this package is meant as a convenient to download and install some other software. It is not designed to uninstall those, but you can certainly do so manually. See https://github.com/felixrieseberg/windows-build-tools/issues/68