Open phuongnd08 opened 2 weeks ago
For example, I use
python 3.10.12
nodejs 18.17.1
Getting this:
npm ERR! gyp info find Python using Python version 3.10.12 found at "/Users/phuongnd08/.asdf/installs/python/3.10.12/bin/python3"
npm ERR! gyp info spawn /Users/phuongnd08/.asdf/installs/python/3.10.12/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/phuongnd08/.asdf/installs/nodejs/18.17.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/phuongnd08/code/gangpay/node_modules/node-hid/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/phuongnd08/.asdf/installs/nodejs/18.17.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/phuongnd08/Library/Caches/node-gyp/18.17.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/phuongnd08/Library/Caches/node-gyp/18.17.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/phuongnd08/.asdf/installs/nodejs/18.17.1/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/phuongnd08/Library/Caches/node-gyp/18.17.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/phuongnd08/code/gangpay/node_modules/node-hid',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/HID.cc:71:5: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec]
npm ERR! throw(JSException);
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! ../src/HID.cc:71:5: note: use 'noexcept(false)' instead
npm ERR! throw(JSException);
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! noexcept(false)
npm ERR! ../src/HID.cc:74:5: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec]
npm ERR! throw(JSException);
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! ../src/HID.cc:74:5: note: use 'noexcept(false)' instead
npm ERR! throw(JSException);
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! noexcept(false)
npm ERR! ../src/HID.cc:156:3: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec]
npm ERR! throw(JSException)
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! ../src/HID.cc:156:3: note: use 'noexcept(false)' instead
npm ERR! throw(JSException)
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! noexcept(false)
npm ERR! ../src/HID.cc:167:3: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec]
npm ERR! throw(JSException)
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! ../src/HID.cc:167:3: note: use 'noexcept(false)' instead
npm ERR! throw(JSException)
npm ERR! ^~~~~~~~~~~~~~~~~~
npm ERR! noexcept(false)
npm ERR! ../src/HID.cc:612:31: error: too few arguments to function call, expected 3, have 2
npm ERR! node::AtExit(deinitialize, 0);
npm ERR! ~~~~~~~~~~~~ ^
npm ERR! /Users/phuongnd08/Library/Caches/node-gyp/18.17.1/include/node/node.h:1111:18: note: 'AtExit' declared here
npm ERR! NODE_EXTERN void AtExit(Environment* env,
npm ERR! ^
npm ERR! 5 errors generated.
npm ERR! make: *** [Release/obj.target/HID/src/HID.o] Error 1
Library name
@ledgerhq/hw-app-btc
Describe your feature request
Please recommend versions combination of nodejs/python to work with the apps as I tried multiple combinations on Apple Silicon Mac but none really compile the latest hw-app-btc package