-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Following the installation wiki instruction but got the following. Looks like a v8tools problem. Any idea why?
(pyenv)Gary-MBA:annotation-data-store1 garyfeng$ sudo npm install
> [email protected] install /Users/garyfeng/Downloads/annotation-data-store1/node_modules/v8tools
> node-gyp rebuild
CXX(target) Release/obj.target/v8tools/src/v8tools.o
In file included from ../src/v8tools.cc:6:
../src/gc.h:11:29: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
Handle<Value> AfterGC(const Arguments& args);
^~~~~~~~~
v8::internal::Arguments
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/v8tools.cc:7:
../src/profiler.h:9:37: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
Handle<Value> StartV8Profiler(const Arguments& args);
^~~~~~~~~
v8::internal::Arguments
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/v8tools.cc:7:
../src/profiler.h:10:36: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
Handle<Value> StopV8Profiler(const Arguments& args);
^~~~~~~~~
v8::internal::Arguments
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/v8tools.cc:7:
../src/profiler.h:11:38: error: unknown type name 'Arguments'; did you mean
'v8::internal::Arguments'?
Handle<Value> TakeHeapSnapshot(const Arguments& args);
^~~~~~~~~
v8::internal::Arguments
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
../src/v8tools.cc:13:67: error: cannot initialize a parameter of type
'v8::Isolate *' with an lvalue of type 'Handle<v8::Value> (const
v8::internal::Arguments &)'
target->Set(String::NewSymbol("afterGC"), FunctionTemplate::New(AfterGC)...
^~~~~~~
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:4349:16: note: passing
argument to parameter 'isolate' here
Isolate* isolate, FunctionCallback callback = 0,
^
../src/v8tools.cc:13:23: error: no member named 'NewSymbol' in 'v8::String'
target->Set(String::NewSymbol("afterGC"), FunctionTemplate::New(AfterG...
~~~~~~~~^
../src/v8tools.cc:14:75: error: cannot initialize a parameter of type
'v8::Isolate *' with an lvalue of type 'Handle<v8::Value> (const
v8::internal::Arguments &)'
...FunctionTemplate::New(StartV8Profiler)->GetFunction());
^~~~~~~~~~~~~~~
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:4349:16: note: passing
argument to parameter 'isolate' here
Isolate* isolate, FunctionCallback callback = 0,
^
../src/v8tools.cc:14:23: error: no member named 'NewSymbol' in 'v8::String'
target->Set(String::NewSymbol("startV8Profiler"), FunctionTemplate::Ne...
~~~~~~~~^
../src/v8tools.cc:15:74: error: cannot initialize a parameter of type
'v8::Isolate *' with an lvalue of type 'Handle<v8::Value> (const
v8::internal::Arguments &)'
...FunctionTemplate::New(StopV8Profiler)->GetFunction());
^~~~~~~~~~~~~~
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:4349:16: note: passing
argument to parameter 'isolate' here
Isolate* isolate, FunctionCallback callback = 0,
^
../src/v8tools.cc:15:23: error: no member named 'NewSymbol' in 'v8::String'
target->Set(String::NewSymbol("stopV8Profiler"), FunctionTemplate::New...
~~~~~~~~^
../src/v8tools.cc:16:76: error: cannot initialize a parameter of type
'v8::Isolate *' with an lvalue of type 'Handle<v8::Value> (const
v8::internal::Arguments &)'
...FunctionTemplate::New(TakeHeapSnapshot)->GetFunction());
^~~~~~~~~~~~~~~~
/Users/garyfeng/.node-gyp/5.0.0/include/node/v8.h:4349:16: note: passing
argument to parameter 'isolate' here
Isolate* isolate, FunctionCallback callback = 0,
^
../src/v8tools.cc:16:23: error: no member named 'NewSymbol' in 'v8::String'
target->Set(String::NewSymbol("takeHeapSnapshot"), FunctionTemplate::N...
~~~~~~~~^
12 errors generated.
make: *** [Release/obj.target/v8tools/src/v8tools.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
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 Darwin 14.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/garyfeng/Downloads/annotation-data-store1/node_modules/v8tools
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN EPACKAGEJSON [email protected] No repository field.
npm WARN EPACKAGEJSON [email protected] No license field.
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the v8tools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls v8tools
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/garyfeng/Downloads/annotation-data-store1/npm-debug.log
(pyenv)Gary-MBA:annotation-data-store1 garyfeng$
Metadata
Metadata
Assignees
Labels
No labels