Не удалось установить web-tracing-framework на mac (npm i tracing-framework) - PullRequest
0 голосов
/ 04 октября 2018

При запуске npm install -g tracing-framework на MacOS я получаю следующую ошибку.Версия узла: v10.9.0 Python2.7

CXX(target) Release/obj.target/microtime/src/microtime.o
In file included from ../src/microtime.cc:11:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:34:56: error: no matching member function for call to 'ToInt32'
To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                    ~~~^~~~~~~
/Users/ajay/.node-gyp/10.9.0/include/node/v8.h:2431:43: note: candidate function not viable: requires single argument 'context', but no arguments were provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                          ^
/Users/ajay/.node-gyp/10.9.0/include/node/v8.h:2444:34: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided
                    Local<Int32> ToInt32(Isolate* isolate) const);
                                 ^
In file included from ../src/microtime.cc:11:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:39:65: error: too few arguments to function call, single argument 'context' was not specified
To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                    ~~~~~~~~~~~ ^
/Users/ajay/.node-gyp/10.9.0/include/node/v8.h:2429:3: note: 'ToUint32' declared here
  V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
  ^
/Users/ajay/.node-gyp/10.9.0/include/node/v8config.h:416:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                              ^
...