Build fails in node 4.1.0 (On travis ci) #52

Description

@alonisser

After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

But when trying to install the same on travis.ci I get the following error:

Checksums empty
Now using node v4.1.0
$ node --version
v4.1.0
$ npm --version
2.14.3
$ nvm --version
0.23.3
27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
> usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
> node-gyp rebuild
make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

Any clues or ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      , 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
       blocks
      (function() {
      function addCopyButtons() {
      document.querySelectorAll('pre code').forEach(function(codeBlock) {
      if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
      codeBlock.parentElement.setAttribute('data-copy-added', 'true');
      var btn = document.createElement('button');
      btn.textContent = 'Copy';
      btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
      btn.onmouseover = function() { this.style.opacity = '1'; };
      btn.onmouseout = function() { this.style.opacity = '0.7'; };
      btn.onclick = function() {
      navigator.clipboard.writeText(codeBlock.textContent).then(function() {
      btn.textContent = 'Copied!';
      setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
      });
      };
      codeBlock.parentElement.style.position = 'relative';
      codeBlock.parentElement.appendChild(btn);
      });
      }
      addCopyButtons();
      // Re-run on dynamic content
      var observer = new MutationObserver(addCopyButtons);
      observer.observe(document.body, { childList: true, subtree: true });
      })();
      }
      } catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
      })();
      (function(){
      try {
      var __m = "github.com";
      var __re = new RegExp('^' + "github\\.com" + '
      
      Skip to content

      Build fails in node 4.1.0 (On travis ci) #52

      Description

      @alonisser

      After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

      But when trying to install the same on travis.ci I get the following error:

      Checksums empty
      Now using node v4.1.0
      $ node --version
      v4.1.0
      $ npm --version
      2.14.3
      $ nvm --version
      0.23.3
      27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
      npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
      > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
      > node-gyp rebuild
      make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

      Any clues or ideas?

      Metadata

      Metadata

      Assignees

      No one assigned

        Labels

        No labels
        No labels

        Projects

        No projects

          Milestone

          No milestone

          Relationships

          None yet

          Development

          No branches or pull requests

          Issue actions

          , 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
          Skip to content

          Build fails in node 4.1.0 (On travis ci) #52

          Description

          @alonisser

          After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

          But when trying to install the same on travis.ci I get the following error:

          Checksums empty
          Now using node v4.1.0
          $ node --version
          v4.1.0
          $ npm --version
          2.14.3
          $ nvm --version
          0.23.3
          27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
          npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
          > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
          > node-gyp rebuild
          make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

          Any clues or ideas?

          Metadata

          Metadata

          Assignees

          No one assigned

            Labels

            No labels
            No labels

            Projects

            No projects

              Milestone

              No milestone

              Relationships

              None yet

              Development

              No branches or pull requests

              Issue actions

              , 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
              Skip to content

              Build fails in node 4.1.0 (On travis ci) #52

              Description

              @alonisser

              After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

              But when trying to install the same on travis.ci I get the following error:

              Checksums empty
              Now using node v4.1.0
              $ node --version
              v4.1.0
              $ npm --version
              2.14.3
              $ nvm --version
              0.23.3
              27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
              npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
              > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
              > node-gyp rebuild
              make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

              Any clues or ideas?

              Metadata

              Metadata

              Assignees

              No one assigned

                Labels

                No labels
                No labels

                Projects

                No projects

                  Milestone

                  No milestone

                  Relationships

                  None yet

                  Development

                  No branches or pull requests

                  Issue actions

                  , 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
                  Skip to content

                  Build fails in node 4.1.0 (On travis ci) #52

                  Description

                  @alonisser

                  After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

                  But when trying to install the same on travis.ci I get the following error:

                  Checksums empty
                  Now using node v4.1.0
                  $ node --version
                  v4.1.0
                  $ npm --version
                  2.14.3
                  $ nvm --version
                  0.23.3
                  27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
                  npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
                  > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
                  > node-gyp rebuild
                  make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

                  Any clues or ideas?

                  Metadata

                  Metadata

                  Assignees

                  No one assigned

                    Labels

                    No labels
                    No labels

                    Projects

                    No projects

                      Milestone

                      No milestone

                      Relationships

                      None yet

                      Development

                      No branches or pull requests

                      Issue actions

                      , 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
                      Skip to content

                      Build fails in node 4.1.0 (On travis ci) #52

                      Description

                      @alonisser

                      After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

                      But when trying to install the same on travis.ci I get the following error:

                      Checksums empty
                      Now using node v4.1.0
                      $ node --version
                      v4.1.0
                      $ npm --version
                      2.14.3
                      $ nvm --version
                      0.23.3
                      27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
                      npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
                      > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
                      > node-gyp rebuild
                      make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

                      Any clues or ideas?

                      Metadata

                      Metadata

                      Assignees

                      No one assigned

                        Labels

                        No labels
                        No labels

                        Projects

                        No projects

                          Milestone

                          No milestone

                          Relationships

                          None yet

                          Development

                          No branches or pull requests

                          Issue actions

                          , 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
                          Skip to content

                          Build fails in node 4.1.0 (On travis ci) #52

                          Description

                          @alonisser

                          After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

                          But when trying to install the same on travis.ci I get the following error:

                          Checksums empty
                          Now using node v4.1.0
                          $ node --version
                          v4.1.0
                          $ npm --version
                          2.14.3
                          $ nvm --version
                          0.23.3
                          27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
                          npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
                          > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
                          > node-gyp rebuild
                          make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

                          Any clues or ideas?

                          Metadata

                          Metadata

                          Assignees

                          No one assigned

                            Labels

                            No labels
                            No labels

                            Projects

                            No projects

                              Milestone

                              No milestone

                              Relationships

                              None yet

                              Development

                              No branches or pull requests

                              Issue actions

                              , 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
                              Skip to content

                              Build fails in node 4.1.0 (On travis ci) #52

                              Description

                              @alonisser

                              After upgrading to usage 0.7.1 all works and installs locally with node 4.1.0

                              But when trying to install the same on travis.ci I get the following error:

                              Checksums empty
                              Now using node v4.1.0
                              $ node --version
                              v4.1.0
                              $ npm --version
                              2.14.3
                              $ nvm --version
                              0.23.3
                              27.40s$ npm install npm WARN package.json swamp@0.1.2 No license field.
                              npm WARN engine appolo-express@1.3.4: wanted: {"node":"0.10.x","npm":"1.4.x"} (current: {"node":"4.1.0","npm":"2.14.3"})
                              > usage@0.7.1 install /home/travis/build/uditalias/swamp/node_modules/usage
                              > node-gyp rebuild
                              make: Entering directory `/home/travis/build/uditalias/swamp/node_modules/usage/build' CXX(target) Release/obj.target/sysinfo/src/binding.oIn file included from /home/travis/.node-gyp/4.1.0/include/node/node.h:42:0, from ../src/binding.h:1, from ../src/binding.cpp:1:/home/travis/.node-gyp/4.1.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’/home/travis/.node-gyp/4.1.0/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’In file included from ../node_modules/nan/nan.h:182:0, from ../src/binding.cpp:2:../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:60:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:65:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:70:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:77:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:84:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:92:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:99:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:109:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:115:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:119:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:126:1: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:131:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:136:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:140:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:146:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:151:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:157:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:163:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:169:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:175:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:181:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:187:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:195:12: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:202:1: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:206:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:210:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:214:12: error: ‘Maybe’ does not name a type../node_modules/nan/nan_maybe_43_inl.h:218:12: error: ‘MaybeLocal’ does not name a typeIn file included from ../node_modules/nan/nan.h:187:0, from ../src/binding.cpp:2:../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:187, from ../src/binding.cpp:2:../node_modules/nan/nan_converters_43_inl.h:18:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Boolean>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:19:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Number>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:20:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::String>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:21:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Object>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:22:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Integer>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:23:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Uint32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:24:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<v8::Int32>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:37:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<unsigned int>’ does not name a type../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:21:32: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:28:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’../node_modules/nan/nan_new.h:35:31: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan_new.h: At global scope:../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a typeIn file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:188, from ../src/binding.cpp:2:../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)’:../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan_implementation_12_inl.h: At global scope:../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:286:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a typeIn file included from ../node_modules/nan/nan.h:188:0, from ../src/binding.cpp:2:../node_modules/nan/nan_new.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:297:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:303:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:309:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:315:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:321:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type../node_modules/nan/nan_new.h:327:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a typeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:../node_modules/nan/nan.h:639:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:../node_modules/nan/nan.h:640:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:../node_modules/nan/nan.h:641:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:../node_modules/nan/nan.h:642:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:../node_modules/nan/nan.h:643:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:651:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:673:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:689:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:702:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:719:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:725:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:733:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:740:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h:746:14: error: ‘MaybeLocal’ does not name a type../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:../node_modules/nan/nan.h:1366:40: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:1366:40: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1488:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1506:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:../node_modules/nan/nan.h:1540:58: error: no matching function for call to ‘New(const char*)’../node_modules/nan/nan.h:1540:58: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1829:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]../node_modules/nan/nan.h:1829:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)../node_modules/nan/nan.h:1830:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:1842:32: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:1843:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:../node_modules/nan/nan.h:1868:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:../node_modules/nan/nan.h:1911:51: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:1959:47: error: ‘NewInstance’ was not declared in this scope../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2029:47: error: ‘NewInstance’ was not declared in this scopeIn file included from ../src/binding.cpp:2:0:../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:../node_modules/nan/nan.h:2090:35: error: no matching function for call to ‘New(const char*&)’../node_modules/nan/nan.h:2090:35: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../node_modules/nan/nan.h:2091:47: error: ‘GetFunction’ was not declared in this scope../node_modules/nan/nan.h:2091:65: error: ‘Set’ was not declared in this scope../node_modules/nan/nan.h:2091:65: note: suggested alternative:/home/travis/.node-gyp/4.1.0/include/node/v8.h:3021:17: note: ‘v8::Set’../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:2098:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’../node_modules/nan/nan.h:2098:30: note: candidate is:../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:../node_modules/nan/nan.h:2111:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:../node_modules/nan/nan.h:2117:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’../src/binding.cpp: In function ‘void RegisterModule(v8::Local<v8::Object>)’:../src/binding.cpp:8:40: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:8:40: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:9:44: error: no matching function for call to ‘New(const char [10])’../src/binding.cpp:9:44: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:37: error: no matching function for call to ‘New(const char [3])’../src/binding.cpp:16:37: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)../src/binding.cpp:16:76: error: no matching function for call to ‘New(const char [6])’../src/binding.cpp:16:76: note: candidates are:../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1make: Leaving directory `/home/travis/build/uditalias/swamp/node_modules/usage/build'gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/home/travis/.nvm/versions/node/v4.1.0/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 Linux 2.6.32-042stab090.5gyp ERR!command"/home/travis/.nvm/versions/node/v4.1.0/bin/node""/home/travis/.nvm/versions/node/v4.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js""rebuild"gyp ERR! cwd /home/travis/build/uditalias/swamp/node_modules/usagegyp ERR! node -v v4.1.0gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok 

                              Any clues or ideas?

                              Metadata

                              Metadata

                              Assignees

                              No one assigned

                                Labels

                                No labels
                                No labels

                                Projects

                                No projects

                                  Milestone

                                  No milestone

                                  Relationships

                                  None yet

                                  Development

                                  No branches or pull requests

                                  Issue actions