Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install on Raspberry PI #137

Open
TobiasKaller opened this issue May 7, 2018 · 4 comments
Open

Can not install on Raspberry PI #137

TobiasKaller opened this issue May 7, 2018 · 4 comments

Comments

@TobiasKaller
Copy link

Hello,

I get the following Errors and Warning when installing the App on my Raspberry Pi 3:

image
image
image
image

I'm not an expert so can anyone help me with this Problem pleas?

Thx

Tobias

@PotatoBlood
Copy link

What version of node do you have?

Working fine on my raspberry pi 3 with node v9.11.1

@shocknet-justin
Copy link

shocknet-justin commented Jun 6, 2018

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

@Stadicus
Copy link

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.

@halfik
Copy link

halfik commented Jul 14, 2018

Node version is an issue. 8.x is required. I had tried with 10.x and it wont work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants