Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

npm install error #194

Open
mwmw7 opened this issue Apr 3, 2021 · 4 comments
Open

npm install error #194

mwmw7 opened this issue Apr 3, 2021 · 4 comments

Comments

@mwmw7
Copy link

mwmw7 commented Apr 3, 2021

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ * ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

when I try to install vvisp, this error message shown

☁  klaytn  npm install -g @haechi-labs/vvisp

npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN deprecated har-validator@5.0.3: this library is no longer supported
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated rollup-plugin-babel@3.0.7: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated request@2.87.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! code 1
npm ERR! path /home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt/build'
npm ERR!   SOLINK_MODULE(target) Release/obj.target/copied_files.node
npm ERR!   COPY Release/copied_files.node
npm ERR!   CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
npm ERR!   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
npm ERR!   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
npm ERR!   CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
npm ERR!   AR(target) Release/obj.target/scrypt_wrapper.a
npm ERR!   COPY Release/scrypt_wrapper.a
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
npm ERR!   CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
npm ERR!   AR(target) Release/obj.target/scrypt_lib.a
npm ERR!   COPY Release/scrypt_lib.a
npm ERR!   CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
npm ERR!   CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
npm ERR! make: Leaving directory '/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@15.13.0 | linux | x64
npm ERR! gyp info find Python using Python version 3.8.6 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/hosup/.cache/node-gyp/15.13.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/hosup/.cache/node-gyp/15.13.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/hosup/.cache/node-gyp/15.13.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
npm ERR!                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h: In constructor ‘NodeScrypt::Params::Params(const v8::Local<v8::Object>&)’:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:39:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
npm ERR!    39 |       N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
npm ERR!       |                                                ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
npm ERR!  3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
npm ERR!  3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
npm ERR!                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:40:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
npm ERR!    40 |       r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
npm ERR!       |                                                ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
npm ERR!  3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
npm ERR!  3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_async.h:28,
npm ERR!                  from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_common.h:41:48: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
npm ERR!    41 |       p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
npm ERR!       |                                                ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
npm ERR!  3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
npm ERR!  3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3766:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_async.h: In member function ‘virtual void ScryptAsyncWorker::HandleErrorCallback()’:
npm ERR! ../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]
npm ERR!    53 |       callback->Call(1, argv);
npm ERR!       |                             ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! ../../nan/nan.h:1742:3: note: declared here
npm ERR!  1742 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h: In constructor ‘ScryptParamsAsyncWorker::ScryptParamsAsyncWorker(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: no matching function for call to ‘v8::Value::NumberValue()’
npm ERR!    35 |       maxtime(info[0]->NumberValue()),
npm ERR!       |                                    ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2907:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’
npm ERR!  2907 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
npm ERR!       |                                       ^~~~~~~~~~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2907:39: note:   candidate expects 1 argument, 0 provided
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: no matching function for call to ‘v8::Value::NumberValue()’
npm ERR!    36 |       maxmemfrac(info[1]->NumberValue()),
npm ERR!       |                                       ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2907:39: note: candidate: ‘v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const’
npm ERR!  2907 |   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
npm ERR!       |                                       ^~~~~~~~~~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2907:39: note:   candidate expects 1 argument, 0 provided
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: no matching function for call to ‘v8::Value::IntegerValue()’
npm ERR!    37 |       maxmem(info[2]->IntegerValue()),
npm ERR!       |                                    ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2909:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
npm ERR!  2909 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
npm ERR!       |                                        ^~~~~~~~~~~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2909:40: note:   candidate expects 1 argument, 0 provided
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:
npm ERR! ../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
npm ERR!    38 |       osfreemem(info[3]->IntegerValue())
npm ERR!       |                                       ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2909:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
npm ERR!  2909 |   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
npm ERR!       |                                        ^~~~~~~~~~~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:2909:40: note:   candidate expects 1 argument, 0 provided
npm ERR! ../src/node-boilerplate/scrypt_params_async.cc: In member function ‘virtual void ScryptParamsAsyncWorker::HandleOKCallback()’:
npm ERR! ../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)’
npm ERR!    23 |   obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
npm ERR!       |                                                                   ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../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)’
npm ERR!    24 |   obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
npm ERR!       |                                                                ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../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)’
npm ERR!    25 |   obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
npm ERR!       |                                                                ^
npm ERR! In file included from /home/hosup/.cache/node-gyp/15.13.0/include/node/node.h:63,
npm ERR!                  from ../../nan/nan.h:56,
npm ERR!                  from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
npm ERR!  3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
npm ERR!  3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /home/hosup/.cache/node-gyp/15.13.0/include/node/v8.h:3719:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../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]
npm ERR!    32 |   callback->Call(2, argv);
npm ERR!       |                         ^
npm ERR! In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:
npm ERR! ../../nan/nan.h:1742:3: note: declared here
npm ERR!  1742 |   Call(int argc, v8::Local<v8::Value> argv[]) const {
npm ERR!       |   ^~~~
npm ERR! make: *** [scrypt.target.mk:131: Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:369:20)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 5.8.0-48-generic
npm ERR! gyp ERR! command "/home/hosup/.nvm/versions/node/v15.13.0/bin/node" "/home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/hosup/.nvm/versions/node/v15.13.0/lib/node_modules/@haechi-labs/vvisp/node_modules/scrypt
npm ERR! gyp ERR! node -v v15.13.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hosup/.npm/_logs/2021-04-03T11_43_21_301Z-debug.log

Expected behavior

easy and fast install

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


vvisp version: X.Y.Z


Environment:
- Node version: 15.13.0
- Operating system: 
- Distributor ID:	Ubuntu
Description:	Ubuntu 20.10
Release:	20.10
Codename:	groovy


Others:

@okaysk
Copy link

okaysk commented Apr 5, 2021

#193 same issue here

@leekt
Copy link
Contributor

leekt commented Apr 5, 2021

Sorry this repository is deprecated. Can you tell me why are you using vvisp? I can guide you some alternatives

@leekt
Copy link
Contributor

leekt commented Apr 5, 2021

btw i am pretty sure this repository is not usable for node v15, try using node v10

@leekt
Copy link
Contributor

leekt commented Apr 5, 2021

Ahhh you must be using this for klaytn right? use truffle instead

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

No branches or pull requests

3 participants