Comments (4)
What version of node do you have?
Working fine on my raspberry pi 3 with node v9.11.1
from lncli-web.
I receive similar errors on a clean Ubuntu 18.4 LTS install with Node 10.4 from: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
capdog@lm-lnd:~/lncli-web$ npm install
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we r ecommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, follo wing the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, foll owing the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for comp atibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Deprecated in favour of eslint- config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Package no longer supported. Contact support@n pmjs.com for more info.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compa tibility with current and future versions of Node.js
> [email protected] install /home/capdog/lncli-web/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/home/capdog/lncli-web/node_modules/bson/build'
CXX(target) Release/obj.target/bson/ext/bson.o
bson.target.mk:93: recipe for target 'Release/obj.target/bson/ext/bson.o' failed
make: Leaving directory '/home/capdog/lncli-web/node_modules/bson/build'
> [email protected] install /home/capdog/lncli-web/node_modules/sse4_crc32
> node-gyp rebuild
make: Entering directory '/home/capdog/lncli-web/node_modules/sse4_crc32/build'
CXX(target) Release/obj.target/crc32c_sse42/src/crc32c_sse42.o
AR(target) Release/obj.target/crc32c_sse42.a
COPY Release/crc32c_sse42.a
CXX(target) Release/obj.target/sse4_crc32/src/crc32c.o
In file included from ../src/crc32c.cpp:18:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../../nan/nan.h:51:0,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/crc32c.cpp:18:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../../nan/nan.h:51:0,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:165:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/crc32c.cpp:18:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is depr ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../../nan/nan.h:51:0,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:158:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/crc32c.cpp:18:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v 8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../../nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
));
^
In file included from ../../nan/nan.h:51:0,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
../src/crc32c.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE calculateCrc(Nan::NA N_METHOD_ARGS_TYPE)’:
../src/crc32c.cpp:224:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v 8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
crc = hwCrc32c(initCrc, (const char *)(*String::Utf8Value(strInput)), (size_t )strInput->Utf8Length());
^
In file included from /home/capdog/.node-gyp/10.4.0/include/node/v8.h:26:0,
from /home/capdog/.node-gyp/10.4.0/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/v8.h:2846:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/capdog/.node-gyp/10.4.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/crc32c.cpp:226:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v 8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
crc = swCrc32c(initCrc, (const char *)(*String::Utf8Value(strInput)), (size_t )strInput->Utf8Length());
^
In file included from /home/capdog/.node-gyp/10.4.0/include/node/v8.h:26:0,
from /home/capdog/.node-gyp/10.4.0/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/crc32c.cpp:18:
/home/capdog/.node-gyp/10.4.0/include/node/v8.h:2846:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/capdog/.node-gyp/10.4.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/sse4_crc32.node
COPY Release/sse4_crc32.node
make: Leaving directory '/home/capdog/lncli-web/node_modules/sse4_crc32/build'
> [email protected] install /home/capdog/lncli-web/node_modules/ursa
> node-gyp rebuild
make: Entering directory '/home/capdog/lncli-web/node_modules/ursa/build'
CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
In file included from ../src/ursaNative.h:10:0,
from ../src/ursaNative.cc:3:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/ursaNative.h:9:0,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/ursaNative.h:10:0,
from ../src/ursaNative.cc:3:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/ursaNative.h:9:0,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:165:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/ursaNative.h:10:0,
from ../src/ursaNative.cc:3:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v 8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is depr ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/ursaNative.h:9:0,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:158:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/ursaNative.h:10:0,
from ../src/ursaNative.cc:3:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v 8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../../nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Is olate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value >*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
));
^
In file included from ../src/ursaNative.h:9:0,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/node.h:172:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/capdog/.node-gyp/10.4.0/include/node/node.h:88:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::OpenPublicSshKey(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:389:13: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
obj->rsa->n = BN_bin2bn(data_n, n_length, NULL);
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:390:13: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
obj->rsa->e = BN_bin2bn(data_e, e_length, NULL);
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static RsaWrap* RsaWrap::expect PrivateKey(RsaWrap*)’:
../src/ursaNative.cc:407:35: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
if ((obj == NULL) || (obj->rsa->d != NULL)) {
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::GetExponent(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:536:34: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
bignumToBuffer(args, obj->rsa->e);
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::GetPrivateExponent(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:552:34: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
bignumToBuffer(args, obj->rsa->d);
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::GetModulus(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:567:34: error: invalid use of incomplete type ‘RSA {aka str uct rsa_st}’
bignumToBuffer(args, obj->rsa->n);
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::CreatePrivateKeyFromComponents(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:1218:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->n = modulus;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1219:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->e = exponent;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1220:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->p = p;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1221:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->q = q;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1222:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->dmp1 = dp;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1223:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->dmq1 = dq;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1224:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->iqmp = inverseQ;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1225:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->d = d;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_T YPE RsaWrap::CreatePublicKeyFromComponents(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/ursaNative.cc:1270:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->n = modulus;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc:1271:17: error: invalid use of incomplete type ‘RSA {aka st ruct rsa_st}’
obj->rsa->e = exponent;
^~
In file included from /home/capdog/.node-gyp/10.4.0/include/node/openssl/crypto. h:31:0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/bio.h:2 0,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/asn1.h: 16,
from /home/capdog/.node-gyp/10.4.0/include/node/openssl/rsa.h:1 6,
from ../src/ursaNative.h:13,
from ../src/ursaNative.cc:3:
/home/capdog/.node-gyp/10.4.0/include/node/openssl/ossl_typ.h:110:16: note: forw ard declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../src/ursaNative.cc: At global scope:
../src/ursaNative.cc:100:36: warning: ‘Nan::NAN_METHOD_RETURN_TYPE bignumToBuffe r(Nan::NAN_METHOD_ARGS_TYPE, BIGNUM*)’ defined but not used [-Wunused-function]
static Nan::NAN_METHOD_RETURN_TYPE bignumToBuffer(Nan::NAN_METHOD_ARGS_TYPE arg s,
^~~~~~~~~~~~~~
ursaNative.target.mk:97: recipe for target 'Release/obj.target/ursaNative/src/ur saNative.o' failed
make: *** [Release/obj.target/ursaNative/src/ursaNative.o] Error 1
make: Leaving directory '/home/capdog/lncli-web/node_modules/ursa/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:237:12)
gyp ERR! System Linux 4.15.0-22-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy p/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/capdog/lncli-web/node_modules/ursa
gyp ERR! node -v v10.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> [email protected] install /home/capdog/lncli-web/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
[grpc] Success: "/home/capdog/lncli-web/node_modules/grpc/src/node/extension_bin ary/node-v64-linux-x64-glibc/grpc_node.node" is installed via remote
> [email protected] postinstall /home/capdog/lncli-web/node_modules/electron
> node install.js
Downloading SHASUMS256.txt
[============================================>] 100.0% of 5.74 kB (5.74 kB/s)
> [email protected] install /home/capdog/lncli-web
> gulp bundle
[20:22:38] Using gulpfile ~/lncli-web/gulpfile.js
[20:22:38] Starting 'js-dist'...
[20:22:38] Initializing config.js file from example...
[20:22:38] Initializing defaults.js file from example...
[20:22:38] Finished 'js-dist' after 1.28 ms
[20:22:38] Starting 'install'...
[20:22:38] Finished 'install' after 19 μs
[20:22:38] Starting 'jscs'...
[20:22:38] Starting 'lint'...
[20:22:40] Finished 'lint' after 1.66 s
[20:22:40] Finished 'jscs' after 1.81 s
[20:22:40] Starting 'check'...
[20:22:40] Finished 'check' after 3.1 μs
[20:22:40] Starting 'bundlelnd'...
[20:22:40] Finished 'bundlelnd' after 6.96 ms
[20:22:40] Starting 'bundle'...
[20:22:40] Finished 'bundle' after 17 μs
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fse vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"} )
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/ursa):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp re build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
added 1379 packages from 666 contributors and audited 8055 packages in 78.652s
found 153 vulnerabilities (147 low, 5 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
I've been having RPC issues now on multiple systems, trying to remotely access an encrypted wallet. Potentially related?
This error is present in windows cmd windows, but not GitBash
warn: Couldn't launch tail command! spawn tail ENOENT
from lncli-web.
The application is running on my Raspbbery Pi without issues. I am using Node v8.11.3, installed as described here:
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install nodejs
$ sudo npm i npm@latest -g
I think I also ran npm audit
/ npm audit fix
to close some vulnerabilites.
from lncli-web.
Node version is an issue. 8.x is required. I had tried with 10.x and it wont work.
from lncli-web.
Related Issues (20)
- found 152 vulnerabilities (144 low, 4 moderate, 4 high) HOT 4
- lncli-web_directory HOT 1
- Duplicate and invalid routes in master
- gulpfile.js has bug HOT 1
- Failed to read macaroon from Path HOT 2
- NPM Install -- Fails HOT 5
- Sucessfully connected! showing on every Hello event received
- localhost:8280 ui showing nothing keep on loading
- what is defaultAuthPayReq? HOT 1
- cURL error 60: SSL certificate problem: self signed certificate
- gulpfile.js HOT 1
- NaN in channel capacity and missing info HOT 2
- npm install fails HOT 1
- Localhost:8280 unable to connect (lnd 0.10)
- Feature Request: Read only mode HOT 2
- Display readability of numbers
- SSL_ERROR_SSL on node server start up
- npm install fail HOT 3
- start server bug HOT 1
- No gulpfile found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lncli-web.