Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
149
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.28 KB | None
  1. root@pimatic:/home/pi/pimatic-app# npm install sqlite3
  2. /
  3. > sqlite3@3.1.7 install /home/pi/pimatic-app/node_modules/sqlite3
  4. > node-pre-gyp install --fallback-to-build
  5.  
  6. node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.7/node-v46-linux-arm.tar.gz
  7. node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.7 and node@4.4.5 (node-v46 ABI) (falling back to source compile with node-gyp)
  8. make: Entering directory '/home/pi/pimatic-app/node_modules/sqlite3/build'
  9. ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
  10. TOUCH Release/obj.target/deps/action_before_build.stamp
  11. CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
  12. AR(target) Release/obj.target/deps/sqlite3.a
  13. COPY Release/sqlite3.a
  14. CXX(target) Release/obj.target/node_sqlite3/src/database.o
  15. In file included from ../src/database.h:10:0,
  16. from ../src/database.cc:4:
  17. ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
  18. In file included from /root/.node-gyp/4.4.5/include/node/node.h:42:0,
  19. from ../node_modules/nan/nan.h:47,
  20. from ../src/database.h:10,
  21. from ../src/database.cc:4:
  22. /root/.node-gyp/4.4.5/include/node/v8.h:336:1: error: expected unqualified-id before 'using'
  23. /root/.node-gyp/4.4.5/include/node/v8.h:469:1: error: expected unqualified-id before 'using'
  24. /root/.node-gyp/4.4.5/include/node/v8.h:852:1: error: expected unqualified-id before 'using'
  25. In file included from ../node_modules/nan/nan.h:190:0,
  26. from ../src/database.h:10,
  27. from ../src/database.cc:4:
  28. ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before 'using'
  29. ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before 'using'
  30. ../node_modules/nan/nan_maybe_43_inl.h:19:8: error: 'Maybe' does not name a type
  31. ../node_modules/nan/nan_maybe_43_inl.h:24:8: error: 'Maybe' does not name a type
  32. ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: 'MaybeLocal' does not name a type
  33. ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: 'MaybeLocal' does not name a type
  34. ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: 'Maybe' does not name a type
  35. ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: 'MaybeLocal' does not name a type
  36. ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: 'MaybeLocal' does not name a type
  37. ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: 'MaybeLocal' does not name a type
  38. ../node_modules/nan/nan_maybe_43_inl.h:64:8: error: 'MaybeLocal' does not name a type
  39. ../node_modules/nan/nan_maybe_43_inl.h:69:8: error: 'Maybe' does not name a type
  40. ../node_modules/nan/nan_maybe_43_inl.h:76:8: error: 'Maybe' does not name a type
  41. ../node_modules/nan/nan_maybe_43_inl.h:83:8: error: 'Maybe' does not name a type
  42. ../node_modules/nan/nan_maybe_43_inl.h:91:8: error: 'MaybeLocal' does not name a type
  43. ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: 'MaybeLocal' does not name a type
  44. ../node_modules/nan/nan_maybe_43_inl.h:108:8: error: 'Maybe' does not name a type
  45. ../node_modules/nan/nan_maybe_43_inl.h:114:8: error: 'Maybe' does not name a type
  46. ../node_modules/nan/nan_maybe_43_inl.h:118:8: error: 'Maybe' does not name a type
  47. ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: 'Maybe' does not name a type
  48. ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: 'MaybeLocal' does not name a type
  49. ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: 'MaybeLocal' does not name a type
  50. ../node_modules/nan/nan_maybe_43_inl.h:139:8: error: 'Maybe' does not name a type
  51. ../node_modules/nan/nan_maybe_43_inl.h:145:8: error: 'MaybeLocal' does not name a type
  52. ../node_modules/nan/nan_maybe_43_inl.h:150:8: error: 'Maybe' does not name a type
  53. ../node_modules/nan/nan_maybe_43_inl.h:156:8: error: 'Maybe' does not name a type
  54. ../node_modules/nan/nan_maybe_43_inl.h:162:8: error: 'Maybe' does not name a type
  55. ../node_modules/nan/nan_maybe_43_inl.h:168:8: error: 'Maybe' does not name a type
  56. ../node_modules/nan/nan_maybe_43_inl.h:174:8: error: 'MaybeLocal' does not name a type
  57. ../node_modules/nan/nan_maybe_43_inl.h:180:8: error: 'MaybeLocal' does not name a type
  58. ../node_modules/nan/nan_maybe_43_inl.h:186:8: error: 'MaybeLocal' does not name a type
  59. ../node_modules/nan/nan_maybe_43_inl.h:194:8: error: 'MaybeLocal' does not name a type
  60. ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: 'MaybeLocal' does not name a type
  61. ../node_modules/nan/nan_maybe_43_inl.h:205:8: error: 'Maybe' does not name a type
  62. ../node_modules/nan/nan_maybe_43_inl.h:209:8: error: 'Maybe' does not name a type
  63. ../node_modules/nan/nan_maybe_43_inl.h:213:8: error: 'Maybe' does not name a type
  64. ../node_modules/nan/nan_maybe_43_inl.h:217:8: error: 'MaybeLocal' does not name a type
  65. ../node_modules/nan/nan_maybe_43_inl.h:237:8: error: 'MaybeLocal' does not name a type
  66. In file included from ../node_modules/nan/nan.h:195:0,
  67. from ../src/database.h:10,
  68. from ../src/database.cc:4:
  69. ../node_modules/nan/nan_converters.h:14:11: error: 'MaybeLocal' does not name a type
  70. ../node_modules/nan/nan_converters.h:16:56: error: 'Maybe' does not name a type
  71. ../node_modules/nan/nan_converters.h:26:1: error: 'return_t' does not name a type
  72. ../node_modules/nan/nan_converters.h:27:1: error: 'return_t' does not name a type
  73. ../node_modules/nan/nan_converters.h:28:1: error: 'return_t' does not name a type
  74. ../node_modules/nan/nan_converters.h:29:1: error: 'return_t' does not name a type
  75. ../node_modules/nan/nan_converters.h:30:1: error: 'return_t' does not name a type
  76. ../node_modules/nan/nan_converters.h:31:1: error: 'return_t' does not name a type
  77. ../node_modules/nan/nan_converters.h:32:1: error: 'return_t' does not name a type
  78. ../node_modules/nan/nan_converters.h:42:1: error: 'return_t' does not name a type
  79. ../node_modules/nan/nan_converters.h:43:1: error: 'return_t' does not name a type
  80. ../node_modules/nan/nan_converters.h:44:1: error: 'return_t' does not name a type
  81. ../node_modules/nan/nan_converters.h:45:1: error: 'return_t' does not name a type
  82. ../node_modules/nan/nan_converters.h:46:1: error: 'return_t' does not name a type
  83. In file included from ../node_modules/nan/nan_converters.h:59:0,
  84. from ../node_modules/nan/nan.h:195,
  85. from ../src/database.h:10,
  86. from ../src/database.cc:4:
  87. ../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
  88. ../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
  89. ../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
  90. ../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
  91. ../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
  92. ../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
  93. ../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
  94. ../node_modules/nan/nan_converters_43_inl.h:34:1: error: 'return_t' in 'struct Nan::imp::ToFactory<bool>' does not name a type
  95. ../node_modules/nan/nan_converters_43_inl.h:35:1: error: 'return_t' in 'struct Nan::imp::ToFactory<double>' does not name a type
  96. ../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
  97. ../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
  98. ../node_modules/nan/nan_converters_43_inl.h:38:1: error: 'return_t' in 'struct Nan::imp::ToFactory<int>' does not name a type
  99. In file included from ../node_modules/nan/nan.h:196:0,
  100. from ../src/database.h:10,
  101. from ../src/database.cc:4:
  102. ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]':
  103. ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
  104. ../node_modules/nan/nan_new.h:21:32: note: candidate is:
  105. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  106. ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]':
  107. ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
  108. ../node_modules/nan/nan_new.h:28:30: note: candidate is:
  109. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  110. ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]':
  111. ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
  112. ../node_modules/nan/nan_new.h:35:31: note: candidate is:
  113. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  114. ../node_modules/nan/nan_new.h: At global scope:
  115. ../node_modules/nan/nan_new.h:43:11: error: 'MaybeLocal' does not name a type
  116. ../node_modules/nan/nan_new.h:75:17: error: 'return_t' does not name a type
  117. ../node_modules/nan/nan_new.h:141:17: error: 'return_t' does not name a type
  118. ../node_modules/nan/nan_new.h:147:17: error: 'return_t' does not name a type
  119. ../node_modules/nan/nan_new.h:148:17: error: 'return_t' does not name a type
  120. ../node_modules/nan/nan_new.h:160:17: error: 'return_t' does not name a type
  121. ../node_modules/nan/nan_new.h:161:17: error: 'return_t' does not name a type
  122. ../node_modules/nan/nan_new.h:162:17: error: 'return_t' does not name a type
  123. ../node_modules/nan/nan_new.h:163:17: error: 'return_t' does not name a type
  124. ../node_modules/nan/nan_new.h:165:17: error: 'return_t' does not name a type
  125. ../node_modules/nan/nan_new.h:166:17: error: 'return_t' does not name a type
  126. ../node_modules/nan/nan_new.h:182:17: error: 'return_t' does not name a type
  127. ../node_modules/nan/nan_new.h:183:17: error: 'return_t' does not name a type
  128. In file included from ../node_modules/nan/nan_new.h:189:0,
  129. from ../node_modules/nan/nan.h:196,
  130. from ../src/database.h:10,
  131. from ../src/database.cc:4:
  132. ../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
  133. ../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>)':
  134. ../node_modules/nan/nan_implementation_12_inl.h:95:46: error: 'NewInstance' was not declared in this scope
  135. ../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>)':
  136. ../node_modules/nan/nan_implementation_12_inl.h:123:48: error: 'NewInstance' was not declared in this scope
  137. ../node_modules/nan/nan_implementation_12_inl.h: At global scope:
  138. ../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
  139. ../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
  140. ../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
  141. ../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
  142. ../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
  143. ../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
  144. ../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
  145. ../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
  146. ../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
  147. ../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
  148. ../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
  149. In file included from ../node_modules/nan/nan.h:196:0,
  150. from ../src/database.h:10,
  151. from ../src/database.cc:4:
  152. ../node_modules/nan/nan_new.h:293:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  153. ../node_modules/nan/nan_new.h:299:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  154. ../node_modules/nan/nan_new.h:305:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  155. ../node_modules/nan/nan_new.h:311:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  156. ../node_modules/nan/nan_new.h:317:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  157. ../node_modules/nan/nan_new.h:323:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  158. ../node_modules/nan/nan_new.h:329:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
  159. ../node_modules/nan/nan_new.h:335:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::RegExp>' does not name a type
  160. In file included from ../src/database.h:10:0,
  161. from ../src/database.cc:4:
  162. ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':
  163. ../node_modules/nan/nan.h:655:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  164. ../node_modules/nan/nan.h: In function 'void Nan::ThrowError(const char*)':
  165. ../node_modules/nan/nan.h:655:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  166. ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::RangeError(const char*)':
  167. ../node_modules/nan/nan.h:656:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  168. ../node_modules/nan/nan.h: In function 'void Nan::ThrowRangeError(const char*)':
  169. ../node_modules/nan/nan.h:656:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  170. ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::ReferenceError(const char*)':
  171. ../node_modules/nan/nan.h:657:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  172. ../node_modules/nan/nan.h: In function 'void Nan::ThrowReferenceError(const char*)':
  173. ../node_modules/nan/nan.h:657:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  174. ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::SyntaxError(const char*)':
  175. ../node_modules/nan/nan.h:658:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  176. ../node_modules/nan/nan.h: In function 'void Nan::ThrowSyntaxError(const char*)':
  177. ../node_modules/nan/nan.h:658:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  178. ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::TypeError(const char*)':
  179. ../node_modules/nan/nan.h:659:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  180. ../node_modules/nan/nan.h: In function 'void Nan::ThrowTypeError(const char*)':
  181. ../node_modules/nan/nan.h:659:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  182. ../node_modules/nan/nan.h: At global scope:
  183. ../node_modules/nan/nan.h:667:10: error: 'MaybeLocal' does not name a type
  184. ../node_modules/nan/nan.h:689:10: error: 'MaybeLocal' does not name a type
  185. ../node_modules/nan/nan.h:705:10: error: 'MaybeLocal' does not name a type
  186. ../node_modules/nan/nan.h:718:10: error: 'MaybeLocal' does not name a type
  187. ../node_modules/nan/nan.h:735:10: error: 'MaybeLocal' does not name a type
  188. ../node_modules/nan/nan.h:741:10: error: 'MaybeLocal' does not name a type
  189. ../node_modules/nan/nan.h:749:10: error: 'MaybeLocal' does not name a type
  190. ../node_modules/nan/nan.h:756:10: error: 'MaybeLocal' does not name a type
  191. ../node_modules/nan/nan.h:762:10: error: 'MaybeLocal' does not name a type
  192. ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
  193. ../node_modules/nan/nan.h:1507:41: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  194. ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
  195. ../node_modules/nan/nan.h:1525:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  196. ../node_modules/nan/nan.h: In member function 'virtual void Nan::AsyncWorker::HandleErrorCallback()':
  197. ../node_modules/nan/nan.h:1559:58: error: no matching function for call to 'New(const char*)'
  198. ../node_modules/nan/nan.h:1559:58: note: candidates are:
  199. ../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>&)
  200. ../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>&)
  201. ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
  202. ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
  203. ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
  204. ../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)
  205. ../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)
  206. ../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)
  207. ../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>)
  208. ../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)
  209. ../node_modules/nan/nan.h: In function 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)':
  210. ../node_modules/nan/nan.h:1870:34: error: there are no arguments to 'GetFunction' that depend on a template parameter, so a declaration of 'GetFunction' must be available [-fpermissive]
  211. ../node_modules/nan/nan.h:1870:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  212. ../node_modules/nan/nan.h: In function 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback)':
  213. ../node_modules/nan/nan.h:1882:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  214. ../node_modules/nan/nan.h: In function 'void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)':
  215. ../node_modules/nan/nan.h:1897:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  216. ../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)':
  217. ../node_modules/nan/nan.h:1922:47: error: 'NewInstance' was not declared in this scope
  218. ../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)':
  219. ../node_modules/nan/nan.h:1965:51: error: 'NewInstance' was not declared in this scope
  220. ../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>)':
  221. ../node_modules/nan/nan.h:2024:47: error: 'NewInstance' was not declared in this scope
  222. ../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>)':
  223. ../node_modules/nan/nan.h:2094:47: error: 'NewInstance' was not declared in this scope
  224. ../node_modules/nan/nan.h: In function 'void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)':
  225. ../node_modules/nan/nan.h:2149:47: error: 'NewInstance' was not declared in this scope
  226. ../node_modules/nan/nan.h: In function 'void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)':
  227. ../node_modules/nan/nan.h:2171:47: error: 'NewInstance' was not declared in this scope
  228. In file included from ../src/database.h:10:0,
  229. from ../src/database.cc:4:
  230. ../node_modules/nan/nan.h: In function 'void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)':
  231. ../node_modules/nan/nan.h:2198:35: error: no matching function for call to 'New(const char*&)'
  232. ../node_modules/nan/nan.h:2198:35: note: candidates are:
  233. ../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>&)
  234. ../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>&)
  235. ../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
  236. ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
  237. ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
  238. ../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)
  239. ../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)
  240. ../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)
  241. ../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>)
  242. ../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)
  243. ../node_modules/nan/nan.h:2199:47: error: 'GetFunction' was not declared in this scope
  244. ../node_modules/nan/nan.h:2199:65: error: 'Set' was not declared in this scope
  245. ../node_modules/nan/nan.h:2199:65: note: suggested alternative:
  246. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  247. ../node_modules/nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Local<v8::Value>)':
  248. ../node_modules/nan/nan.h:2206:30: error: no matching function for call to 'To(v8::Local<v8::Value>&)'
  249. ../node_modules/nan/nan.h:2206:30: note: candidate is:
  250. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  251. ../node_modules/nan/nan.h: In member function 'void Nan::Tap::ok(bool, const char*)':
  252. ../node_modules/nan/nan.h:2219:33: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  253. ../node_modules/nan/nan.h: In member function 'void Nan::Tap::pass(const char*)':
  254. ../node_modules/nan/nan.h:2225:30: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  255. ../node_modules/nan/nan.h: At global scope:
  256. ../node_modules/nan/nan.h:2249:10: error: 'MaybeLocal' does not name a type
  257. ../node_modules/nan/nan.h:2254:40: error: 'MaybeLocal' was not declared in this scope
  258. ../node_modules/nan/nan.h:2254:40: note: suggested alternative:
  259. /root/.node-gyp/4.4.5/include/node/v8.h:111:7: note: 'v8::MaybeLocal'
  260. ../node_modules/nan/nan.h:2254:52: error: template argument 1 is invalid
  261. ../node_modules/nan/nan.h:2254:54: error: expected unqualified-id before '>' token
  262. ../node_modules/nan/nan.h:2263:1: error: 'MaybeLocal' does not name a type
  263. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
  264. ../src/database.cc:17:42: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  265. ../src/database.cc:28:5: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  266. ../src/database.cc:32:5: error: 'Set' is not a member of 'Nan'
  267. ../src/database.cc:32:5: note: suggested alternatives:
  268. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  269. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  270. ../src/database.cc:32:43: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  271. ../src/database.cc:33:9: error: 'GetFunction' is not a member of 'Nan'
  272. ../src/database.cc: In member function 'void node_sqlite3::Database::Process()':
  273. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  274. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  275. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  276. ../src/database.cc:40:9: error: 'Set' is not a member of 'Nan'
  277. ../src/database.cc:40:9: note: suggested alternatives:
  278. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  279. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  280. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  281. ../src/database.cc:40:9: error: 'Set' is not a member of 'Nan'
  282. ../src/database.cc:40:9: note: suggested alternatives:
  283. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  284. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  285. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  286. ../src/database.cc:40:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  287. ../src/database.cc:62:55: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  288. ../src/database.cc:63:13: error: 'Get' is not a member of 'Nan'
  289. ../src/database.cc:63:13: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  290. ../src/database.cc:63:13: error: expected primary-expression before '>' token
  291. ../src/database.cc:63:13: error: expected primary-expression before ')' token
  292. ../src/database.cc: In member function 'void node_sqlite3::Database::Schedule(node_sqlite3::Database::Work_Callback, node_sqlite3::Database::Baton*, bool)':
  293. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  294. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  295. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  296. ../src/database.cc:88:9: error: 'Set' is not a member of 'Nan'
  297. ../src/database.cc:88:9: note: suggested alternatives:
  298. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  299. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  300. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  301. ../src/database.cc:88:9: error: 'Set' is not a member of 'Nan'
  302. ../src/database.cc:88:9: note: suggested alternatives:
  303. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  304. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  305. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  306. ../src/database.cc:88:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  307. ../src/database.cc:95:55: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  308. ../src/database.cc:96:13: error: 'Get' is not a member of 'Nan'
  309. ../src/database.cc:96:13: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  310. ../src/database.cc:96:13: error: expected primary-expression before '>' token
  311. ../src/database.cc:96:13: error: expected primary-expression before ')' token
  312. ../src/database.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::New(Nan::NAN_METHOD_ARGS_TYPE)':
  313. ../src/database.cc:120:40: error: no matching function for call to 'To(v8::Local<v8::Value>)'
  314. ../src/database.cc:120:40: note: candidate is:
  315. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  316. ../src/database.cc:133:48: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  317. ../src/database.cc:134:44: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  318. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)':
  319. ../src/database.cc:144:9: warning: unused variable 'status' [-Wunused-variable]
  320. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_AfterOpen(uv_work_t*)':
  321. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  322. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  323. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  324. ../src/database.cc:179:9: error: 'Set' is not a member of 'Nan'
  325. ../src/database.cc:179:9: note: suggested alternatives:
  326. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  327. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  328. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  329. ../src/database.cc:179:9: error: 'Set' is not a member of 'Nan'
  330. ../src/database.cc:179:9: note: suggested alternatives:
  331. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  332. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  333. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  334. ../src/database.cc:179:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  335. ../src/database.cc:193:51: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  336. ../src/database.cc:194:9: error: 'Get' is not a member of 'Nan'
  337. ../src/database.cc:194:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  338. ../src/database.cc:194:9: error: expected primary-expression before '>' token
  339. ../src/database.cc:194:9: error: expected primary-expression before ')' token
  340. ../src/database.cc:198:50: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  341. ../src/database.cc:199:9: error: 'Get' is not a member of 'Nan'
  342. ../src/database.cc:199:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  343. ../src/database.cc:199:9: error: expected primary-expression before '>' token
  344. ../src/database.cc:199:9: error: expected primary-expression before ')' token
  345. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)':
  346. ../src/database.cc:230:9: warning: unused variable 'status' [-Wunused-variable]
  347. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_AfterClose(uv_work_t*)':
  348. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  349. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  350. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  351. ../src/database.cc:259:9: error: 'Set' is not a member of 'Nan'
  352. ../src/database.cc:259:9: note: suggested alternatives:
  353. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  354. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  355. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  356. ../src/database.cc:259:9: error: 'Set' is not a member of 'Nan'
  357. ../src/database.cc:259:9: note: suggested alternatives:
  358. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  359. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  360. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  361. ../src/database.cc:259:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  362. ../src/database.cc:276:51: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  363. ../src/database.cc:277:9: error: 'Get' is not a member of 'Nan'
  364. ../src/database.cc:277:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  365. ../src/database.cc:277:9: error: expected primary-expression before '>' token
  366. ../src/database.cc:277:9: error: expected primary-expression before ')' token
  367. ../src/database.cc:281:51: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  368. ../src/database.cc:282:9: error: 'Get' is not a member of 'Nan'
  369. ../src/database.cc:282:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  370. ../src/database.cc:282:9: error: expected primary-expression before '>' token
  371. ../src/database.cc:282:9: error: expected primary-expression before ')' token
  372. ../src/database.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE node_sqlite3::Database::Configure(Nan::NAN_METHOD_ARGS_TYPE)':
  373. ../src/database.cc:328:9: error: 'Equals' is not a member of 'Nan'
  374. ../src/database.cc:328:48: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  375. ../src/database.cc:333:14: error: 'Equals' is not a member of 'Nan'
  376. ../src/database.cc:333:55: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  377. ../src/database.cc:338:14: error: 'Equals' is not a member of 'Nan'
  378. ../src/database.cc:338:59: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  379. ../src/database.cc:344:45: error: no matching function for call to 'To(v8::Local<v8::Value>)'
  380. ../src/database.cc:344:45: note: candidate is:
  381. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  382. ../src/database.cc:349:36: error: no matching function for call to 'To(v8::Local<v8::Value>)'
  383. ../src/database.cc:349:36: note: candidate is:
  384. ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
  385. ../src/database.cc:350:62: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  386. ../src/database.cc:351:11: error: return-statement with a value, in function returning 'void' [-fpermissive]
  387. ../src/database.cc: In static member function 'static void node_sqlite3::Database::TraceCallback(node_sqlite3::Database*, std::string*)':
  388. ../src/database.cc:415:27: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  389. ../src/database.cc:416:32: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  390. ../src/database.cc:418:5: error: 'Get' is not a member of 'Nan'
  391. ../src/database.cc:418:5: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  392. ../src/database.cc:418:5: error: expected primary-expression before '>' token
  393. ../src/database.cc:418:5: error: expected primary-expression before ')' token
  394. ../src/database.cc: In static member function 'static void node_sqlite3::Database::ProfileCallback(node_sqlite3::Database*, node_sqlite3::Database::ProfileInfo*)':
  395. ../src/database.cc:455:29: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  396. ../src/database.cc:456:37: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  397. ../src/database.cc:459:5: error: 'Get' is not a member of 'Nan'
  398. ../src/database.cc:459:5: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  399. ../src/database.cc:459:5: error: expected primary-expression before '>' token
  400. ../src/database.cc:459:5: error: expected primary-expression before ')' token
  401. ../src/database.cc: In static member function 'static void node_sqlite3::Database::UpdateCallback(node_sqlite3::Database*, node_sqlite3::Database::UpdateInfo*)':
  402. ../src/database.cc:499:56: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  403. ../src/database.cc:500:42: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  404. ../src/database.cc:501:39: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  405. ../src/database.cc:504:5: error: 'Get' is not a member of 'Nan'
  406. ../src/database.cc:504:5: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  407. ../src/database.cc:504:5: error: expected primary-expression before '>' token
  408. ../src/database.cc:504:5: error: expected primary-expression before ')' token
  409. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)':
  410. ../src/database.cc:525:9: warning: unused variable 'status' [-Wunused-variable]
  411. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_AfterExec(uv_work_t*)':
  412. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  413. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  414. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  415. ../src/database.cc:557:9: error: 'Set' is not a member of 'Nan'
  416. ../src/database.cc:557:9: note: suggested alternatives:
  417. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  418. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  419. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  420. ../src/database.cc:557:9: error: 'Set' is not a member of 'Nan'
  421. ../src/database.cc:557:9: note: suggested alternatives:
  422. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  423. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  424. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  425. ../src/database.cc:557:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  426. ../src/database.cc:564:55: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  427. ../src/database.cc:565:13: error: 'Get' is not a member of 'Nan'
  428. ../src/database.cc:565:13: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  429. ../src/database.cc:565:13: error: expected primary-expression before '>' token
  430. ../src/database.cc:565:13: error: expected primary-expression before ')' token
  431. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)':
  432. ../src/database.cc:625:9: warning: unused variable 'status' [-Wunused-variable]
  433. ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_AfterLoadExtension(uv_work_t*)':
  434. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  435. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  436. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  437. ../src/database.cc:659:9: error: 'Set' is not a member of 'Nan'
  438. ../src/database.cc:659:9: note: suggested alternatives:
  439. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  440. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  441. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  442. ../src/database.cc:659:9: error: 'Set' is not a member of 'Nan'
  443. ../src/database.cc:659:9: note: suggested alternatives:
  444. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  445. /root/.node-gyp/4.4.5/include/node/v8.h:3021:17: note: 'v8::Set'
  446. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  447. ../src/database.cc:659:9: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  448. ../src/database.cc:666:55: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  449. ../src/database.cc:667:13: error: 'Get' is not a member of 'Nan'
  450. ../src/database.cc:667:13: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
  451. ../src/database.cc:667:13: error: expected primary-expression before '>' token
  452. ../src/database.cc:667:13: error: expected primary-expression before ')' token
  453. node_sqlite3.target.mk:110: recipe for target 'Release/obj.target/node_sqlite3/src/database.o' failed
  454. make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
  455. make: Leaving directory '/home/pi/pimatic-app/node_modules/sqlite3/build'
  456. gyp ERR! build error
  457. gyp ERR! stack Error: `make` failed with exit code: 2
  458. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
  459. gyp ERR! stack at emitTwo (events.js:87:13)
  460. gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  461. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  462. gyp ERR! System Linux 3.18.11-v7+
  463. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm"
  464. gyp ERR! cwd /home/pi/pimatic-app/node_modules/sqlite3
  465. gyp ERR! node -v v4.4.5
  466. gyp ERR! node-gyp -v v3.3.1
  467. gyp ERR! not ok
  468. node-pre-gyp ERR! build error
  469. node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm' (1)
  470. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/pimatic-app/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  471. node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
  472. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  473. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:827:16)
  474. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
  475. node-pre-gyp ERR! System Linux 3.18.11-v7+
  476. node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/pimatic-app/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  477. node-pre-gyp ERR! cwd /home/pi/pimatic-app/node_modules/sqlite3
  478. node-pre-gyp ERR! node -v v4.4.5
  479. node-pre-gyp ERR! node-pre-gyp -v v0.6.31
  480. node-pre-gyp ERR! not ok
  481. Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm' (1)
  482. npm ERR! Linux 3.18.11-v7+
  483. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sqlite3"
  484. npm ERR! node v4.4.5
  485. npm ERR! npm v2.15.5
  486. npm ERR! code ELIFECYCLE
  487.  
  488. npm ERR! sqlite3@3.1.7 install: `node-pre-gyp install --fallback-to-build`
  489. npm ERR! Exit status 1
  490. npm ERR!
  491. npm ERR! Failed at the sqlite3@3.1.7 install script 'node-pre-gyp install --fallback-to-build'.
  492. npm ERR! This is most likely a problem with the sqlite3 package,
  493. npm ERR! not with npm itself.
  494. npm ERR! Tell the author that this fails on your system:
  495. npm ERR! node-pre-gyp install --fallback-to-build
  496. npm ERR! You can get information on how to open an issue for this project with:
  497. npm ERR! npm bugs sqlite3
  498. npm ERR! Or if that isn't available, you can get their info via:
  499. npm ERR!
  500. npm ERR! npm owner ls sqlite3
  501. npm ERR! There is likely additional logging output above.
  502.  
  503. npm ERR! Please include the following file with any support request:
  504. npm ERR! /home/pi/pimatic-app/npm-debug.log
Advertisement
RAW Paste Data Copied
Advertisement