Questions tagged [node-gyp]

a cross-platform command-line tool used for compiling addon modules for Node.js

Node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js, which takes away the pain of dealing with the various differences in build platforms.

Source: Github (node-gyp)

974 questions
0
votes
0 answers

node-gyp build error 'msbuild failed with error code 1'

I am getting this error while I try to run node-gyp build gyp ERR! build error gyp ERR! stack Error: `msbuild` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit…
0
votes
0 answers

node-gyp is trying to download node though it's already installed

Donwnloading .tar.gz files is blocked on my network. I'm trying to run "node-gyp configure --verbose" gyp info it worked if it ends with ok gyp verb cli [ 'node', gyp verb cli …
Artur Shamsutdinov
  • 3,127
  • 3
  • 21
  • 39
0
votes
0 answers

Writing cross version compatible nodejs addon

How would I write nodejs addon which would support all versions (atleast all stable versions > 0.10.6) of nodejs. For example, one version would have String::Utf8Value name(args[0]); where as another would have node::Utf8Value name(args[0]);. This…
Royal Pinto
  • 2,869
  • 8
  • 27
  • 39
0
votes
1 answer

npm install failure for module jenkins user ELIFECYCLE

We have an EC2 Ubuntu box running Jenkins that builds and tests a node app. Part of what Jenkins does is download dependencies. One of these dependencies (hashring) is giving an ELIFECYCLE error when installing it. The error only happens when…
Crowson
  • 141
  • 1
  • 9
0
votes
2 answers

Installation of Protractor 2.0 and MSBUILD error MSB3428

I still have problem with the Protractor 2.0.0 installation on my Windows 8 box (first problem here : see How to have protractor reliable results? and Cannot install Protractor 2.0.0 : ENOENT in bufferutil while node-gyp rebuild). The error at npm…
jmcollin92
  • 2,896
  • 6
  • 27
  • 49
0
votes
1 answer

Cannot install Protractor 2.0.0 : ENOENT in bufferutil while node-gyp rebuild

Trying to install Protractor 2.0.0, I'm facing the following problem: $ npm install -g protractor npm http GET https://registry.npmjs.org/protractor npm http 304 https://registry.npmjs.org/protractor ... npm http 200…
jmcollin92
  • 2,896
  • 6
  • 27
  • 49
0
votes
1 answer

Error while building the node-gyp

I had a *.cc file which contains the source file and while building the same using a node-gyp, it is throwing a strange error - "#error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define…
Kiran Joshy
  • 105
  • 10
0
votes
2 answers

node-gyp rebuild fails installing stanford-corenlp on Windows 7

There are quite a few similar threads, which I thoroughly worked through this weekend, none of which contained the answer to my problem. Installing the node package stanford-corenlp by calling npm install stanford-corenlp fails on my Windows 7…
0
votes
1 answer

Error when building node.js addon with node-gyp

I'm building a extremely simple node.js addon that just prints out the string "Hello". When I go to build it using "node-gyp build", I get an error: gyp info it worked if it ends with ok gyp info using node-gyp@1.0.2 gyp info using node@0.10.35 |…
Kevin Peter
  • 306
  • 2
  • 7
0
votes
1 answer

Getting node-gyp to work on win64 - missing ammintrin.h

I've searched high and low but can't get any of the suggested solutions to work. I get this error when trying to build any npm package with a native component: c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa tal…
nw.
  • 4,795
  • 8
  • 37
  • 42
0
votes
0 answers

node-gyp fedora 21 build node-libtorrent won t work

I'm running fedora 21 OS, with enabled "Development tools and creative suite" module. Linux maboiteaspam 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux I've specifically installed rb_libtorrent-devel via…
user4466350
0
votes
1 answer

How to catch SIGABRT inside a nodejs process?

I do hundreds of request per second using the request module in nodejs and sometimes i get the following error nodejs: ../deps/uv/src/unix/async.c:149: uv__async_io: Assertion `n == sizeof(val)' failed. Code: null Signal: SIGABRT how can i catch…
0x4139
  • 73
  • 2
  • 10
0
votes
2 answers

npm install canvas dies with "clang: error: no such file or directory: '{{}'"

I get this error while installing any node packages that run node-gyp rebuild: SOLINK_MODULE(target) Release/canvas-postbuild.node clang: error: no such file or directory: '{{}' make: *** [Release/canvas-postbuild.node] Error 1 gyp ERR! build…
Arkadiy Kukarkin
  • 2,153
  • 14
  • 24
0
votes
1 answer

Installing jsdom on nodejs, node-gyp ERROR: spawn ENOENT

After three days trying to install jsdom on Windows Server 2008 R2 x64 i finally decided to post here as all the solutions given in the other similar posts did not work for me. Here's what I've done so far on my x64 OS: Installed Python (v2.7.8)…
Egidi
  • 1,736
  • 8
  • 43
  • 69
0
votes
1 answer

EBUSY on unlink from "npm install -g oauthd"

So, I have an open issue at the oauthd repo: Issue but the activity in their issue list looks very sporadic. I'm trying to execute "npm install -g oauthd" from a MINGW32 shell. I'm being told by the console that I am doing that wrong. abates@MACHINE…
K. Alan Bates
  • 3,104
  • 5
  • 30
  • 54