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

Different compiling version while trying to run an electron project

I currently an trying to make a node js project using electron and node-gyp for c addons. But when I try to run my program using electron index.js I get this error: A JavaScript error occurred in the main process Uncaught Exception: Error: The…
Ubspy
  • 15
  • 5
0
votes
1 answer

node-gyp - Handling ".h.in" files

I created a project which contains a git submodule libxml2. I want to use this files inside my binding.gyp, but i get errors while running node-gyp build. The problem here is that there is only a xmlversion.h.in file but an xmlversion.h file is…
kpalatzky
  • 1,213
  • 1
  • 11
  • 26
0
votes
1 answer

gyp ERR! configure error in ubuntu while installing angular 4 project

I am a new bee in angular4. I am setting up an angular4 project (it's a simple admin panel) using npm install, but it's showing gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, It is happening to any angular4 projects,…
0
votes
0 answers

Meteor deployment runs no node-gyp rebuild

When deploying my bundle on the server (Ubuntu 16.04.2 LTS), there is no node-gyp rebuild for my bcrypt package. Step 1 When running in /bundle/programs/server/ the npm install command, I just get the following output: npm WARN package.json…
Jankapunkt
  • 8,128
  • 4
  • 30
  • 59
0
votes
0 answers

Can´t rebuild node-gyp

I´ve already installed node modules, but I had an issue with bcrypt and to solve it y tried to rebuild node-gyp, but it launches an error:
YanetP1988
  • 1,346
  • 3
  • 18
  • 43
0
votes
2 answers

Pass Binary string/file content from c++ to node js

I'm trying to pass the content of a binary file from c++ to node using the node-gyp library. I have a process that creates a binary file using the .fit format and I need to pass the content of the file to js to process it. So, my first aproach was…
jmahecha
  • 11
  • 2
0
votes
1 answer

Failing to install sqlite3 plugin for electron project on windows

I am trying to include sqlite3 in an electron project I am getting my hands dirty with. I have never used electron, nor Node before, excuse my ignorance. I understand that to do this on Windows, I need Python installed, I need to download sqlite3,…
MattCash
  • 81
  • 2
  • 9
0
votes
1 answer

Can't find node-gyp

Windows 7 node 6.9 npm 3.10.8 python 2.7 node-gyp 3.6.2 VS Build tools 2015 When installing msgpack, I'm getting this error: I've already set npm_config_node_gyp as env var with…
João Paulo
  • 6,300
  • 4
  • 51
  • 80
0
votes
1 answer

node-gyp build error java module

I'm getting troubles trying to install JAVA module in my NodeJS app. I'm working on Ubuntu: NodeJS: v6.2.0 NPM: 3.8.9 Node-gyp: v3.3.1 Pyhton: 2.7.12 GCC: 5.4.0 And I get all these errors trying npm install: gyp ERR! build error gyp ERR!…
nash
  • 523
  • 1
  • 5
  • 18
0
votes
1 answer

Using a slightly older version of GLIBCXX

Background: I have AWS Lambda running nodejs 6.10. For my code i need to have a C Library to run algorithms. Which is compiled by node-gyp on my machine. My buildserver was an outdated ubuntu 14.04, on which i was running my node-gyp compiled code…
agfkhj11
  • 11
  • 1
  • 5
0
votes
1 answer

How do you deploy a dynamic library with a Node C++ add-on?

I am compiling a Node C++ Add-on using cmake-js. I have dynamic library I am referencing in my C code. I.e.: *src MyAddon.cpp *foo *include *lib *linux64 libfoo.so That compiles fine. But I get an error when I run How do I ensure…
griffin2000
  • 709
  • 9
  • 26
0
votes
1 answer

node-gyp configure build errors on WIndows 10

link to the log: Here I Currently have Visual Studio 2017 installed. Thought that may be relevant. Also have python 2.7.3. Any help would be amazing! Edit: Turns out I also have VS2010 Express installed.
0
votes
2 answers

Node gyp error even after setting the environment variable

I have set my environment variable as PYTHON=D:\Program Files\Python36-32\python.exe, but still I get the below error. This is while doing npm install node-gyp --save. I am not able to find a solution for it. My python version is python-3.5.6 gyp…
Surya
  • 628
  • 3
  • 9
  • 26
0
votes
1 answer

Unable to Installing hiredis@0.5.0 on Windows 10 x64

I am trying to install hiredis on a Windows 64-bit system because it is required by the node-celery package. System is running Node v7.9.0 npm v4.5.0 Visual Studio Community 2013 with Update 5…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
0
votes
1 answer

Compiling native node module with npm i fails, works with node-gyp rebuild

I'm trying to compile a native node module using npm i This fails with error gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (C:\Program…
magritte
  • 7,396
  • 10
  • 59
  • 79