Closed ayshvab closed 5 years ago
Is it using clang or gcc? And what version?
Sorry, how exactly can I find out the compilers versions that the node-gyp uses?
I think you can run export V=1
before executing the command that is given the error.
I think you can run
export V=1
before executing the command that is given the error.
It doesn't work... Please, fix build to work with node 11.0.0.
Fails on mac and windows:
node -v v11.0.0 node-gyp -v v3.8.0
Verbose output:
``` yarn install v1.10.1 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... [4/4] 📃 Building fresh packages... [1/3] ⠄ node-firebird-native-api [-/3] ⠄ waiting... error /Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@11.0.0 | darwin | x64 gyp info spawn /usr/bin/python gyp info spawn args [ '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/sywka/.node-gyp/11.0.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/sywka/.node-gyp/11.0.0', gyp info spawn args '-Dnode_gyp_dir=/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/sywka/.node-gyp/11.0.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/sywka/Desktop/dev-projects/gdmn/node_modules/node-firebird-native-api', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CXX(target) Release/obj.target/addon/src/native/fb-native.o In file included from ../src/native/fb-native.cpp:3: ../../nan/nan.h:1064:44: warning: 'ToString' is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Localthat) ^ /Users/sywka/.node-gyp/11.0.0/include/node/v8.h:4199:24: note: passing argument to parameter 'context' here Local context);
^
In file included from ../src/native/fb-native.cpp:4:
../src/native/./classes.h:143:25: warning: 'ToObject' is deprecated: Use maybe version [-Wdeprecated-declarations]
if (Nan::Get(object->ToObject(), Nan::New("cloop").ToLocalChecked()).ToLocal(&object))
^
/Users/sywka/.node-gyp/11.0.0/include/node/v8.h:2549:10: note: 'ToObject' has been explicitly marked deprecated here
inline V8_DEPRECATED("Use maybe version", Local