You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NodObjC master » node -v
v1.8.1
NodObjC master » npm i
npm WARN prefer global marked@0.2.10 should be installed with -g
> memwatch@0.2.2 install /Users/z/forks/NodObjC/node_modules/memwatch
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/memwatch/src/heapdiff.o
In file included from ../src/heapdiff.cc:5:
../src/heapdiff.hh:14:35: error: expected class name
class HeapDiff : public node::ObjectWrap
^
../src/heapdiff.hh:19:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New( const v8::Arguments& args );
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/heapdiff.cc:5:
../src/heapdiff.hh:20:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> End( const v8::Arguments& args );
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/heapdiff.cc:30:34: error: member initializer 'ObjectWrap' does not name a non-static data member or base class
heapdiff::HeapDiff::HeapDiff() : ObjectWrap(), before(NULL), after(NULL),
^~~~~~~~~~~~
../src/heapdiff.cc:51:21: error: calling a protected constructor of class 'v8::HandleScope'
v8::HandleScope scope;
^
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:879:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/heapdiff.cc:52:67: error: cannot initialize a parameter of type 'v8::Isolate *' with an lvalue of type
'v8::Handle<v8::Value> (const v8::internal::Arguments &)'
v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(New);
^~~
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:3843:16: note: passing argument to parameter 'isolate' here
Isolate* isolate,
^
../src/heapdiff.cc:54:29: error: no member named 'NewSymbol' in 'v8::String'
t->SetClassName(String::NewSymbol("HeapDiff"));
~~~~~~~~^
../src/heapdiff.cc:56:41: error: cannot initialize a parameter of type 'v8::FunctionCallback' (aka 'void (*)(const
FunctionCallbackInfo<v8::Value> &)') with an lvalue of type 'v8::Handle<v8::Value> (const v8::internal::Arguments &)': type
mismatch at 1st parameter ('const FunctionCallbackInfo<v8::Value> &' vs 'const v8::internal::Arguments &')
NODE_SET_PROTOTYPE_METHOD(t, "end", End);
^~~
/Users/z/.node-gyp/1.8.1/src/node.h:226:60: note: passing argument to parameter 'callback' here
v8::FunctionCallback callback) {
^
../src/heapdiff.cc:58:29: error: no member named 'NewSymbol' in 'v8::String'
target->Set(v8::String::NewSymbol( "HeapDiff"), t->GetFunction());
~~~~~~~~~~~~^
../src/heapdiff.cc:62:32: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
heapdiff::HeapDiff::New (const v8::Arguments& args)
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../src/heapdiff.cc:67:14: error: member access into incomplete type 'const v8::internal::Arguments'
if (!args.IsConstructCall()) {
^
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../src/heapdiff.cc:70:17: error: no member named 'New' in 'v8::String'; did you mean simply 'New'?
String::New("Use the new operator to create instances of this object.")));
^~~~~~~~~~~
New
../src/heapdiff.cc:62:21: note: 'New' declared here
heapdiff::HeapDiff::New (const v8::Arguments& args)
^
../src/heapdiff.cc:70:29: error: reference to type 'const v8::internal::Arguments' could not bind to an lvalue of type
'const char [57]'
String::New("Use the new operator to create instances of this object.")));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/heapdiff.cc:62:47: note: passing argument to parameter 'args' here
heapdiff::HeapDiff::New (const v8::Arguments& args)
^
../src/heapdiff.cc:73:21: error: calling a protected constructor of class 'v8::HandleScope'
v8::HandleScope scope;
^
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:879:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../src/heapdiff.cc:77:11: error: no member named 'Wrap' in 'heapdiff::HeapDiff'
self->Wrap(args.This());
~~~~ ^
../src/heapdiff.cc:77:20: error: member access into incomplete type 'const v8::internal::Arguments'
self->Wrap(args.This());
^
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../src/heapdiff.cc:82:38: error: no member named 'TakeSnapshot' in 'v8::HeapProfiler'
self->before = v8::HeapProfiler::TakeSnapshot(v8::String::New(""));
~~~~~~~~~~~~~~~~~~^
../src/heapdiff.cc:82:51: error: no member named 'New' in 'v8::String'; did you mean simply 'New'?
self->before = v8::HeapProfiler::TakeSnapshot(v8::String::New(""));
^~~~~~~~~~~~~~~
New
../src/heapdiff.cc:62:21: note: 'New' declared here
heapdiff::HeapDiff::New (const v8::Arguments& args)
^
../src/heapdiff.cc:82:67: error: reference to type 'const v8::internal::Arguments' could not bind to an lvalue of type
'const char [1]'
self->before = v8::HeapProfiler::TakeSnapshot(v8::String::New(""));
^~
../src/heapdiff.cc:62:47: note: passing argument to parameter 'args' here
heapdiff::HeapDiff::New (const v8::Arguments& args)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/memwatch/src/heapdiff.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:269:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:169:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Darwin 14.1.1
gyp ERR! command "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/z/forks/NodObjC/node_modules/memwatch
gyp ERR! node -v v1.8.1
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN excluding symbolic link lib/index.js -> jade.js
> libxmljs@0.7.1 install /Users/z/forks/NodObjC/node_modules/libxmljs
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/xmljs/src/libxmljs.o
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:11:34: error: expected class name
class XmlDocument : public node::ObjectWrap {
^
../src/xml_document.h:42:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> New(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:43:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> FromHtml(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:44:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> FromXml(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:45:47: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> SetDtd(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:48:45: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Root(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:49:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Encoding(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:50:48: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Version(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:51:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Doc(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:52:47: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Errors(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:53:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> ToString(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:54:49: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Validate(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:30:9: error: use of undeclared identifier 'Ref'; did you mean 'ref'?
Ref();
^~~
ref
../src/xml_document.h:29:10: note: 'ref' declared here
void ref() {
^
../src/xml_document.h:34:9: error: use of undeclared identifier 'Unref'; did you mean 'unref'?
Unref();
^~~~~
unref
../src/xml_document.h:33:10: note: 'unref' declared here
void unref() {
^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:9:30: error: expected class name
class XmlNode : public node::ObjectWrap {
^
../src/xml_node.h:25:44: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Doc(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:26:50: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Namespace(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:27:51: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Namespaces(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:28:47: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
static v8::Handle<v8::Value> Parent(const v8::Arguments& args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/z/.node-gyp/1.8.1/deps/v8/include/v8.h:134:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/xmljs/src/libxmljs.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:269:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:169:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Darwin 14.1.1
gyp ERR! command "/usr/local/bin/iojs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/z/forks/NodObjC/node_modules/libxmljs
gyp ERR! node -v v1.8.1
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN deprecated github-flavored-markdown@1.0.1: This project is long out of date. Use 'marked' instead.
> ref@1.0.2 install /Users/z/forks/NodObjC/node_modules/ref
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/binding/src/binding.o
SOLINK_MODULE(target) Release/binding.node
SOLINK_MODULE(target) Release/binding.node: Finished
> ffi@1.3.1 install /Users/z/forks/NodObjC/node_modules/ffi
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
CC(target) Release/obj.target/ffi/deps/libffi/src/types.o
CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o
CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o
CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/ffi64.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin.o
CC(target) Release/obj.target/ffi/deps/libffi/src/x86/darwin64.o
LIBTOOL-STATIC Release/libffi.a
CXX(target) Release/obj.target/ffi_bindings/src/ffi.o
CXX(target) Release/obj.target/ffi_bindings/src/callback_info.o
CXX(target) Release/obj.target/ffi_bindings/src/threaded_callback_invokation.o
SOLINK_MODULE(target) Release/ffi_bindings.node
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
SOLINK_MODULE(target) Release/ffi_bindings.node: Finished
npm ERR! Darwin 14.1.1
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "i"
npm ERR! node v1.8.1
npm ERR! npm v2.8.3
npm ERR! code ELIFECYCLE
npm ERR! memwatch@0.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the memwatch@0.2.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the memwatch 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 memwatch
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/z/forks/NodObjC/npm-debug.log
NodObjC master »
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: