3 ms·
i do my development on windows and my servers are ubuntu. I have had no such problems running. You need to install the proper prereqs for node-gyp, but those
by novaleaf 11y ago
i do my development on windows and my servers are ubuntu. I have had no such problems running.
You need to install the proper prereqs for node-gyp, but those are clearly explained on the node-gyp docs.
- cozuya 11y agoNode-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.