3 ms·
Node-gyp is definitely one of my pain points. Having to install Visual Studio to run a node package seems insane. And it needs 6gb on _all drives_?? It still
by cozuya 11y ago
Node-gyp is definitely one of my pain points. Having to install Visual Studio to run a node package seems insane. And it needs 6gb on _all drives_??
It still didn't work until I stumbled upon the --msvs_version flag for npm i. And this is for a dependency in mongodb!
- tracker1 11y agoYou can set that globally... Many windows devs already have a version of VS installed. Though less common than say build-essentials in ubuntu, or xcode in OSX. You're likely to see the same issues there if you don't have them. Python 2.x is the bigger oddity to me... seems like python's role with gyp should be replaced with something self-bootstrapped at this point.