Many error output when install
See original GitHub issueEnvironment Details
- OS: Linux terra 5.4.0-29-generic #33-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
- Node Version: v10.20.1 | v13.14.0
- BitGoJS Version: ^11.0.3
- BitGo Environment: test
when I install the dependency these compilation errors come out
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/ed25519/build'
CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
CC(target) Release/obj.target/ed25519/src/ed25519/open.o
CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
CXX(target) Release/obj.target/ed25519/src/ed25519.o
In file included from ../src/ed25519.cc:4:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE MakeKeypair(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:19:98: error: no matching function for call to ‘v8::Value::ToObject()’
19 | if ((info.Length() < 1) || (!Buffer::HasInstance(info[0])) || (Buffer::Length(info[0]->ToObject()) != 32)) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:22:77: error: no matching function for call to ‘v8::Value::ToObject()’
22 | const unsigned char* seed = (unsigned char*)Buffer::Data(info[0]->ToObject());
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:35:63: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>&)’
35 | result->Set(Nan::New("publicKey").ToLocalChecked(), publicKey);
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3547 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3550 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/ed25519.cc:36:65: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>&)’
36 | result->Set(Nan::New("privateKey").ToLocalChecked(), privateKey);
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
3547 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
3550 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
| ^~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Sign(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:53:69: error: no matching function for call to ‘v8::Value::ToObject()’
53 | if ((info.Length() < 2) || (!Buffer::HasInstance(info[0]->ToObject()))) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:56:74: error: no matching function for call to ‘v8::Value::ToObject()’
56 | if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 32)) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:57:72: error: no matching function for call to ‘v8::Value::ToObject()’
57 | unsigned char* seed = (unsigned char*)Buffer::Data(info[1]->ToObject());
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:65:81: error: no matching function for call to ‘v8::Value::ToObject()’
65 | } else if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 64)) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:66:63: error: no matching function for call to ‘v8::Value::ToObject()’
66 | privateKey = (unsigned char*)Buffer::Data(info[1]->ToObject());
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:68:53: error: no matching function for call to ‘v8::Value::ToObject()’
68 | Local<Value> privateKeyBuffer = info[1]->ToObject()->Get(Nan::New<String>("privateKey").ToLocalChecked())->ToObject();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:76:2: error: ‘Handle’ was not declared in this scope
76 | Handle<Object> message = info[0]->ToObject();
| ^~~~~~
../src/ed25519.cc:76:15: error: expected primary-expression before ‘>’ token
76 | Handle<Object> message = info[0]->ToObject();
| ^
../src/ed25519.cc:76:17: error: ‘message’ was not declared in this scope
76 | Handle<Object> message = info[0]->ToObject();
| ^~~~~~~
../src/ed25519.cc:76:45: error: no matching function for call to ‘v8::Value::ToObject()’
76 | Handle<Object> message = info[0]->ToObject();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Verify(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ed25519.cc:101:69: error: no matching function for call to ‘v8::Value::ToObject()’
101 | if ((info.Length() < 3) || (!Buffer::HasInstance(info[0]->ToObject())) ||
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:102:43: error: no matching function for call to ‘v8::Value::ToObject()’
102 | (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:102:90: error: no matching function for call to ‘v8::Value::ToObject()’
102 | (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:105:2: error: ‘Handle’ was not declared in this scope
105 | Handle<Object> message = info[0]->ToObject();
| ^~~~~~
../src/ed25519.cc:105:15: error: expected primary-expression before ‘>’ token
105 | Handle<Object> message = info[0]->ToObject();
| ^
../src/ed25519.cc:105:17: error: ‘message’ was not declared in this scope
105 | Handle<Object> message = info[0]->ToObject();
| ^~~~~~~
../src/ed25519.cc:105:45: error: no matching function for call to ‘v8::Value::ToObject()’
105 | Handle<Object> message = info[0]->ToObject();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:106:15: error: expected primary-expression before ‘>’ token
106 | Handle<Object> signature = info[1]->ToObject();
| ^
../src/ed25519.cc:106:17: error: ‘signature’ was not declared in this scope; did you mean ‘sigreturn’?
106 | Handle<Object> signature = info[1]->ToObject();
| ^~~~~~~~~
| sigreturn
../src/ed25519.cc:106:47: error: no matching function for call to ‘v8::Value::ToObject()’
106 | Handle<Object> signature = info[1]->ToObject();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc:107:15: error: expected primary-expression before ‘>’ token
107 | Handle<Object> publicKey = info[2]->ToObject();
| ^
../src/ed25519.cc:107:17: error: ‘publicKey’ was not declared in this scope
107 | Handle<Object> publicKey = info[2]->ToObject();
| ^~~~~~~~~
../src/ed25519.cc:107:47: error: no matching function for call to ‘v8::Value::ToObject()’
107 | Handle<Object> publicKey = info[2]->ToObject();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ed25519.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/ed25519.cc: At global scope:
../src/ed25519.cc:120:17: error: variable or field ‘InitModule’ declared void
120 | void InitModule(Handle<Object> exports) {
| ^~~~~~
../src/ed25519.cc:120:17: error: ‘Handle’ was not declared in this scope
../src/ed25519.cc:120:30: error: expected primary-expression before ‘>’ token
120 | void InitModule(Handle<Object> exports) {
| ^
../src/ed25519.cc:120:32: error: ‘exports’ was not declared in this scope
120 | void InitModule(Handle<Object> exports) {
| ^~~~~~~
In file included from ../src/ed25519.cc:1:
../src/ed25519.cc:126:22: error: ‘InitModule’ was not declared in this scope
126 | NODE_MODULE(ed25519, InitModule)
| ^~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:36: note: in definition of macro ‘NODE_MODULE_X’
618 | (node::addon_register_func) (regfunc), \
| ^~~~~~~
../src/ed25519.cc:126:1: note: in expansion of macro ‘NODE_MODULE’
126 | NODE_MODULE(ed25519, InitModule)
| ^~~~~~~~~~~
make: *** [ed25519.target.mk:153: Release/obj.target/ed25519/src/ed25519.o] Error 1
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/ed25519/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-29-generic
gyp ERR! command "/home/developer/.nvm/versions/node/v13.14.0/bin/node" "/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/developer/projects/payment-services/node_modules/ed25519
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
> keccak@1.4.0 install /home/developer/projects/payment-services/node_modules/ethereumjs-tx/node_modules/keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> keccak@1.4.0 rebuild /home/developer/projects/payment-services/node_modules/ethereumjs-tx/node_modules/keccak
> node-gyp rebuild
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/ethereumjs-tx/node_modules/keccak/build'
CXX(target) Release/obj.target/keccak/src/addon.o
In file included from ../src/addon.cc:2:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Initialize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.cc:37:47: error: no matching function for call to ‘v8::Value::IntegerValue()’
37 | unsigned int rate = info[0]->IntegerValue();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/addon.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
2774 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate expects 1 argument, 0 provided
../src/addon.cc:38:51: error: no matching function for call to ‘v8::Value::IntegerValue()’
38 | unsigned int capacity = info[1]->IntegerValue();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/addon.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
2774 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate expects 1 argument, 0 provided
../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::AbsorbLastFewBits(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.cc:56:48: error: no matching function for call to ‘v8::Value::IntegerValue()’
56 | unsigned char bits = info[0]->IntegerValue();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/addon.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
2774 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate expects 1 argument, 0 provided
../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Squeeze(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.cc:64:43: error: no matching function for call to ‘v8::Value::IntegerValue()’
64 | size_t length = info[0]->IntegerValue();
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/addon.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
2774 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2774:40: note: candidate expects 1 argument, 0 provided
../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Copy(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.cc:75:82: error: no matching function for call to ‘v8::Value::ToObject()’
75 | KeccakWrapper* to = Nan::ObjectWrap::Unwrap<KeccakWrapper>(info[0]->ToObject());
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/addon.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2754 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
In file included from ../src/addon.cc:1:
../src/addon.cc: At global scope:
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
618 | (node::addon_register_func) (regfunc), \
| ^
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:652:3: note: in expansion of macro ‘NODE_MODULE_X’
652 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/addon.cc:86:1: note: in expansion of macro ‘NODE_MODULE’
86 | NODE_MODULE(keccak, Init)
| ^~~~~~~~~~~
make: *** [keccak.target.mk:129: Release/obj.target/keccak/src/addon.o] Error 1
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/ethereumjs-tx/node_modules/keccak/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-29-generic
gyp ERR! command "/home/developer/.nvm/versions/node/v13.14.0/bin/node" "/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/developer/projects/payment-services/node_modules/ethereumjs-tx/node_modules/keccak
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the keccak@1.4.0 rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/developer/.npm/_logs/2020-05-05T15_58_26_905Z-debug.log
Keccak bindings compilation fail. Pure JS implementation will be used.
> keccak@2.1.0 install /home/developer/projects/payment-services/node_modules/keccak
> npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
> keccak@2.1.0 rebuild /home/developer/projects/payment-services/node_modules/keccak
> node-gyp rebuild
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/keccak/build'
CXX(target) Release/obj.target/keccak/src/addon.o
In file included from ../src/addon.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/addon.cc:1:
../src/addon.cc: At global scope:
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
618 | (node::addon_register_func) (regfunc), \
| ^
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:652:3: note: in expansion of macro ‘NODE_MODULE_X’
652 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/addon.cc:109:1: note: in expansion of macro ‘NODE_MODULE’
109 | NODE_MODULE(keccak, Init)
| ^~~~~~~~~~~
CC(target) Release/obj.target/keccak/src/libkeccak-64/KeccakSpongeWidth1600.o
CC(target) Release/obj.target/keccak/src/libkeccak-64/KeccakP-1600-opt64.o
SOLINK_MODULE(target) Release/obj.target/keccak.node
COPY Release/keccak.node
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/keccak/build'
> sha3@1.2.6 install /home/developer/projects/payment-services/node_modules/sha3
> node-gyp rebuild
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/sha3/build'
CXX(target) Release/obj.target/sha3/src/addon.o
In file included from ../src/addon.cpp:4:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:2232:62: warning: cast between incompatible function types from void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2232 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/addon.cpp:1:
../src/addon.cpp: At global scope:
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
618 | (node::addon_register_func) (regfunc), \
| ^
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:652:3: note: in expansion of macro ‘NODE_MODULE_X’
652 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/addon.cpp:175:1: note: in expansion of macro ‘NODE_MODULE’
175 | NODE_MODULE(sha3, SHA3Hash::Init)
| ^~~~~~~~~~~
CXX(target) Release/obj.target/sha3/src/displayIntermediateValues.o
CXX(target) Release/obj.target/sha3/src/KeccakF-1600-reference.o
CXX(target) Release/obj.target/sha3/src/KeccakNISTInterface.o
CXX(target) Release/obj.target/sha3/src/KeccakSponge.o
SOLINK_MODULE(target) Release/obj.target/sha3.node
COPY Release/sha3.node
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/sha3/build'
[ ......] | install:micromatch: info lifecycle micromatch@3.1.10~install: microm
> secp256k1@3.5.2 install /home/developer/projects/payment-services/node_modules/prova-lib/node_modules/secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> secp256k1@3.5.2 rebuild /home/developer/projects/payment-services/node_modules/prova-lib/node_modules/secp256k1
> node-gyp rebuild
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/prova-lib/node_modules/secp256k1/build'
CXX(target) Release/obj.target/secp256k1/src/addon.o
In file included from ../src/addon.cc:2:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/addon.cc:1:
../src/addon.cc: At global scope:
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
618 | (node::addon_register_func) (regfunc), \
| ^
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:652:3: note: in expansion of macro ‘NODE_MODULE_X’
652 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/addon.cc:50:1: note: in expansion of macro ‘NODE_MODULE’
50 | NODE_MODULE(secp256k1, Init)
| ^~~~~~~~~~~
CXX(target) Release/obj.target/secp256k1/src/privatekey.o
In file included from ../src/privatekey.cc:2:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/privatekey.cc:8:
../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyExport(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/util.h:14:38: error: no matching function for call to ‘v8::Value::BooleanValue()’
14 | compressed = value->BooleanValue() ? v_true : v_false; \
| ^
../src/privatekey.cc:36:3: note: in expansion of macro ‘UPDATE_COMPRESSED_VALUE’
36 | UPDATE_COMPRESSED_VALUE(compressed, info[1], 1, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/privatekey.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2771:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2771 | bool BooleanValue(Isolate* isolate) const;
| ^~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:2771:8: note: candidate expects 1 argument, 0 provided
../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyNegate(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/privatekey.cc:73:30: warning: ignoring return value of ‘int secp256k1_ec_privkey_negate(const secp256k1_context*, unsigned char*)’, declared with attribute warn_unused_result [-Wunused-result]
73 | secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [secp256k1.target.mk:159: Release/obj.target/secp256k1/src/privatekey.o] Error 1
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/prova-lib/node_modules/secp256k1/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.0-29-generic
gyp ERR! command "/home/developer/.nvm/versions/node/v13.14.0/bin/node" "/home/developer/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/developer/projects/payment-services/node_modules/prova-lib/node_modules/secp256k1
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! secp256k1@3.5.2 rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the secp256k1@3.5.2 rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/developer/.npm/_logs/2020-05-05T15_58_35_799Z-debug.log
Secp256k1 bindings compilation fail. Pure JS implementation will be used.
> secp256k1@3.8.0 install /home/developer/projects/payment-services/node_modules/secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
> secp256k1@3.8.0 rebuild /home/developer/projects/payment-services/node_modules/secp256k1
> node-gyp rebuild
make: se entra en el directorio '/home/developer/projects/payment-services/node_modules/secp256k1/build'
CXX(target) Release/obj.target/secp256k1/src/addon.o
In file included from ../src/addon.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/addon.cc:1:
../src/addon.cc: At global scope:
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:618:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
618 | (node::addon_register_func) (regfunc), \
| ^
/home/developer/.cache/node-gyp/13.14.0/include/node/node.h:652:3: note: in expansion of macro ‘NODE_MODULE_X’
652 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/addon.cc:50:1: note: in expansion of macro ‘NODE_MODULE’
50 | NODE_MODULE(secp256k1, Init)
| ^~~~~~~~~~~
CXX(target) Release/obj.target/secp256k1/src/privatekey.o
In file included from ../src/privatekey.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyNegate(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/privatekey.cc:73:30: warning: ignoring return value of ‘int secp256k1_ec_privkey_negate(const secp256k1_context*, unsigned char*)’, declared with attribute warn_unused_result [-Wunused-result]
73 | secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX(target) Release/obj.target/secp256k1/src/publickey.o
In file included from ../src/publickey.cc:3:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
CXX(target) Release/obj.target/secp256k1/src/signature.o
In file included from ../src/signature.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
CXX(target) Release/obj.target/secp256k1/src/ecdsa.o
In file included from ../src/ecdsa.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/ecdsa.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE sign(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ecdsa.cc:88:131: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
88 | w<v8::String>("signature").ToLocalChecked(), COPY_BUFFER(&output[0], 64));
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ecdsa.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: declared here
3547 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
../src/ecdsa.cc:89:130: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute warn_unused_result [-Wunused-result]
89 | ew<v8::String>("recovery").ToLocalChecked(), Nan::New<v8::Number>(recid));
| ^
In file included from /home/developer/.cache/node-gyp/13.14.0/include/node/node.h:67,
from ../src/ecdsa.cc:1:
/home/developer/.cache/node-gyp/13.14.0/include/node/v8.h:3547:37: note: declared here
3547 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
| ^~~
CXX(target) Release/obj.target/secp256k1/src/ecdh.o
In file included from ../src/ecdh.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2294 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o
CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o
SOLINK_MODULE(target) Release/obj.target/secp256k1.node
COPY Release/secp256k1.node
make: se sale del directorio '/home/developer/projects/payment-services/node_modules/secp256k1/build'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >Multiple packages failing install: No error output · Issue #132
New install of CommandoVM after the resolution to Metapsloit updating failing consistently. New install is showing a lot of apps not being ...
Read more >Common errors
Broken npm installation; Random errors; No compatible version found; Permissions errors ... Invalid JSON; Many ENOENT / ENOTEMPTY errors in output ...
Read more >Bash Script to Install package and catch error
How I can catch the error message? Save output streams - stdout and stderr - somewhere. Then send the streams contents to your...
Read more >"errno 5 - input/output error" when trying to install Ubuntu
The installer encountered an error copying files to the hard disk: [Errno 5] Input/output error This is often due to a faulty CD/DVD...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tylerlevine I’m facing the same issue even on node 10:
It looks like you’re trying to install with node 13, which we don’t yet support. Could you try again with node 10?