Closed c4milo closed 9 years ago
Not seeing complile issues, tested on osx and here https://travis-ci.org/node-xmpp/node-expat/jobs/53346154
Have you tried: https://github.com/node-xmpp/node-expat/issues/58#issuecomment-39018307 ?
build failed on heroku
remote: > node-expat@2.1.4 install /tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-weather-ja/node_modules/xml2json/node_modules/node-expat
remote: > node-gyp rebuild
remote:
remote: child_process: customFds option is deprecated, use stdio instead.
remote: make: Entering directory `/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-weather-ja/node_modules/xml2json/node_modules/node-expat/build'
remote: CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
remote: CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
remote: ../deps/libexpat/lib/xmltok.c:471: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:471: warning: (near initialization for ‘latin1_encoding_ns.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:484: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:484: warning: (near initialization for ‘latin1_encoding.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:504: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:504: warning: (near initialization for ‘ascii_encoding_ns.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:517: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:517: warning: (near initialization for ‘ascii_encoding.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:730: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:730: warning: (near initialization for ‘little2_encoding_ns.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:749: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:749: warning: (near initialization for ‘little2_encoding.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:762: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:762: warning: (near initialization for ‘internal_little2_encoding_ns.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:775: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:775: warning: (near initialization for ‘internal_little2_encoding.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:871: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:871: warning: (near initialization for ‘big2_encoding_ns.isName2’)
remote: ../deps/libexpat/lib/xmltok.c:890: warning: missing initializer
remote: ../deps/libexpat/lib/xmltok.c:890: warning: (near initialization for ‘big2_encoding.isName2’)
remote: CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
remote: AR(target) Release/obj.target/deps/libexpat/libexpat.a
remote: COPY Release/libexpat.a
remote: CXX(target) Release/obj.target/node_expat/node-expat.o
remote: In file included from ../node-expat.cc:1:
remote: ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*)’:
remote: ../node_modules/nan/nan.h:318: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
remote: ../node_modules/nan/nan.h:322: error: ‘ThrowException’ is not a member of ‘v8’
remote: ../node_modules/nan/nan.h:322: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘void NanThrowError(v8::Handle<v8::Value>)’:
remote: ../node_modules/nan/nan.h:327: error: ‘ThrowException’ is not a member of ‘v8’
remote: ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*, int)’:
remote: ../node_modules/nan/nan.h:334: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:336: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:336: error: no matching function for call to ‘v8::Integer::New(const int&)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
remote: ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanTypeError(const char*)’:
remote: ../node_modules/nan/nan.h:348: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
remote: ../node_modules/nan/nan.h:352: error: ‘ThrowException’ is not a member of ‘v8’
remote: ../node_modules/nan/nan.h:352: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanRangeError(const char*)’:
remote: ../node_modules/nan/nan.h:356: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘void NanThrowRangeError(const char*)’:
remote: ../node_modules/nan/nan.h:360: error: ‘ThrowException’ is not a member of ‘v8’
remote: ../node_modules/nan/nan.h:360: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback(const v8::Local<v8::Function>&)’:
remote: ../node_modules/nan/nan.h:668: error: no matching function for call to ‘v8::Object::New()’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
remote: ../node_modules/nan/nan.h:669: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In destructor ‘NanCallback::~NanCallback()’:
remote: ../node_modules/nan/nan.h:675: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Dispose’
remote: ../node_modules/nan/nan.h:676: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Clear’
remote: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Function> NanCallback::GetFunction()’:
remote: ../node_modules/nan/nan.h:680: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:681: error: expected primary-expression before ‘>’ token
remote: ../node_modules/nan/nan.h:681: error: expected primary-expression before ‘)’ token
remote: ../node_modules/nan/nan.h: In member function ‘void NanCallback::Call(int, v8::Local<v8::Value>*)’:
remote: ../node_modules/nan/nan.h:693: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:693: error: expected primary-expression before ‘>’ token
remote: ../node_modules/nan/nan.h:693: error: expected primary-expression before ‘)’ token
remote: ../node_modules/nan/nan.h:695: error: ‘GetCurrent’ is not a member of ‘v8::Context’
remote: ../node_modules/nan/nan.h: In member function ‘void NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)’:
remote: ../node_modules/nan/nan.h:739: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)’:
remote: ../node_modules/nan/nan.h:746: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:746: error: expected primary-expression before ‘>’ token
remote: ../node_modules/nan/nan.h:746: error: expected primary-expression before ‘)’ token
remote: ../node_modules/nan/nan.h: In member function ‘virtual void NanAsyncWorker::HandleErrorCallback()’:
remote: ../node_modules/nan/nan.h:768: error: ‘New’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h: In function ‘char* NanFromV8String(v8::Handle<v8::Value>, Nan::Encoding, size_t*, char*, size_t, int)’:
remote: ../node_modules/nan/nan.h:987: error: ‘AsciiValue’ is not a member of ‘v8::String’
remote: ../node_modules/nan/nan.h:987: error: expected ‘;’ before ‘value’
remote: ../node_modules/nan/nan.h:1050: error: ‘value’ was not declared in this scope
remote: ../node-expat.cc: In static member function ‘static void Parser::Initialize(v8::Handle<v8::Object>)’:
remote: ../node-expat.cc:14: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:3455: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
remote: ../node-expat.cc:28: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void Parser::Parse(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:96: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:96: error: at this point in file
remote: ../node-expat.cc:96: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:103: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:103: error: at this point in file
remote: ../node-expat.cc:103: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void Parser::SetEncoding(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:154: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:154: error: at this point in file
remote: ../node-expat.cc:154: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:157: error: at this point in file
remote: ../node-expat.cc:157: error: return-statement with a value, in function returning 'void'
remote: ../node-expat.cc: In static member function ‘static void Parser::GetError(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: ../node-expat.cc:174: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc:174: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:176: error: at this point in file
remote: ../node-expat.cc:176: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void Parser::Stop(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:188: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:188: error: at this point in file
remote: ../node-expat.cc:188: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void Parser::Resume(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:205: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:205: error: at this point in file
remote: ../node-expat.cc:205: error: return-statement with a value, in function returning 'void'
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void Parser::Reset(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6624: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::True(v8::Isolate*)’
remote: ../node-expat.cc:227: error: at this point in file
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6633: error: too few arguments to function ‘v8::Handle<v8::Boolean> v8::False(v8::Isolate*)’
remote: ../node-expat.cc:227: error: at this point in file
remote: ../node-expat.cc:227: error: return-statement with a value, in function returning 'void'
remote: ../node-expat.cc: In static member function ‘static void Parser::GetCurrentLineNumber(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: ../node-expat.cc:246: error: no matching function for call to ‘v8::Integer::NewFromUnsigned(uint32_t)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2013: note: candidates are: static v8::Local<v8::Integer> v8::Integer::NewFromUnsigned(v8::Isolate*, uint32_t)
remote: ../node-expat.cc:246: error: return-statement with a value, in function returning 'void'
remote: ../node-expat.cc: In static member function ‘static void Parser::GetCurrentColumnNumber(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: ../node-expat.cc:259: error: no matching function for call to ‘v8::Integer::NewFromUnsigned(uint32_t)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2013: note: candidates are: static v8::Local<v8::Integer> v8::Integer::NewFromUnsigned(v8::Isolate*, uint32_t)
remote: ../node-expat.cc:259: error: return-statement with a value, in function returning 'void'
remote: ../node-expat.cc: In static member function ‘static void Parser::GetCurrentByteIndex(const v8::FunctionCallbackInfo<v8::Value>&)’:
remote: ../node-expat.cc:272: error: no matching function for call to ‘v8::Integer::New(int32_t)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
remote: ../node-expat.cc:272: error: return-statement with a value, in function returning 'void'
remote: ../node-expat.cc: In static member function ‘static void Parser::StartElement(void*, const XML_Char*, const XML_Char**)’:
remote: ../node-expat.cc:297: error: no matching function for call to ‘v8::Object::New()’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
remote: ../node-expat.cc:299: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc:299: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc:302: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:303: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::EndElement(void*, const XML_Char*)’:
remote: ../node-expat.cc:315: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:315: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::StartCdata(void*)’:
remote: ../node-expat.cc:325: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::EndCdata(void*)’:
remote: ../node-expat.cc:335: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::Text(void*, const XML_Char*, int)’:
remote: ../node-expat.cc:346: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:347: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::ProcessingInstruction(void*, const XML_Char*, const XML_Char*)’:
remote: ../node-expat.cc:358: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:359: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc:360: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::Comment(void*, const XML_Char*)’:
remote: ../node-expat.cc:371: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:371: error: ‘New’ is not a member of ‘v8::String’
remote: ../node-expat.cc: In static member function ‘static void Parser::XmlDecl(void*, const XML_Char*, const XML_Char*, int)’:
remote: ../node-expat.cc:383: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:384: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:385: error: at this point in file
remote: ../node-expat.cc:386: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:387: error: at this point in file
remote: ../node-expat.cc:388: error: no matching function for call to ‘v8::Boolean::New(int&)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
remote: ../node-expat.cc: In static member function ‘static void Parser::EntityDecl(void*, const XML_Char*, int, const XML_Char*, int, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)’:
remote: ../node-expat.cc:400: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:401: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:402: error: at this point in file
remote: ../node-expat.cc:403: error: no matching function for call to ‘v8::Boolean::New(int&)’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
remote: ../node-expat.cc:404: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:405: error: at this point in file
remote: ../node-expat.cc:406: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:407: error: at this point in file
remote: ../node-expat.cc:408: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:409: error: at this point in file
remote: ../node-expat.cc:410: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:411: error: at this point in file
remote: ../node-expat.cc:412: error: ‘New’ is not a member of ‘v8::String’
remote: /app/.node-gyp/0.12.0/deps/v8/include/v8.h:6615: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
remote: ../node-expat.cc:413: error: at this point in file
remote: ../node-expat.cc: In member function ‘void Parser::Emit(int, v8::Handle<v8::Value>*)’:
remote: ../node-expat.cc:423: error: ‘NewSymbol’ is not a member of ‘v8::String’
remote: ../node-expat.cc:423: error: expected primary-expression before ‘>’ token
remote: ../node-expat.cc:423: error: expected primary-expression before ‘)’ token
remote: In file included from ../node-expat.cc:1:
remote: ../node_modules/nan/nan.h: In function ‘void NanDispose(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]’:
remote: ../node_modules/nan/nan.h:717: instantiated from here
remote: ../node_modules/nan/nan.h:373: error: ‘class v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >’ has no member named ‘Clear’
remote: make: *** [Release/obj.target/node_expat/node-expat.o] Error 1
remote: make: Leaving directory `/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-weather-ja/node_modules/xml2json/node_modules/node-expat/build'
remote: gyp ERR! build error
remote: gyp ERR! stack Error: `make` failed with exit code: 2
remote: gyp ERR! stack at ChildProcess.onExit (/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
remote: gyp ERR! stack at ChildProcess.emit (events.js:110:17)
remote: gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
remote: gyp ERR! System Linux 3.13.0-40-generic
remote: gyp ERR! command "node" "/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
remote: gyp ERR! cwd /tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-weather-ja/node_modules/xml2json/node_modules/node-expat
remote: gyp ERR! node -v v0.12.0
remote: gyp ERR! node-gyp -v v1.0.2
remote: gyp ERR! not ok
remote:
remote: > iconv@2.1.6 install /tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-rss-reader/node_modules/find-rss/node_modules/iconv
remote: > node-gyp rebuild
remote:
remote: child_process: customFds option is deprecated, use stdio instead.
remote: make: Entering directory `/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-rss-reader/node_modules/find-rss/node_modules/iconv/build'
remote: CC(target) Release/obj.target/libiconv/deps/libiconv/lib/iconv.o
remote: AR(target) Release/obj.target/iconv.a
remote: COPY Release/iconv.a
remote: CXX(target) Release/obj.target/iconv/src/binding.o
remote: SOLINK_MODULE(target) Release/obj.target/iconv.node
remote: SOLINK_MODULE(target) Release/obj.target/iconv.node: Finished
remote: COPY Release/iconv.node
remote: make: Leaving directory `/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/node_modules/hubot-rss-reader/node_modules/find-rss/node_modules/iconv/build'
remote: npm ERR! Linux 3.13.0-40-generic
remote: npm ERR! argv "node" "/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/.heroku/node/bin/npm" "install" "--unsafe-perm" "--quiet" "--userconfig" "/tmp/build_8d0c14444b9f06386e7dbcb8036f3069/.npmrc"
remote: npm ERR! node v0.12.0
remote: npm ERR! npm v2.7.0
remote: npm ERR! code ELIFECYCLE
remote:
remote: npm ERR! node-expat@2.1.4 install: `node-gyp rebuild`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the node-expat@2.1.4 install script 'node-gyp rebuild'.
remote: npm ERR! This is most likely a problem with the node-expat package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR! node-gyp rebuild
remote: npm ERR! You can get their info via:
remote: npm ERR! npm owner ls node-expat
remote: npm ERR! There is likely additional logging output above.
Similiar problem on Heroku for me
Also seeing this.
Hi all,
A quick look tells me that you are attempting to install node-expat@2.1.4
whereas the latest version is 2.3.7 which should have nan
updates to cover iojs & nodejs 0.12.
Suggest your projects (or parent project) updates node-expat
to get a working copy. Would be great if someone could post back confirmation.
Cheers, Lloyd.
@lloydwatkin This appears to still be a problem in v2.3.13:
Red Hat Enterprise Linux Server release 6.6 (Santiago) node -v > v5.6.0 npm -v > 3.6.0
> node-expat@2.3.13 install /jenkins/workspace/project/node_modules/node-expat
> node-gyp rebuild
make: Entering directory `/jenkins/workspace/project/node_modules/node-expat/build'
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
AR(target) Release/obj.target/deps/libexpat/libexpat.a
COPY Release/libexpat.a
CXX(target) Release/obj.target/node_expat/node-expat.o
In file included from ../node-expat.cc:1:
../../nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from /root/.node-gyp/5.6.0/include/node/node.h:42,
from ../../nan/nan.h:45,
from ../node-expat.cc:1:
/root/.node-gyp/5.6.0/include/node/v8.h:336: error: expected unqualified-id before ‘using’
/root/.node-gyp/5.6.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/root/.node-gyp/5.6.0/include/node/v8.h:353: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/root/.node-gyp/5.6.0/include/node/v8.h:360: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/root/.node-gyp/5.6.0/include/node/v8.h:364: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/root/.node-gyp/5.6.0/include/node/v8.h:430: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: At global scope:
/root/.node-gyp/5.6.0/include/node/v8.h:469: error: expected unqualified-id before ‘using’
/root/.node-gyp/5.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/root/.node-gyp/5.6.0/include/node/v8.h:794: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/root/.node-gyp/5.6.0/include/node/v8.h:819: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/root/.node-gyp/5.6.0/include/node/v8.h:831: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: At global scope:
/root/.node-gyp/5.6.0/include/node/v8.h:856: error: expected unqualified-id before ‘using’
/root/.node-gyp/5.6.0/include/node/v8.h:1093: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h:1099: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/root/.node-gyp/5.6.0/include/node/v8.h:3204: error: ‘nullptr’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/root/.node-gyp/5.6.0/include/node/v8.h:7154: error: ‘nullptr’ was not declared in this scope
In file included from ../../nan/nan.h:194,
from ../node-expat.cc:1:
../../nan/nan_maybe_43_inl.h: At global scope:
../../nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’
../../nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:31: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:36: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:41: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:46: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:51: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:59: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:64: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:69: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:76: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:83: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:91: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:98: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:108: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:114: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:118: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:125: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:130: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:135: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:139: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:145: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:150: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:156: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:162: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:168: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:174: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:180: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:186: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:194: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:201: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:205: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:209: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:213: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:217: error: expected initializer before ‘<’ token
../../nan/nan_maybe_43_inl.h:223: error: expected initializer before ‘<’ token
In file included from ../../nan/nan.h:199,
from ../node-expat.cc:1:
../../nan/nan_converters.h:14: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type
../../nan/nan_converters.h:14: error: expected ‘;’ before ‘<’ token
../../nan/nan_converters.h:16: error: ISO C++ forbids declaration of ‘Maybe’ with no type
../../nan/nan_converters.h:16: error: expected ‘;’ before ‘<’ token
../../nan/nan_converters.h:26: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:27: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:28: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:29: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:30: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:31: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:32: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:42: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:43: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:44: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:45: error: ‘return_t’ does not name a type
../../nan/nan_converters.h:46: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_converters.h:59,
from ../../nan/nan.h:199,
from ../node-expat.cc:1:
../../nan/nan_converters_43_inl.h:18: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type
../../nan/nan_converters_43_inl.h:19: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type
../../nan/nan_converters_43_inl.h:20: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type
../../nan/nan_converters_43_inl.h:21: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type
../../nan/nan_converters_43_inl.h:22: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type
../../nan/nan_converters_43_inl.h:23: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type
../../nan/nan_converters_43_inl.h:24: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type
../../nan/nan_converters_43_inl.h:34: error: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type
../../nan/nan_converters_43_inl.h:35: error: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type
../../nan/nan_converters_43_inl.h:36: error: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type
../../nan/nan_converters_43_inl.h:37: error: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type
../../nan/nan_converters_43_inl.h:38: error: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a type
In file included from ../../nan/nan.h:200,
from ../node-expat.cc:1:
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
../../nan/nan_new.h:21: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
../../nan/nan_new.h:28: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
../../nan/nan_new.h:35: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
../../nan/nan_new.h: At global scope:
../../nan/nan_new.h:43: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type
../../nan/nan_new.h:43: error: expected ‘;’ before ‘<’ token
../../nan/nan_new.h:75: error: ‘return_t’ does not name a type
../../nan/nan_new.h:141: error: ‘return_t’ does not name a type
../../nan/nan_new.h:147: error: ‘return_t’ does not name a type
../../nan/nan_new.h:148: error: ‘return_t’ does not name a type
../../nan/nan_new.h:160: error: ‘return_t’ does not name a type
../../nan/nan_new.h:161: error: ‘return_t’ does not name a type
../../nan/nan_new.h:162: error: ‘return_t’ does not name a type
../../nan/nan_new.h:163: error: ‘return_t’ does not name a type
../../nan/nan_new.h:165: error: ‘return_t’ does not name a type
../../nan/nan_new.h:166: error: ‘return_t’ does not name a type
../../nan/nan_new.h:182: error: ‘return_t’ does not name a type
../../nan/nan_new.h:183: error: ‘return_t’ does not name a type
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:200,
from ../node-expat.cc:1:
../../nan/nan_implementation_12_inl.h:56: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Date>’ does not name a type
../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:90: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)’:
../../nan/nan_implementation_12_inl.h:118: error: ‘NewInstance’ was not declared in this scope
../../nan/nan_implementation_12_inl.h: At global scope:
../../nan/nan_implementation_12_inl.h:197: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
../../nan/nan_implementation_12_inl.h:216: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:222: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type
../../nan/nan_implementation_12_inl.h:254: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:262: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:268: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:275: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:281: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:286: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_implementation_12_inl.h:347: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
../../nan/nan_implementation_12_inl.h:354: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type
In file included from ../../nan/nan.h:200,
from ../node-expat.cc:1:
../../nan/nan_new.h:293: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:299: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:305: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:311: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:317: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:323: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:329: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type
../../nan/nan_new.h:335: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type
In file included from ../node-expat.cc:1:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
../../nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
../../nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
../../nan/nan.h:660: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
../../nan/nan.h:660: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
../../nan/nan.h:661: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
../../nan/nan.h:661: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
../../nan/nan.h:662: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
../../nan/nan.h:662: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
../../nan/nan.h:663: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
../../nan/nan.h:663: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:671: error: expected initializer before ‘<’ token
../../nan/nan.h:693: error: expected initializer before ‘<’ token
../../nan/nan.h:709: error: expected initializer before ‘<’ token
../../nan/nan.h:722: error: expected initializer before ‘<’ token
../../nan/nan.h:739: error: expected initializer before ‘<’ token
../../nan/nan.h:745: error: expected initializer before ‘<’ token
../../nan/nan.h:753: error: expected initializer before ‘<’ token
../../nan/nan.h:760: error: expected initializer before ‘<’ token
../../nan/nan.h:766: error: expected initializer before ‘<’ token
/root/.node-gyp/5.6.0/include/node/v8.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
/root/.node-gyp/5.6.0/include/node/v8.h:3019: error: argument dependent lookup finds ‘class v8::Set’
../../nan/nan.h:1402: error: in call to ‘Set’
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1524: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1542: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
../../nan/nan.h:1576: error: no matching function for call to ‘New(const char*)’
../../nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:1865: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available
../../nan/nan.h:1865: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../nan/nan.h:1866: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:1878: error: ‘GetFunction’ was not declared in this scope
../../nan/nan.h:1879: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
../../nan/nan.h:1904: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1947: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:
../../nan/nan.h:1995: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’:
../../nan/nan.h:2065: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:
../../nan/nan.h:2120: error: ‘NewInstance’ was not declared in this scope
../../nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’:
../../nan/nan.h:2142: error: ‘NewInstance’ was not declared in this scope
In file included from ../node-expat.cc:1:
../../nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’:
../../nan/nan.h:2169: error: no matching function for call to ‘New(const char*&)’
../../nan/nan.h:2170: error: ‘GetFunction’ was not declared in this scope
/root/.node-gyp/5.6.0/include/node/v8.h:3019: error: argument dependent lookup finds ‘class v8::Set’
../../nan/nan.h:2170: error: in call to ‘Set’
../../nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
../../nan/nan.h:2177: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
../../nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
../../nan/nan.h:2190: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
../../nan/nan.h:2196: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../../nan/nan.h: At global scope:
../../nan/nan.h:2220: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type
../../nan/nan.h:2220: error: expected ‘;’ before ‘<’ token
../../nan/nan.h:2223: error: expected ‘;’ before ‘}’ token
../../nan/nan.h:2225: error: ‘MaybeLocal’ was not declared in this scope
../../nan/nan.h:2225: error: template argument 1 is invalid
../../nan/nan.h:2225: error: expected unqualified-id before ‘>’ token
../../nan/nan.h:2234: error: expected constructor, destructor, or type conversion before ‘<’ token
../node-expat.cc:11: error: ‘Handle’ has not been declared
../node-expat.cc:11: error: expected ‘,’ or ‘...’ before ‘<’ token
../node-expat.cc:481: error: ‘Handle’ has not been declared
../node-expat.cc:481: error: expected ‘,’ or ‘...’ before ‘<’ token
../node-expat.cc: In static member function ‘static void Parser::Initialize(int)’:
../node-expat.cc:29: error: ‘target’ was not declared in this scope
../node-expat.cc:29: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::GetError(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../node-expat.cc:173: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::StartElement(void*, const XML_Char*, const XML_Char**)’:
../node-expat.cc:301: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:301: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:304: error: ‘Handle’ was not declared in this scope
../node-expat.cc:304: error: expected primary-expression before ‘>’ token
../node-expat.cc:304: error: ‘argv’ was not declared in this scope
../node-expat.cc:304: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:305: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::EndElement(void*, const XML_Char*)’:
../node-expat.cc:317: error: ‘Handle’ was not declared in this scope
../node-expat.cc:317: error: expected primary-expression before ‘>’ token
../node-expat.cc:317: error: ‘argv’ was not declared in this scope
../node-expat.cc:317: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:317: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::StartCdata(void*)’:
../node-expat.cc:327: error: ‘Handle’ was not declared in this scope
../node-expat.cc:327: error: expected primary-expression before ‘>’ token
../node-expat.cc:327: error: ‘argv’ was not declared in this scope
../node-expat.cc:327: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::EndCdata(void*)’:
../node-expat.cc:337: error: ‘Handle’ was not declared in this scope
../node-expat.cc:337: error: expected primary-expression before ‘>’ token
../node-expat.cc:337: error: ‘argv’ was not declared in this scope
../node-expat.cc:337: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::Text(void*, const XML_Char*, int)’:
../node-expat.cc:348: error: ‘Handle’ was not declared in this scope
../node-expat.cc:348: error: expected primary-expression before ‘>’ token
../node-expat.cc:348: error: ‘argv’ was not declared in this scope
../node-expat.cc:348: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:349: error: no matching function for call to ‘New(const XML_Char*&, int&)’
../../nan/nan_new.h:270: note: candidates are: v8::Local<v8::Boolean> Nan::New(bool)
../../nan/nan_new.h:276: note: v8::Local<v8::Int32> Nan::New(int32_t)
../../nan/nan_new.h:282: note: v8::Local<v8::Uint32> Nan::New(uint32_t)
../../nan/nan_new.h:288: note: v8::Local<v8::Number> Nan::New(double)
../node-expat.cc: In static member function ‘static void Parser::ProcessingInstruction(void*, const XML_Char*, const XML_Char*)’:
../node-expat.cc:360: error: ‘Handle’ was not declared in this scope
../node-expat.cc:360: error: expected primary-expression before ‘>’ token
../node-expat.cc:360: error: ‘argv’ was not declared in this scope
../node-expat.cc:360: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:361: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:362: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::Comment(void*, const XML_Char*)’:
../node-expat.cc:373: error: ‘Handle’ was not declared in this scope
../node-expat.cc:373: error: expected primary-expression before ‘>’ token
../node-expat.cc:373: error: ‘argv’ was not declared in this scope
../node-expat.cc:373: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:373: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc: In static member function ‘static void Parser::XmlDecl(void*, const XML_Char*, const XML_Char*, int)’:
../node-expat.cc:387: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:388: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:390: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:395: error: invalid conversion from ‘v8::Local<v8::Value>*’ to ‘int’
../node-expat.cc:395: error: initializing argument 2 of ‘void Parser::Emit(int, int)’
../node-expat.cc: In static member function ‘static void Parser::EntityDecl(void*, const XML_Char*, int, const XML_Char*, int, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)’:
../node-expat.cc:408: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:409: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:413: error: no matching function for call to ‘New(const XML_Char*&, int&)’
../../nan/nan_new.h:270: note: candidates are: v8::Local<v8::Boolean> Nan::New(bool)
../../nan/nan_new.h:276: note: v8::Local<v8::Int32> Nan::New(int32_t)
../../nan/nan_new.h:282: note: v8::Local<v8::Uint32> Nan::New(uint32_t)
../../nan/nan_new.h:288: note: v8::Local<v8::Number> Nan::New(double)
../node-expat.cc:415: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:417: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:419: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:421: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:424: error: invalid conversion from ‘v8::Local<v8::Value>*’ to ‘int’
../node-expat.cc:424: error: initializing argument 2 of ‘void Parser::Emit(int, int)’
../node-expat.cc: In static member function ‘static int Parser::UnknownEncoding(void*, const XML_Char*, XML_Encoding*)’:
../node-expat.cc:438: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:439: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:442: error: invalid conversion from ‘v8::Local<v8::Value>*’ to ‘int’
../node-expat.cc:442: error: initializing argument 2 of ‘void Parser::Emit(int, int)’
../node-expat.cc: In member function ‘void Parser::Emit(int, int)’:
../node-expat.cc:485: error: ‘Handle’ was not declared in this scope
../node-expat.cc:485: error: expected primary-expression before ‘>’ token
../node-expat.cc:486: error: invalid use of member (did you forget the ‘&’ ?)
../node-expat.cc:486: error: base operand of ‘->’ is not a pointer
../node-expat.cc:486: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’
../node-expat.cc:486: error: expected primary-expression before ‘>’ token
../node-expat.cc:486: error: expected primary-expression before ‘)’ token
../node-expat.cc:487: error: ‘argv’ was not declared in this scope
../node-expat.cc: At global scope:
../node-expat.cc:492: error: variable or field ‘init’ declared void
../node-expat.cc:492: error: ‘Handle’ was not declared in this scope
../node-expat.cc:492: error: expected primary-expression before ‘>’ token
../node-expat.cc:492: error: ‘target’ was not declared in this scope
../node-expat.cc:497: error: ‘init’ was not declared in this scope
../node-expat.cc:497: error: too many initializers for ‘node::node_module’
make: *** [Release/obj.target/node_expat/node-expat.o] Error 1
@leachryanb please open a new issue
Please see https://github.com/buglabs/node-xml2json/issues/77