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

LevelDOWN could not locate the bindings file when using electron.js under Windows 7

I created nodeJS server that uses levelDOWN module. So when I'm starting my server with node app.js everything is fine. I want to create electron desktop app that will use my app.js file. So I installed electron module and created electronApp.js…
0
votes
0 answers

How to clone aurelia / aureliajs app onto fresh windows 10?

Can someone please assist me in cloning aurelia / aureliajs app onto fresh windows 10 using JetBrains webstorm ? Steps I took: Install Windows 10 Install JDK Install Python 2.7 Install Nodist cmd: nodist latest command (to make sure) go to site…
equatorlounge
  • 29
  • 1
  • 9
0
votes
0 answers

node-gyp build on windows 10

I tried to install a package with npm, and i get the following : C:\Users\joube\Google Drive\Informatique\wikipedia-to-mongodb\node_modules\xml-stream\node_modules\node-expat>if not defined npm_config_node_gyp (node "C:\Program…
Léo Joubert
  • 522
  • 4
  • 17
0
votes
1 answer

node-gyp resolving external library symbols on windows build

I'm trying to build a node module on Windows 10 with MS VS 2015 and for some reason it's unable to resolve library symbols on node-gyp build. Here is my binding.gyp file: { 'variables' : { 'include_path' : 'path/to/include', …
Byte Lab
  • 1,576
  • 2
  • 17
  • 42
0
votes
1 answer

node-gyp rebuild fail bcrypt (Windows 8.1 x64)

I've been trying to install the bcrypt module in my project folder, but I keep on getting this error: D:\Node.JS\todo_app>npm install bcrypt --save > bcrypt@0.8.5 install D:\Node.JS\todo_app\node_modules\bcrypt > node-gyp…
Kyle Sentient
  • 487
  • 3
  • 7
  • 20
0
votes
1 answer

node-gyp rebuild error while installing node modules

I tried installing zerorpc package on node using 'npm install zerorpc' and I am getting following error. The error is because node-gyp fails to rebuild. npm http GET https://registry.npmjs.org/zerorpc npm http 304…
dsl1990
  • 1,157
  • 5
  • 13
  • 25
0
votes
1 answer

npm install, node-gyp rebuild error

I'm just starting out working with node.js and when I try npm install I get an error stating Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'. After extensive googling I still have not found the problem. Here's the error log: Error…
Cees
  • 1
  • 1
  • 2
0
votes
1 answer

Error gyp when install protractor

When i try install npm i protractor I have error. I have install msvs_version 2015 GYP_MSVS_VERSION=2015 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): error MSB8008: Specified platform too lset…
pmnazar
  • 134
  • 1
  • 8
0
votes
0 answers

Is there an option to write node add-on in python?

I want to have node bindings for a library that already has nice python bindings. I wonder if I can utilize those. If I add a python file in binding.gyp, node-gyp doesn't complain, but if I want to use it later on, it says the module did not…
nert
  • 942
  • 6
  • 17
0
votes
1 answer

Install Visual C++ Compiler on Windows without installing whole Visual Studio

NOTE This question can be duplicate of this or this question. But please don't close it as duplicate without reading entire question. I'm trying to install npm module browsersync on Windows, and by reading its documentation, I found that module…
Kushal
  • 3,112
  • 10
  • 50
  • 79
0
votes
1 answer

Issue installing strongloop on Windows 7

After attempting to install strongloop, It threw a few warnings and errors. Command used to install was: npm install -g strongloop Errors: c:\users\yoel\.node-gyp\4.2.4\include\node\v8.h(336): error C2988: unrecognizable template…
bladefist
  • 148
  • 1
  • 12
0
votes
1 answer

node-gyp error while doing npm install on a project

Apologies if this is a bit basic, I'm new but I've tried my best to resolve this to no avail and I really need this as part of training for my new job so any help is greatly appreciated. I'm trying to load the project found on this git repository:…
Crhistian
  • 67
  • 12
0
votes
2 answers

Unable to install contextify

I am trying to installed contextify globally. npm install -g contextify System Details: Node Version - 5.2.0 NPM Version - 3.5.2 System - CentOS release 6.7 (Final) Error I get when trying to install contextify: make: ***…
yashdosi
  • 1,186
  • 1
  • 18
  • 40
0
votes
2 answers

npm install mongodb fails (seems node-gyp related)

I have a Node.JS webserver hosted on my BeagleBone Black at home and I'd like to interface it with mongodb, so the natural thing to do was npm install mongodb. Obviously, it didn't work. I've googled it but didn't find my solution. Here's (part of)…
Fointard
  • 43
  • 1
  • 7
0
votes
1 answer

Is there a way for native npm packages to depend on a specific version of the V8 C++ API?

Today I discovered that old versions of node-fibers and bcrypt that compile successfully on node 0.10.40 don't compile successfully on node 5.1.0. For instance if I try to compile bcrypt 0.7.8, I get errors that must surely be due to changes in the…
Andy
  • 7,885
  • 5
  • 55
  • 61