D
D
Dmitry Demin2015-04-12 07:46:51
Node.js
Dmitry Demin, 2015-04-12 07:46:51

Windows. How to build a module for node.js?

Hello. The question is more practical than theoretical.
The bottom line is that every (!) time I try to build something C for node, I always see a lot of lines in the console that start with ERR.
Let's take as an example an old, already dusty, win32ole module. Yes, I needed him, but not about that now.
It all started with an attempt to install - error: did not find MSBuild. Okay, add an extra flag to the command, run: incompatibility between the v8 version and the module.
I downloaded the old one needed by the module, node. Launched with the required version of MSBuild - does not work!
After a couple of hours of googling, I came to the conclusion that I still have to download Visual Studio (fortunately, it's free).
Downloaded, installed - progress has moved, but ... not as far as we would like ...
Repeat three times {
Google again, tambourine again, search again for what is wrong with my system. Retry.
}
And you know what? So far, I have not collected it. So tell me people, how to collect these motherfucking modules for node under windows?
PS I will not describe all the cases, but among all, I managed to build only one and it did not work :(
PSS And yes, later I installed all-all-all the dependencies described on the node-gyp page, but this did not help much.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Radushevsky, 2015-04-12
@doromones

wouldn't it be easier to use a linux environment? in the same virtualbox?

K
Konstantin Kitmanov, 2015-04-12
@k12th

Write to the author of the package - he knows better what is required there.
In general, yes, collecting under Windows is a hassle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question