Created
September 12, 2020 04:36
-
-
Save Turupawn/cb3c407aee775a34a3839b4971d72a00 to your computer and use it in GitHub Desktop.
[borrame] npm install error shy panda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
turupawn@userr:~/Projects/ShyPanda$ npm install | |
> [email protected] preinstall /home/turupawn/Projects/ShyPanda/node_modules/scrypt | |
> node node-scrypt-preinstall.js | |
> [email protected] install /home/turupawn/Projects/ShyPanda/node_modules/scrypt | |
> node-gyp rebuild | |
make: Entering directory '/home/turupawn/Projects/ShyPanda/node_modules/scrypt/build' | |
SOLINK_MODULE(target) Release/obj.target/copied_files.node | |
COPY Release/copied_files.node | |
CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o | |
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o | |
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o | |
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o | |
AR(target) Release/obj.target/scrypt_wrapper.a | |
COPY Release/scrypt_wrapper.a | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o | |
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o | |
AR(target) Release/obj.target/scrypt_lib.a | |
COPY Release/scrypt_lib.a | |
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o | |
In file included from ../src/node-boilerplate/scrypt_common.cc:28: | |
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: | |
../../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] | |
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) | |
^ | |
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: | |
../../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] | |
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) | |
^ | |
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28, | |
from ../src/node-boilerplate/inc/scrypt_params_async.h:28, | |
from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_common.h: In constructor ‘NodeScrypt::Params::Params(const v8::Local<v8::Object>&)’: | |
../src/node-boilerplate/inc/scrypt_common.h:39:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ | |
N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()), | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28, | |
from ../src/node-boilerplate/inc/scrypt_params_async.h:28, | |
from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_common.h:40:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ | |
r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()), | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28, | |
from ../src/node-boilerplate/inc/scrypt_params_async.h:28, | |
from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_common.h:41:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ | |
p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {} | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ | |
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28, | |
from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_async.h: In member function ‘virtual void ScryptAsyncWorker::HandleErrorCallback()’: | |
../src/node-boilerplate/inc/scrypt_async.h:53:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
callback->Call(1, argv); | |
^ | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
../../nan/nan.h:1674:3: note: declared here | |
Call(int argc, v8::Local<v8::Value> argv[]) const { | |
^~~~ | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_params_async.h: In constructor ‘ScryptParamsAsyncWorker::ScryptParamsAsyncWorker(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: no matching function for call to ‘v8::Value::NumberValue()’ | |
maxtime(info[0]->NumberValue()), | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2861:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’ | |
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const; | |
^~~~~~~~~~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2861:39: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: no matching function for call to ‘v8::Value::NumberValue()’ | |
maxmemfrac(info[1]->NumberValue()), | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2861:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’ | |
V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const; | |
^~~~~~~~~~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2861:39: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: no matching function for call to ‘v8::Value::IntegerValue()’ | |
maxmem(info[2]->IntegerValue()), | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’ | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^~~~~~~~~~~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4: | |
../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: no matching function for call to ‘v8::Value::IntegerValue()’ | |
osfreemem(info[3]->IntegerValue()) | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’ | |
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( | |
^~~~~~~~~~~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided | |
../src/node-boilerplate/scrypt_params_async.cc: In member function ‘virtual void ScryptParamsAsyncWorker::HandleOKCallback()’: | |
../src/node-boilerplate/scrypt_params_async.cc:23:67: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’ | |
obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN)); | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided | |
../src/node-boilerplate/scrypt_params_async.cc:24:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’ | |
obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r)); | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided | |
../src/node-boilerplate/scrypt_params_async.cc:25:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’ | |
obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p)); | |
^ | |
In file included from /home/turupawn/.cache/node-gyp/14.10.1/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ | |
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | |
^~~ | |
/home/turupawn/.cache/node-gyp/14.10.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided | |
../src/node-boilerplate/scrypt_params_async.cc:32:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] | |
callback->Call(2, argv); | |
^ | |
In file included from ../src/node-boilerplate/scrypt_params_async.cc:1: | |
../../nan/nan.h:1674:3: note: declared here | |
Call(int argc, v8::Local<v8::Value> argv[]) const { | |
^~~~ | |
make: *** [scrypt.target.mk:131: Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1 | |
make: Leaving directory '/home/turupawn/Projects/ShyPanda/node_modules/scrypt/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/turupawn/.nvm/versions/node/v14.10.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:314:20) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) | |
gyp ERR! System Linux 4.19.0-10-amd64 | |
gyp ERR! command "/home/turupawn/.nvm/versions/node/v14.10.1/bin/node" "/home/turupawn/.nvm/versions/node/v14.10.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/turupawn/Projects/ShyPanda/node_modules/scrypt | |
gyp ERR! node -v v14.10.1 | |
gyp ERR! node-gyp -v v5.1.0 | |
gyp ERR! not ok | |
npm WARN [email protected] No repository field. | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] install script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/turupawn/.npm/_logs/2020-09-12T04_34_53_389Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment