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
1 answer

node-webkit native module with dll

I'm using node webkit with the node webkit hipster seed I have build a native C++ module, using the Leap Motion SDK, which compile and work fine with node-gyp. Now I'm trying to implement it on node webkit, but I always get "Error: no error" when I…
0
votes
1 answer

installing node.js module on windows - node-gyp can't find vcbuild task

All, Likely a noob question, but being brand new to node.js I'm stuck and going in circles so looking for a little prodding in the right direction (my skills are .NET and browser JS). My first node.js application will read the Windows serial port,…
deandob
  • 5,100
  • 5
  • 25
  • 37
0
votes
1 answer

node-gyp errors out when compiling a simple program

I am compiling my first hello world node-gyp program from Addons Node.js v0.10.21 doc. Typing "node-gyp configure" causes an error as shown below. Appreciate any help in fixing this error. node-gyp configure gyp info it worked if it ends with…
John Qualis
  • 1,663
  • 4
  • 33
  • 52
0
votes
3 answers

How to install customer node.js binary module globally?

So I've made my own module with C++ and node-gyp. Things go fine after node-gyp configure build and I've got under build/Release everything I need. Now, in my other project where I'm using this module, I don't want to add it like var a =…
nhaa123
  • 9,570
  • 11
  • 42
  • 63
0
votes
0 answers

std::shared_ptr and VS2010 utility

I had these two functions in my project: char* V8StringToChar(v8::Handle str); char* V8StringToChar(v8::Local val); I converted them to: std::shared_ptr V8StringToChar(v8::Handle str); std::shared_ptr
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
0
votes
1 answer

Can't install npm module telldus-core-js

Hello I wounder if you could help me be able to build telldus-core-js on an raspberry pi. I get the error below and cant figure out what i'm doing wrong. The module I'm trying to install is this https://github.com/evilmachina/telldus-core-js with…
0
votes
1 answer

Writing bindings.gyp from wscritp

I am really new to node.js and node-gyp, but i want to build a module from a wscript. As far as I know I would need node-waf to build the module directly, but since this is no longer supported, I would like to create a bindings.gyp from wscript. My…
budde
  • 182
  • 12
0
votes
1 answer

generate a node-gyp compiled class over 2gb

I'm trying to configure and build a c file that links ~ 2GB of space. When I try to build this file using node-gyp, I get the following message: relocation truncated to fit: R_X86_64_PC32 against `.bss' In conventional gcc compiling, I could use…
abstract_a
  • 146
  • 2
  • 10
0
votes
1 answer

Node.js: Error: 403 status code downloading tarball

I was trying to install some modules in Nodejs, using NPM, but in some cases the install dont go on, and a error is returned: Error: 403 status code downloading tarball I got this again when I trying to install…
Marcelo Rodovalho
  • 880
  • 1
  • 15
  • 26
0
votes
1 answer

node-gyp rebuild error in nodejs

I have installed nodejs v0.8.11 with node-gyp v0.9.5 but when I try to install other modules that need to be compiled, I get the following error: # npm install net-ping npm install net-ping npm http GET https://registry.npmjs.org/net-ping npm http…
user2293743
  • 91
  • 1
  • 5
0
votes
1 answer

How to Install node_modules using node-gyp?

I am trying to install node-opencv . The repo is successfully build . I want the opencv project to be installed as node_module globally . Is that possible ? I am new to node world. 'node-gyp rebuild' is same as 'npm install' ? Because is built…
saurabh shashank
  • 1,343
  • 2
  • 14
  • 22
0
votes
2 answers

node-gyp configure error at execvp()

Under Node 0.8.20 Compile the node addon from here Have node-gyp, python 2.7.3 and gcc installed. When running node-gyp configure errors occurred. Below is the error outputs: gyp info it worked if it ends with ok gyp info using node-gyp@0.8.5 gyp…
geeker
  • 345
  • 6
  • 15
0
votes
1 answer

node-gyp and binding,gyp not default_configuration

I am trying to compile a module as release by defaults, I set at buinding.gyp the 'target_defaults': { 'default_configuration': 'Release' }, But always I got as BuildType="Debug" gyp info it worked if it ends with ok gyp info using…
Agus
  • 1,604
  • 2
  • 23
  • 48
0
votes
1 answer

Run CImg library with node-gyp error

I want to use CImg library to deal images in node.js,so i write an node addon to do it. The compile is success, i run node-gyp build commond, that's ok. But when i run the node program,the follow error occurs: [root@localhost hcaptha]# node index.js…
WuZhonghua
  • 331
  • 1
  • 2
  • 9
0
votes
1 answer

Node-gyp to generate non Node.js projects?

Can node-gyp by used to generate non Node.js addon projects? For instance, I'd like to use node-gyp to generate a typical "Hello, World!" C++ project. Can I do this, and how would I go about it? I'm finding the stock python GYP documentation to lack…
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
1 2 3
64
65