node-genesis-block
node-genesis-block copied to clipboard
something is wrog but...?
npm install
[email protected] install /home/cryptosnail/genesis-block/node_modules/multi-hashing node-gyp rebuild -masm=intel
make: Entering directory '/home/cryptosnail/genesis-block/node_modules/multi-hashing/build'
CXX(target) Release/obj.target/multihashing/multihashing.o
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE lyra2rev2(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:70:14: warning: unused variable ‘input_len’ [-Wunused-variable]
uint32_t input_len = Buffer::Length(target);
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE lyra2z(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:91:14: warning: unused variable ‘input_len’ [-Wunused-variable]
uint32_t input_len = Buffer::Length(target);
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE boolberry(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:172:40: warning: ‘v8::Localv8::Uint32 v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
height = info[2]->ToUint32()->Uint32Value(); // TODO: This does not
^
In file included from /home/cryptosnail/.node-gyp/9.11.1/include/node/node.h:63:0,
from ../multihashing.cc:1:
/home/cryptosnail/.node-gyp/9.11.1/include/node/v8.h:9883:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
CC(target) Release/obj.target/multihashing/bcrypt.o
CC(target) Release/obj.target/multihashing/blake.o
CXX(target) Release/obj.target/multihashing/boolberry.o
In file included from ../crypto/cryptonote_core/cryptonote_format_utils.h:7:0,
from ../boolberry.cc:2:
../crypto/cryptonote_core/../wild_keccak.h: In function ‘int crypto::keccak_generic(const uint8_t*, size_t, uint8_t*, size_t)’:
../crypto/cryptonote_core/../wild_keccak.h:63:39: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
../crypto/cryptonote_core/../wild_keccak.h: In function ‘int crypto::wild_keccak(const uint8_t*, size_t, uint8_t*, size_t, callback_t)’:
../crypto/cryptonote_core/../wild_keccak.h:98:39: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
../crypto/cryptonote_core/../wild_keccak.h: In instantiation of ‘int crypto::wild_keccak(const uint8_t*, size_t, uint8_t*, size_t, callback_t) [with f_traits = crypto::mul_f; callback_t = cryptonote::get_blob_longhash_bb(const blobdata&, crypto::hash&, uint64_t, callback_t) [with callback_t = boolberry_hash(const char*, uint32_t, const char*, uint64_t, char*, uint64_t)::<lambda(uint64_t)>; blobdata = std::__cxx11::basic_stringmake
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.13.0-38-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "-masm=intel"
gyp ERR! cwd /home/cryptosnail/genesis-block/node_modules/multi-hashing
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild -masm=intel
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/cryptosnail/.npm/_logs/2018-04-06T02_00_33_341Z-debug.log
try npm update
same here.
> [email protected] install /home/user/dev/genesis-block/node_modules/multi-hashing
> node-gyp rebuild -masm=intel
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:354:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.13.0-36-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild" "-masm=intel"
gyp ERR! cwd /home/user/dev/genesis-block/node_modules/multi-hashing
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 4.13.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild -masm=intel`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild -masm=intel'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild -masm=intel
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/user/dev/genesis-block/npm-debug.log