node-gyp

error MSB3411: Could not l oad the Visual C++ component “VCBuild.exe”

僤鯓⒐⒋嵵緔 提交于 2019-12-28 11:57:28
问题 I have Visual Studio 2010 with SP1 and Windows sdk 7.1. I also have VS2012 and Windows kit 8. when i run Windows SDK 7.1 Command Prompt and run node-gyp build --msvs_version=2010 it gives me error: error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not installed, either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Fr amework 3.5, or 2) install Microsoft Visual Studio 2008. Is it trying to find VCBuild.exe. I found that vcbuild

npm install gives node-gyp error

喜你入骨 提交于 2019-12-25 03:44:18
问题 I recently switched back to node from iojs, finally got the install to work for node and npm, but now can't get my project's dev dependencies loaded. npm install yields the following... > bufferutil@1.2.1 install /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/bufferutil > node-gyp rebuild CXX(target) Release/obj.target/bufferutil/src/bufferutil.o clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node' clang: error: no such file or directory: 'son/.node-gyp/5.0.0

Can't compile native module against electron instead of node.js

你离开我真会死。 提交于 2019-12-24 21:42:44
问题 I am writing a simple native module to use with electron app, but it compiles with the NODE_MODULE_VERSION 72 (node's version) instead of 73 (electron one). I used every possible step described here. electron-rebuild creates a folder structure bin/darwin-x64-73 (where 73 I suppose means module version), but upon requiring it from electron, app threw's with the same error Here's my simple binding.gyp: { "targets": [ { "target_name":"module_name", "sources":["path/to/module.cpp"], } ] } and I

npm ref could not locate the bindings file error

安稳与你 提交于 2019-12-24 00:40:01
问题 I'm using the package ref in my nodejs project that makes use of electron. But the problem is when I use ref in my JS code, it throws an error that it could not locate the bindings file. Here's the error Error: Could not locate the bindings file. Tried: → C:...\EMVModule.asar\node_modules\ref\build\binding.node → C:...\EMVModule.asar\node_modules\ref\build\Debug\binding.node → C:...\EMVModule.asar\node_modules\ref\build\Release\binding.node → C:...\EMVModule.asar\node_modules\ref\out\Debug

Error: not found: make

元气小坏坏 提交于 2019-12-23 12:25:58
问题 I can't install any packages that requires node-gyp . The error message goes like this $ npm install node-protobuf info trying registry request attempt 1 at 22:43:57 http GET https://registry.npmjs.org/node-protobuf http 200 https://registry.npmjs.org/node-protobuf npm http GET https://registry.npmjs.org/node-protobuf/-/node-protobuf-1.0.8.tgz npm http 200 https://registry.npmjs.org/node-protobuf/-/node-protobuf-1.0.8.tgz > node-protobuf@1.0.8 install /home/whs/node_modules/node-protobuf >

Trouble configuring/building couchnode on ubuntu

一世执手 提交于 2019-12-23 10:06:45
问题 I have installed both nodejs, and the module couchbase via npm. couchbase is installed too, and I can access to the backend via the browser. The same server.js file does work on windows. I have installed python 2.7. am I missing something? Im getting the Error: marcel@servermarcel:~/game$ nodejs server.js /home/marcel/game/node_modules/couchbase/lib/binding.js:156 throw new Error('Failed to locate couchnode native binding' + ^ Error: Failed to locate couchnode native binding (maybe check

node-gyp - not finding library headers

这一生的挚爱 提交于 2019-12-23 09:00:37
问题 I'm trying to use a the gstreamer framework in my node addon. I had the following to my to my binding.gyp, but when i run the build command it, the console states that the header is not found. When i compile my gstreamer files outside of node-gyp, it compiles successfully. Does anyone see something wrong with my binding file ? console hello.cc3:25: fatal error: gstreamermm.h: No such file or directory binding.gyp { "targets": [ { "target_name": "addon", "libraries": [ "-lgstreamer-1.0", "-L

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

天涯浪子 提交于 2019-12-23 04:31:34
问题 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 https://registry.npmjs.org/nan > utf-8-validate@1.0.1 install C:\Users\clouderial\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\node_modules\ws\node_modules\utf-8-validate > node-gyp rebuild C:\Users\clouderial\AppData\Roaming\npm\node_modules

NodeJS - Cannot open include file: 'unistd.h':

笑着哭i 提交于 2019-12-23 02:36:19
问题 I am using VisualStudio 2012 and run on a windows 7 machine. I want to execute the command make all under my windows machine. For this I installed Make for Windows. Furthermore, I want to compile node library talib. I opened the make file to execute the commands by nodeJS itself. That`s the command I want to run: cd ./src/lib && node build.js && cd ../../ && node-gyp configure && node-gyp build The first part, runs well: cd ./src/lib && node build.js However, running the second part cd ../../

What parts of ArangoDB are done with Node-GYP

空扰寡人 提交于 2019-12-23 01:21:31
问题 I am figuring out the structure of ArangoDB to be sure whether it could be my long term solution. One of my important questions is, what parts are made by node-gyp (or Node-Addon) - and how does the query-builder transforms JavaScript generated AQL queries to be fast as native? I know I also could go deeper into the code myself, but I think it is much faster if some of the core developers would answer this (or explain how they expose functionality to JavaScript and AQL). I think it is