Advertisement
Guest User

Homebridge Error

a guest
Feb 5th, 2017
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.49 KB | None | 0 0
  1. pi@Raspbi ~ $ sudo npm install -g --unsafe-perm homebridge
  2. /usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
  3.  
  4. > mdns@2.3.3 install /usr/local/lib/node_modules/homebridge/node_modules/mdns
  5. > node-gyp rebuild
  6.  
  7. make: Entering directory '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build'
  8. CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
  9. In file included from ../src/mdns.hpp:12:0,
  10. from ../src/dns_sd.cpp:1:
  11. ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
  12. In file included from /root/.node-gyp/5.6.0/include/node/node.h:42:0,
  13. from ../src/mdns.hpp:11,
  14. from ../src/dns_sd.cpp:1:
  15. /root/.node-gyp/5.6.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’
  16. /root/.node-gyp/5.6.0/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’
  17. /root/.node-gyp/5.6.0/include/node/v8.h:856:1: error: expected unqualified-id before ‘using’
  18. In file included from ../node_modules/nan/nan.h:190:0,
  19. from ../src/mdns.hpp:12,
  20. from ../src/dns_sd.cpp:1:
  21. ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
  22. ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
  23. ../node_modules/nan/nan_maybe_43_inl.h:19:8: error: ‘Maybe’ does not name a type
  24. ../node_modules/nan/nan_maybe_43_inl.h:24:8: error: ‘Maybe’ does not name a type
  25. ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
  26. ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
  27. ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
  28. ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
  29. ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
  30. ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
  31. ../node_modules/nan/nan_maybe_43_inl.h:64:8: error: ‘MaybeLocal’ does not name a type
  32. ../node_modules/nan/nan_maybe_43_inl.h:69:8: error: ‘Maybe’ does not name a type
  33. ../node_modules/nan/nan_maybe_43_inl.h:76:8: error: ‘Maybe’ does not name a type
  34. ../node_modules/nan/nan_maybe_43_inl.h:83:8: error: ‘Maybe’ does not name a type
  35. ../node_modules/nan/nan_maybe_43_inl.h:91:8: error: ‘MaybeLocal’ does not name a type
  36. ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
  37. ../node_modules/nan/nan_maybe_43_inl.h:108:8: error: ‘Maybe’ does not name a type
  38. ../node_modules/nan/nan_maybe_43_inl.h:114:8: error: ‘Maybe’ does not name a type
  39. ../node_modules/nan/nan_maybe_43_inl.h:118:8: error: ‘Maybe’ does not name a type
  40. ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
  41. ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
  42. ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
  43. ../node_modules/nan/nan_maybe_43_inl.h:139:8: error: ‘Maybe’ does not name a type
  44. ../node_modules/nan/nan_maybe_43_inl.h:145:8: error: ‘MaybeLocal’ does not name a type
  45. ../node_modules/nan/nan_maybe_43_inl.h:150:8: error: ‘Maybe’ does not name a type
  46. ../node_modules/nan/nan_maybe_43_inl.h:156:8: error: ‘Maybe’ does not name a type
  47. ../node_modules/nan/nan_maybe_43_inl.h:162:8: error: ‘Maybe’ does not name a type
  48. ../node_modules/nan/nan_maybe_43_inl.h:168:8: error: ‘Maybe’ does not name a type
  49. ../node_modules/nan/nan_maybe_43_inl.h:174:8: error: ‘MaybeLocal’ does not name a type
  50. ../node_modules/nan/nan_maybe_43_inl.h:180:8: error: ‘MaybeLocal’ does not name a type
  51. ../node_modules/nan/nan_maybe_43_inl.h:186:8: error: ‘MaybeLocal’ does not name a type
  52. ../node_modules/nan/nan_maybe_43_inl.h:194:8: error: ‘MaybeLocal’ does not name a type
  53. ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
  54. ../node_modules/nan/nan_maybe_43_inl.h:205:8: error: ‘Maybe’ does not name a type
  55. ../node_modules/nan/nan_maybe_43_inl.h:209:8: error: ‘Maybe’ does not name a type
  56. ../node_modules/nan/nan_maybe_43_inl.h:213:8: error: ‘Maybe’ does not name a type
  57. ../node_modules/nan/nan_maybe_43_inl.h:217:8: error: ‘MaybeLocal’ does not name a type
  58. ../node_modules/nan/nan_maybe_43_inl.h:237:8: error: ‘MaybeLocal’ does not name a type
  59. In file included from ../node_modules/nan/nan.h:195:0,
  60. from ../src/mdns.hpp:12,
  61. from ../src/dns_sd.cpp:1:
  62. ../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
  63. ../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
  64. ../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
  65. ../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
  66. ../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
  67. ../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
  68. ../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
  69. ../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
  70. ../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
  71. ../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
  72. ../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
  73. ../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
  74. ../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
  75. ../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
  76. In file included from ../node_modules/nan/nan_converters.h:59:0,
  77. from ../node_modules/nan/nan.h:195,
  78. from ../src/mdns.hpp:12,
  79. from ../src/dns_sd.cpp:1:
  80. ../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
  81. ../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
  82. ../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
  83. ../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
  84. ../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
  85. ../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
  86. ../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
  87. ../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
  88. ../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
  89. ../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long int>’ does not name a type
  90. ../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
  91. ../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
  92. In file included from ../node_modules/nan/nan.h:196:0,
  93. from ../src/mdns.hpp:12,
  94. from ../src/dns_sd.cpp:1:
  95. ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
  96. ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
  97. ../node_modules/nan/nan_new.h:21:32: note: candidate is:
  98. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  99. ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
  100. ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
  101. ../node_modules/nan/nan_new.h:28:30: note: candidate is:
  102. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  103. ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
  104. ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
  105. ../node_modules/nan/nan_new.h:35:31: note: candidate is:
  106. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  107. ../node_modules/nan/nan_new.h: At global scope:
  108. ../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
  109. ../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
  110. ../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
  111. ../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
  112. ../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
  113. ../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
  114. ../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
  115. ../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
  116. ../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
  117. ../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
  118. ../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
  119. ../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
  120. ../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
  121. In file included from ../node_modules/nan/nan_new.h:189:0,
  122. from ../node_modules/nan/nan.h:196,
  123. from ../src/mdns.hpp:12,
  124. from ../src/dns_sd.cpp:1:
  125. ../node_modules/nan/nan_implementation_12_inl.h:61:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type
  126. ../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>)’:
  127. ../node_modules/nan/nan_implementation_12_inl.h:95:46: error: ‘NewInstance’ was not declared in this scope
  128. ../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>)’:
  129. ../node_modules/nan/nan_implementation_12_inl.h:123:48: error: ‘NewInstance’ was not declared in this scope
  130. ../node_modules/nan/nan_implementation_12_inl.h: At global scope:
  131. ../node_modules/nan/nan_implementation_12_inl.h:202:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
  132. ../node_modules/nan/nan_implementation_12_inl.h:221:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
  133. ../node_modules/nan/nan_implementation_12_inl.h:227:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
  134. ../node_modules/nan/nan_implementation_12_inl.h:259:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  135. ../node_modules/nan/nan_implementation_12_inl.h:267:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  136. ../node_modules/nan/nan_implementation_12_inl.h:273:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  137. ../node_modules/nan/nan_implementation_12_inl.h:280:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  138. ../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
  139. ../node_modules/nan/nan_implementation_12_inl.h:291:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  140. ../node_modules/nan/nan_implementation_12_inl.h:352:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
  141. ../node_modules/nan/nan_implementation_12_inl.h:359:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
  142. In file included from ../node_modules/nan/nan.h:196:0,
  143. from ../src/mdns.hpp:12,
  144. from ../src/dns_sd.cpp:1:
  145. ../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  146. ../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  147. ../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  148. ../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  149. ../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  150. ../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  151. ../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
  152. ../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
  153. In file included from ../src/mdns.hpp:12:0,
  154. from ../src/dns_sd.cpp:1:
  155. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
  156. ../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  157. ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
  158. ../node_modules/nan/nan.h:655:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  159. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
  160. ../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  161. ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
  162. ../node_modules/nan/nan.h:656:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  163. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
  164. ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  165. ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
  166. ../node_modules/nan/nan.h:657:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  167. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
  168. ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  169. ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
  170. ../node_modules/nan/nan.h:658:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  171. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
  172. ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  173. ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
  174. ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  175. ../node_modules/nan/nan.h: At global scope:
  176. ../node_modules/nan/nan.h:667:10: error: ‘MaybeLocal’ does not name a type
  177. ../node_modules/nan/nan.h:689:10: error: ‘MaybeLocal’ does not name a type
  178. ../node_modules/nan/nan.h:705:10: error: ‘MaybeLocal’ does not name a type
  179. ../node_modules/nan/nan.h:718:10: error: ‘MaybeLocal’ does not name a type
  180. ../node_modules/nan/nan.h:735:10: error: ‘MaybeLocal’ does not name a type
  181. ../node_modules/nan/nan.h:741:10: error: ‘MaybeLocal’ does not name a type
  182. ../node_modules/nan/nan.h:749:10: error: ‘MaybeLocal’ does not name a type
  183. ../node_modules/nan/nan.h:756:10: error: ‘MaybeLocal’ does not name a type
  184. ../node_modules/nan/nan.h:762:10: error: ‘MaybeLocal’ does not name a type
  185. ../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
  186. ../node_modules/nan/nan.h:1398:40: error: ‘Set’ was not declared in this scope
  187. ../node_modules/nan/nan.h:1398:40: note: suggested alternative:
  188. /root/.node-gyp/5.6.0/include/node/v8.h:3019:17: note: ‘v8::Set’
  189. ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
  190. ../node_modules/nan/nan.h:1518:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  191. ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
  192. ../node_modules/nan/nan.h:1536:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  193. ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
  194. ../node_modules/nan/nan.h:1570:58: error: no matching function for call to ‘New(const char*)’
  195. ../node_modules/nan/nan.h:1570:58: note: candidates are:
  196. ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
  197. ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
  198. ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
  199. ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
  200. ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
  201. ../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)
  202. ../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)
  203. ../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)
  204. ../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>)
  205. ../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)
  206. ../node_modules/nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)’:
  207. ../node_modules/nan/nan.h:1872:34: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
  208. ../node_modules/nan/nan.h:1872:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  209. ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback)’:
  210. ../node_modules/nan/nan.h:1884:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  211. ../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)’:
  212. ../node_modules/nan/nan.h:1899:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  213. ../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)’:
  214. ../node_modules/nan/nan.h:1924:47: error: ‘NewInstance’ was not declared in this scope
  215. ../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)’:
  216. ../node_modules/nan/nan.h:1967:51: error: ‘NewInstance’ was not declared in this scope
  217. ../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>)’:
  218. ../node_modules/nan/nan.h:2026:47: error: ‘NewInstance’ was not declared in this scope
  219. ../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>)’:
  220. ../node_modules/nan/nan.h:2096:47: error: ‘NewInstance’ was not declared in this scope
  221. ../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
  222. ../node_modules/nan/nan.h:2151:47: error: ‘NewInstance’ was not declared in this scope
  223. ../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)’:
  224. ../node_modules/nan/nan.h:2173:47: error: ‘NewInstance’ was not declared in this scope
  225. In file included from ../src/mdns.hpp:12:0,
  226. from ../src/dns_sd.cpp:1:
  227. ../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)’:
  228. ../node_modules/nan/nan.h:2200:35: error: no matching function for call to ‘New(const char*&)’
  229. ../node_modules/nan/nan.h:2200:35: note: candidates are:
  230. ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
  231. ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
  232. ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
  233. ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
  234. ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
  235. ../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)
  236. ../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)
  237. ../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)
  238. ../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>)
  239. ../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)
  240. ../node_modules/nan/nan.h:2201:47: error: ‘GetFunction’ was not declared in this scope
  241. ../node_modules/nan/nan.h:2201:65: error: ‘Set’ was not declared in this scope
  242. ../node_modules/nan/nan.h:2201:65: note: suggested alternative:
  243. /root/.node-gyp/5.6.0/include/node/v8.h:3019:17: note: ‘v8::Set’
  244. ../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’:
  245. ../node_modules/nan/nan.h:2208:30: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’
  246. ../node_modules/nan/nan.h:2208:30: note: candidate is:
  247. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  248. ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’:
  249. ../node_modules/nan/nan.h:2221:33: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  250. ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’:
  251. ../node_modules/nan/nan.h:2227:30: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  252. ../node_modules/nan/nan.h: At global scope:
  253. ../node_modules/nan/nan.h:2251:10: error: ‘MaybeLocal’ does not name a type
  254. ../node_modules/nan/nan.h:2256:40: error: ‘MaybeLocal’ was not declared in this scope
  255. ../node_modules/nan/nan.h:2256:40: note: suggested alternative:
  256. /root/.node-gyp/5.6.0/include/node/v8.h:111:7: note: ‘v8::MaybeLocal’
  257. ../node_modules/nan/nan.h:2256:52: error: template argument 1 is invalid
  258. ../node_modules/nan/nan.h:2256:54: error: expected unqualified-id before ‘>’ token
  259. ../node_modules/nan/nan.h:2265:1: error: ‘MaybeLocal’ does not name a type
  260. In file included from ../src/dns_sd.cpp:5:0:
  261. ../src/mdns_utils.hpp: In function ‘v8::Local<v8::Value> node_mdns::stringOrUndefined(const char*)’:
  262. ../src/mdns_utils.hpp:50:40: error: no matching function for call to ‘New(const char*&)’
  263. ../src/mdns_utils.hpp:50:40: note: candidates are:
  264. ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
  265. ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
  266. ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
  267. ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
  268. ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
  269. ../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)
  270. ../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)
  271. ../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)
  272. ../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>)
  273. ../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)
  274. In file included from ../src/dns_sd.cpp:7:0:
  275. ../src/txt_record_ref.hpp: At global scope:
  276. ../src/txt_record_ref.hpp:11:36: error: ‘v8::Handle’ has not been declared
  277. ../src/txt_record_ref.hpp:11:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  278. ../src/txt_record_ref.hpp:16:44: error: ‘v8::Handle’ has not been declared
  279. ../src/txt_record_ref.hpp:16:50: error: expected ‘,’ or ‘...’ before ‘<’ token
  280. ../src/txt_record_ref.hpp: In static member function ‘static bool node_mdns::TxtRecordRef::HasInstance(int)’:
  281. ../src/txt_record_ref.hpp:17:20: error: ‘value’ was not declared in this scope
  282. ../src/txt_record_ref.hpp:18:44: error: ‘value’ was not declared in this scope
  283. In file included from ../src/dns_sd.cpp:9:0:
  284. ../src/socket_watcher.hpp: At global scope:
  285. ../src/socket_watcher.hpp:10:36: error: ‘v8::Handle’ has not been declared
  286. ../src/socket_watcher.hpp:10:42: error: expected ‘,’ or ‘...’ before ‘<’ token
  287. ../src/dns_sd.cpp: In function ‘void node_mdns::init(v8::Local<v8::Object>)’:
  288. ../src/dns_sd.cpp:56:38: error: no matching function for call to ‘node_mdns::TxtRecordRef::Initialize(v8::Local<v8::Object>&)’
  289. ../src/dns_sd.cpp:56:38: note: candidate is:
  290. ../src/txt_record_ref.hpp:11:21: note: static void node_mdns::TxtRecordRef::Initialize(int)
  291. ../src/txt_record_ref.hpp:11:21: note: no known conversion for argument 1 from ‘v8::Local<v8::Object>’ to ‘int’
  292. ../src/dns_sd.cpp:58:39: error: no matching function for call to ‘node_mdns::SocketWatcher::Initialize(v8::Local<v8::Object>&)’
  293. ../src/dns_sd.cpp:58:39: note: candidate is:
  294. ../src/socket_watcher.hpp:10:21: note: static void node_mdns::SocketWatcher::Initialize(int)
  295. ../src/socket_watcher.hpp:10:21: note: no known conversion for argument 1 from ‘v8::Local<v8::Object>’ to ‘int’
  296. ../src/dns_sd.cpp: In function ‘void node_mdns::defineFunction(v8::Local<v8::Object>, const char*, Nan::FunctionCallback)’:
  297. ../src/dns_sd.cpp:94:5: error: ‘Set’ is not a member of ‘Nan’
  298. ../src/dns_sd.cpp:94:5: note: suggested alternatives:
  299. /root/.node-gyp/5.6.0/include/node/v8.h:3019:17: note: ‘v8::Set’
  300. /root/.node-gyp/5.6.0/include/node/v8.h:3019:17: note: ‘v8::Set’
  301. ../src/dns_sd.cpp:94:37: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
  302. ../src/dns_sd.cpp:95:13: error: ‘GetFunction’ is not a member of ‘Nan’
  303. ../src/dns_sd.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_mdns::buildException(Nan::NAN_METHOD_ARGS_TYPE)’:
  304. ../src/dns_sd.cpp:107:57: error: no matching function for call to ‘To(v8::Local<v8::Value>)’
  305. ../src/dns_sd.cpp:107:57: note: candidate is:
  306. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  307. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
  308. ../node_modules/nan/nan.h:655:3: warning: control reaches end of non-void function [-Wreturn-type]
  309. dns_sd_bindings.target.mk:142: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed
  310. make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1
  311. make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build'
  312. gyp ERR! build error
  313. gyp ERR! stack Error: `make` failed with exit code: 2
  314. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
  315. gyp ERR! stack at emitTwo (events.js:100:13)
  316. gyp ERR! stack at ChildProcess.emit (events.js:185:7)
  317. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  318. gyp ERR! System Linux 3.12.28+
  319. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  320. gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/mdns
  321. gyp ERR! node -v v5.6.0
  322. gyp ERR! node-gyp -v v3.2.1
  323. gyp ERR! not ok
  324. /usr/local/lib
  325. └── (empty)
  326.  
  327. npm ERR! Linux 3.12.28+
  328. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "homebridge"
  329. npm ERR! node v5.6.0
  330. npm ERR! npm v3.6.0
  331. npm ERR! code ELIFECYCLE
  332.  
  333. npm ERR! mdns@2.3.3 install: `node-gyp rebuild`
  334. npm ERR! Exit status 1
  335. npm ERR!
  336. npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
  337. npm ERR! Make sure you have the latest version of node.js and npm installed.
  338. npm ERR! If you do, this is most likely a problem with the mdns package,
  339. npm ERR! not with npm itself.
  340. npm ERR! Tell the author that this fails on your system:
  341. npm ERR! node-gyp rebuild
  342. npm ERR! You can get information on how to open an issue for this project with:
  343. npm ERR! npm bugs mdns
  344. npm ERR! Or if that isn't available, you can get their info via:
  345. npm ERR! npm owner ls mdns
  346. npm ERR! There is likely additional logging output above.
  347.  
  348. npm ERR! Please include the following file with any support request:
  349. npm ERR! /home/pi/npm-debug.log
  350. npm ERR! code 1
  351. pi@Raspbi ~ $ homebridge
  352. -bash: homebridge: Kommando nicht gefunden.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement