node-gyp

NPM: The “ld: library not found for -lgcc_s.10.5” on On OS X El Capitan?

≯℡__Kan透↙ 提交于 2020-01-30 16:15:26
问题 When I use npm install to install dependencies of this repository, I encountered an error like this: > fsevents@0.3.8 install /Users/hanfeisun/Workspace/vue-webpack-example/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents > node-gyp rebuild SOLINK_MODULE(target) Release/.node ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Release/.node] Error 1 gyp ERR! build error gyp ERR

node-gyp rebuild issue for lwip in azure web app: fatal error C1083: Cannot open include file: 'nan.h': No such file or directory

和自甴很熟 提交于 2020-01-15 09:52:10
问题 I have deployed a node application in azure. Environment detail in azure web app is as following- Python version : 2.7 Platform : 32 bit Dotnet framework : 4.6 Node version : 6.3.0 Npm version: 3.10.3 In my application I am using lwip, which need build using visual C++ build tools. When I do npm install its failing on node-gyp rebuild . I am getting many error message for the same message type "fatal error C1083: Cannot open include file: 'nan.h': No such file or directory" I have checked

Node GYP Static Library on Windows

雨燕双飞 提交于 2020-01-13 06:45:09
问题 I'm trying to link a Static Library to a node.js addon in windows. I used Visual Studio 2013 Express to create a .lib library and I link it in the binding.gyp file as follows: { "targets": [ { "target_name": "modbus", "sources": [ "modbus.cc" ], "include_dirs": [ "<!(node -e \"require('nan')\")", "lib/libmodbus/src" ], "libraries": [ "-l<(module_root_dir)/lib/libmodbus/src/win32/modbus.lib" ] } ] } When I run node-gyp rebuild I recieve errors like: modbus.obj : error LNK2001: external symbol

Why does node-gyp (and other stuff) require Visual Studio?

孤街浪徒 提交于 2020-01-12 04:54:28
问题 node-gyp isn't the first thing I've run into requiring it, but this seems odd. I assume this has something to do with building executables or plugins or whatever but is there no dependency smaller than a complete version of Visual Studio or VS Express that can fit the bill? I though you could actually write, build and run .net apps without a copy of VS if you really wanted to. I ask with intent to at least learn some C++ or whatever else it takes while attempting to address the problem

npm install mongoose causes gyp and kerberos errors (gssapi/gssapi.h file not found)

ぐ巨炮叔叔 提交于 2020-01-09 09:19:28
问题 Ubuntu 14.04 nodejs version is v4.1.1 installed with these commands: curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs mongodb installed via mongodb docs tutorial Next I tried installing mongoose by doing sudo npm install mongoose I received the following error: > kerberos@0.0.14 install /root/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos > (node-gyp rebuild) || (exit 0) gyp ERR! build error gyp ERR!

npm install mongoose causes gyp and kerberos errors (gssapi/gssapi.h file not found)

旧巷老猫 提交于 2020-01-09 09:17:47
问题 Ubuntu 14.04 nodejs version is v4.1.1 installed with these commands: curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs mongodb installed via mongodb docs tutorial Next I tried installing mongoose by doing sudo npm install mongoose I received the following error: > kerberos@0.0.14 install /root/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos > (node-gyp rebuild) || (exit 0) gyp ERR! build error gyp ERR!

How do I tell a native node.js extension where to find (the right) libstdc++?

十年热恋 提交于 2020-01-05 14:23:01
问题 I’m installing scrypt (https://www.npmjs.com/package/scrypt) from npm. The installation involves a node-gyp build step that builds a native node.js extension. When I then start my app, it fails with the following error: node index.js module.js:568 return process.dlopen(module, path._makeLong(filename)); ^ Error: /package/host/localhost/gcc-4/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/xxxx/xxxx/node_modules/scrypt/build/Release/scrypt.node) at Error (native) at

Error building libxmljs for node.js

二次信任 提交于 2020-01-05 03:04:06
问题 I'm having a problems building libxmljs on my mac os x 10.9.3. Here's what I'm getting: 3 warnings generated. CC(target) Release/obj.target/libxml/vendor/libxml/xpointer.o LIBTOOL-STATIC Release/xml.a libtool: unrecognized option `-static' libtool: Try `libtool --help' for more information. make: *** [Release/xml.a] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib

Error building libxmljs for node.js

跟風遠走 提交于 2020-01-05 03:04:06
问题 I'm having a problems building libxmljs on my mac os x 10.9.3. Here's what I'm getting: 3 warnings generated. CC(target) Release/obj.target/libxml/vendor/libxml/xpointer.o LIBTOOL-STATIC Release/xml.a libtool: unrecognized option `-static' libtool: Try `libtool --help' for more information. make: *** [Release/xml.a] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib

NPM install error - node-gyp

旧时模样 提交于 2020-01-03 17:11:30
问题 Trying to install xml-stream package but it keeps failing building dependencies. It seems to require vc2010(vcbuild.exe) but i installed the .Net Framework 2.0 SDK which has the vcbuild file and I'm getting the following error while installing xml-stream: > node-expat@2.0.0 install G:\Pessoal\node\bugzilla\node_modules\xml-stream\node _modules\node-expat > node-gyp rebuild G:\Pessoal\node\bugzilla\node_modules\xml-stream\node_modules\node-expat>node "D :\Bin\nodejs\node_modules\npm\bin\node