N
N
Nikolai Gromov2016-02-14 13:56:53
Windows
Nikolai Gromov, 2016-02-14 13:56:53

Windows 10: How to fix node-gyp.js issue?

When installing npm packages, I see error messages related to node-gyp.js relatively often. An example with installing gulp-combine-mq: https://gist.github.com/nicothin/1353fb8d63d7ece71792 A package delivered with such errors, of course, does not work.
I found the instruction https://github.com/nodejs/node-gyp#installation but it requires Visual Studio Community 2015 to be installed, and this is 16 GB - take.ms/Xyjat , which is somehow not comme il faut.
Are there any other ways besides moving the workflow to a virtual machine with Ubuntu?
Maybe somewhere you can take an already assembled version of this utility so as not to kill several hours of time and 16 gigs of space for the elementary function of combining media constructs in CSS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yamberg, 2016-11-12
@m_finger

Win8. I was helped by your second link. Namely, this command:

npm install --global --production windows-build-tools

16 GB did not have to be downloaded. I actually started installing Visual C++ Build Tools (4GB) and ran the command in parallel. But it seems to me that only one command is enough (I checked it, it is .... I checked it again, it looks like he installs these 4 GB using this command). "It" itself downloaded and installed Python2.7 and Visual Studio Build Tools. I was then able to install node-static and socket.io. But it didn’t work because one of them demanded to rebuild node-gyp.

A
Alexander Taratin, 2016-02-14
@Taraflex

Community 2015, which is 16 GB

Squeeze out the daws in general from everything except visual c++ support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question