Skip to content

Instantly share code, notes, and snippets.

@viraj124
Created July 30, 2020 03:13
Show Gist options
  • Save viraj124/762f8ccc4d09f25f0deb5674c3ff3eee to your computer and use it in GitHub Desktop.
Save viraj124/762f8ccc4d09f25f0deb5674c3ff3eee to your computer and use it in GitHub Desktop.
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
warning @skalenetwork/filestorage.js > web3 > web3-core > @types/[email protected]: This is a stub types definition for bignumber.js (https://github.com/MikeMcl/bignumber.js/). bignumber.js provides its own type definitions, so you don't need @types/bignumber.js installed!
warning @skalenetwork/filestorage.js > web3 > web3-bzz > swarm-js > [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
warning @skalenetwork/filestorage.js > web3 > web3-eth > web3-eth-accounts > @web3-js/[email protected]: This package is deprecated, for a pure JS implementation please use scrypt-js
warning @skalenetwork/filestorage.js > web3 > web3-core > web3-core-requestmanager > web3-providers-ws > @web3-js/[email protected]: The branch for this fork was merged upstream, please update your package to [email protected]
warning @skalenetwork/filestorage.js > web3 > web3-bzz > swarm-js > eth-lib > servify > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
info There appears to be trouble with your network connection. Retrying...
warning babel-polyfill > [email protected]: 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.
warning babel-polyfill > babel-runtime > [email protected]: 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.
warning babel-register > [email protected]: 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.
warning draft-js > fbjs > [email protected]: 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.
warning drizzle > web3 > web3-bzz > swarm-js > [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
warning drizzle > web3 > web3-bzz > swarm-js > [email protected]: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
warning drizzle > web3 > web3-bzz > swarm-js > [email protected]: Use mz or fs-extra^3.0 with Promise Support
warning drizzle-react-components > react > fbjs > [email protected]: 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.
warning react-dev-utils > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning react-dev-utils > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning react-scripts > react-app-polyfill > [email protected]: 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.
warning react-scripts > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > fork-ts-checker-webpack-plugin-alt > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > fork-ts-checker-webpack-plugin-alt > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > workbox-webpack-plugin > workbox-build > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > webpack > watchpack > watchpack-chokidar2 > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning react-scripts > eslint > file-entry-cache > flat-cache > [email protected]: CircularJSON is in maintenance only, flatted is its successor.
warning react-scripts > jest > jest-cli > jest-haste-map > sane > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning react-scripts > jest > jest-cli > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning react-scripts > @svgr/webpack > @svgr/core > h2x-core > h2x-parse > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning react-scripts > jest > jest-cli > prompts > [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > workbox-webpack-plugin > workbox-build > joi > topo > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning react-scripts > jest > jest-cli > jest-environment-jsdom > jsdom > [email protected]: use String.prototype.padStart()
warning react-scripts > jest > jest-cli > jest-environment-jsdom > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning react-scripts > @svgr/webpack > @svgr/core > h2x-core > h2x-parse > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning rimble-ui > @d8660091/react-popper > [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
warning @truffle/contract > ethereum-ens > web3 > web3-bzz > swarm-js > [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
warning @truffle/contract > ethereum-ens > web3 > web3-eth > web3-eth-ens > content-hash > [email protected]: stable api reached
warning [email protected]: WARNING: This package has been renamed to @truffle/hdwallet-provider.
warning web3 > web3-eth > web3-eth-accounts > @web3-js/[email protected]: This package is deprecated, for a pure JS implementation please use scrypt-js
warning web3 > web3-core > web3-core-requestmanager > web3-providers-ws > @web3-js/[email protected]: The branch for this fork was merged upstream, please update your package to [email protected]
warning @graphprotocol/graph-cli > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: stable api reached
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: stable api reached
warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: No longer supported for js-libp2p0.28.0 or later
warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: Unmaintained
warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > [email protected]: Included in libp2p-crypto, use it instead. https://github.com/libp2p/js-libp2p-crypto
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @apollo/[email protected]" has unmet peer dependency "apollo-client@^2.6.4".
warning " > @apollo/[email protected]" has incorrect peer dependency "graphql@^14.3.1".
warning "@apollo/react-hooks > @apollo/[email protected]" has unmet peer dependency "apollo-client@^2.6.4".
warning "@apollo/react-hooks > @apollo/[email protected]" has unmet peer dependency "apollo-utilities@^1.3.2".
warning "@apollo/react-hooks > @apollo/[email protected]" has incorrect peer dependency "graphql@^14.3.1".
warning " > @titelmedia/[email protected]" has unmet peer dependency "apollo-client@^2.4.13".
warning " > @titelmedia/[email protected]" has incorrect peer dependency "graphql@^14.0.2".
warning " > @titelmedia/[email protected]" has unmet peer dependency "prop-types@^15.7.2".
warning " > @titelmedia/[email protected]" has incorrect peer dependency "react-apollo@^2.5.4".
warning " > [email protected]" has unmet peer dependency "apollo-client@^2.3.8".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.6.0".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.7.2".
warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
[4/4] Building fresh packages...
[-/23] ⠄ waiting...
[16/23] ⠄ secp256k1
[8/23] ⠄ scrypt
[10/23] ⠄ truffle
error /home/viraz/algernon_dapp/app/node_modules/scrypt: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/viraz/algernon_dapp/app/node_modules/scrypt
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 2.7.17 found at "/usr/bin/python"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/viraz/algernon_dapp/app/node_modules/scrypt/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/viraz/.cache/node-gyp/12.18.3/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/viraz/.cache/node-gyp/12.18.3',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/viraz/.cache/node-gyp/12.18.3/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/viraz/algernon_dapp/app/node_modules/scrypt',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/viraz/algernon_dapp/app/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
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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:39:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^~~~~~~~~~~
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^~~~~~~~~~~
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
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:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^~~~~~~~~~~
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:0,
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:0:
../../nan/nan.h:1742: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:0:
../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/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2704: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/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2704:39: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
../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/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2704: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/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2704:39: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
../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/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2705:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided
In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
../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/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67:0,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2705:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
^~~~~~~~~~~~
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:2705: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: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/node-boilerplate/scrypt_params_async.cc:24:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/node-boilerplate/scrypt_params_async.cc:25:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
^
In file included from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14:0,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:27,
from /home/viraz/.cache/node-gyp/12.18.3/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here
bool Set(Local<Value> key, Local<Value> value));
^
/home/viraz/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../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:0:
../../nan/nan.h:1742:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
scrypt.target.mk:131: recipe for target 'Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o' failed
make: Leaving directory '/home/viraz/algernon_dapp/app/node_modules/scrypt/build'
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
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_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.0-112-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/viraz/algernon_dapp/app/node_modules/scrypt
gyp ERR! node -v v12.18.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment