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

build error #1

Open
cryptozeny opened this issue Apr 7, 2018 · 0 comments
Open

build error #1

cryptozeny opened this issue Apr 7, 2018 · 0 comments

Comments

@cryptozeny
Copy link
Member

cryptozeny commented Apr 7, 2018

hi zenywallet,

i am trying to build this for bitzeny, but i got some errors.

OS: ubuntu 16.04.4 LTS vps instance
BitZeny: BitZeny Core Daemon version v2.0.1.0-efd7833
NODEJS: v8.11.1
NPM: 5.6.0

any suggest?

こんにちは、インサイトをビルド中にエラーが発生しました。 何が間違ったのでしょうか。

==========

cryptozeny@vultr-mio:~/git/insight-api-bitzeny$ npm install

> [email protected] install /home/cryptozeny/git/insight-api-bitzeny/node_modules/bitcore/node_modules/buffertools
> node-gyp rebuild

make: Entering directory '/home/cryptozeny/git/insight-api-bitzeny/node_modules/bitcore/node_modules/buffertools/build'
  CXX(target) Release/obj.target/buffertools/buffertools.o
../buffertools.cc: In function ‘v8::Local<v8::Value> {anonymous}::decodeHex(const uint8_t*, size_t, const v8::FunctionCallbackInfo<v8::Value>&, uint32_t)’:
../buffertools.cc:42:22: error: conversion from ‘v8::MaybeLocal<v8::Object>’ to non-scalar type ‘v8::Local<v8::Object>’ requested
     node::Buffer::New(args.GetIsolate(), size)
                      ^
../buffertools.cc:367:26: note: in expansion of macro ‘UNI_BUFFER_NEW’
   Local<Object> buffer = UNI_BUFFER_NEW(size / 2);
                          ^
../buffertools.cc: In function ‘void {anonymous}::Concat(const v8::FunctionCallbackInfo<v8::Value>&)’:
../buffertools.cc:42:22: error: conversion from ‘v8::MaybeLocal<v8::Object>’ to non-scalar type ‘v8::Local<v8::Object>’ requested
     node::Buffer::New(args.GetIsolate(), size)
                      ^
../buffertools.cc:459:26: note: in expansion of macro ‘UNI_BUFFER_NEW’
   Local<Object> buffer = UNI_BUFFER_NEW(size);
                          ^
buffertools.target.mk:93: recipe for target 'Release/obj.target/buffertools/buffertools.o' failed
make: *** [Release/obj.target/buffertools/buffertools.o] Error 1
make: Leaving directory '/home/cryptozeny/git/insight-api-bitzeny/node_modules/bitcore/node_modules/buffertools/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_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.4.0-109-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/cryptozeny/git/insight-api-bitzeny/node_modules/bitcore/node_modules/buffertools
gyp ERR! node -v v8.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`
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/cryptozeny/.npm/_logs/2018-04-07T22_17_01_219Z-debug.log
cryptozeny@vultr-mio:~/git/insight-api-bitzeny$


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

1 participant