Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.51 KB | None | 0 0
  1. lz@vm:~/b$ npm install realm
  2.  
  3. > realm@2.29.1 install /home/lz/node_modules/realm
  4. > node-pre-gyp install --fallback-to-build
  5.  
  6. node-pre-gyp WARN Using request for node-pre-gyp https download
  7. node-pre-gyp WARN Tried to download(404): https://static.realm.io/node-pre-gyp/2.29.1/realm-v2.29.1-node-v72-linux-x64.tar.gz
  8. node-pre-gyp WARN Pre-built binaries not found for realm@2.29.1 and node@12.4.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
  9. make: Entering directory '/home/lz/node_modules/realm/build'
  10. TOUCH Release/obj.target/OpenSSL.stamp
  11. ACTION binding_gyp_vendored_realm_target_download_realm /home/lz/node_modules/realm/vendor/realm-linux-x64
  12. Resolved requirements: {
  13. SYNC_SERVER_FOLDER: 'sync',
  14. SYNC_ARCHIVE: 'realm-sync-Release-v4.6.3-Linux-devel.tar.gz',
  15. CORE_SERVER_FOLDER: 'core',
  16. CORE_ARCHIVE: 'realm-core-Release-v5.23.1-Linux-devel.tar.gz'
  17. }
  18. No lockfile found at the target, proceeding.
  19. Download url: https://static.realm.io/downloads/core/realm-core-Release-v5.23.1-Linux-devel.tar.gz
  20. Downloading realm-core-Release-v5.23.1-Linux-devel.tar.gz [=======================================================================] (919k)
  21. Extracting realm-core-Release-v5.23.1-Linux-devel.tar.gz => /home/lz/node_modules/realm/vendor/realm-linux-x64
  22. Download url: https://static.realm.io/downloads/sync/realm-sync-Release-v4.6.3-Linux-devel.tar.gz
  23. Downloading realm-sync-Release-v4.6.3-Linux-devel.tar.gz [========================================================================] (892k)
  24. Extracting realm-sync-Release-v4.6.3-Linux-devel.tar.gz => /home/lz/node_modules/realm/vendor/realm-linux-x64
  25. Success
  26. TOUCH Release/obj.target/vendored-realm.stamp
  27. TOUCH Release/obj.target/realm-core.stamp
  28. TOUCH Release/obj.target/realm-sync.stamp
  29. CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o
  30. CXX(target) Release/obj.target/object-store/src/object-store/src/collection_notifications.o
  31. CXX(target) Release/obj.target/object-store/src/object-store/src/index_set.o
  32. CXX(target) Release/obj.target/object-store/src/object-store/src/list.o
  33. CXX(target) Release/obj.target/object-store/src/object-store/src/object.o
  34. CXX(target) Release/obj.target/object-store/src/object-store/src/object_schema.o
  35. CXX(target) Release/obj.target/object-store/src/object-store/src/object_store.o
  36. CXX(target) Release/obj.target/object-store/src/object-store/src/placeholder.o
  37. CXX(target) Release/obj.target/object-store/src/object-store/src/results.o
  38. CXX(target) Release/obj.target/object-store/src/object-store/src/schema.o
  39. CXX(target) Release/obj.target/object-store/src/object-store/src/shared_realm.o
  40. CXX(target) Release/obj.target/object-store/src/object-store/src/thread_safe_reference.o
  41. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/collection_change_builder.o
  42. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/collection_notifier.o
  43. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/list_notifier.o
  44. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/object_notifier.o
  45. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/primitive_list_notifier.o
  46. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/realm_coordinator.o
  47. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/results_notifier.o
  48. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/transact_log_handler.o
  49. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/weak_realm_notifier.o
  50. CXX(target) Release/obj.target/object-store/src/object-store/src/util/uuid.o
  51. CXX(target) Release/obj.target/object-store/src/object-store/src/impl/epoll/external_commit_helper.o
  52. CXX(target) Release/obj.target/object-store/src/object-store/src/util/fifo.o
  53. CXX(target) Release/obj.target/object-store/src/object-store/src/server/adapter.o
  54. CXX(target) Release/obj.target/object-store/src/object-store/src/server/admin_realm.o
  55. CXX(target) Release/obj.target/object-store/src/object-store/src/server/global_notifier.o
  56. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/sync_file.o
  57. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/sync_metadata.o
  58. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/work_queue.o
  59. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/partial_sync.o
  60. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/async_open_task.o
  61. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_config.o
  62. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_manager.o
  63. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_session.o
  64. CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_user.o
  65. AR(target) Release/obj.target/object-store.a
  66. COPY Release/object-store.a
  67. CXX(target) Release/obj.target/realm/src/js_realm.o
  68. CXX(target) Release/obj.target/realm/src/node/node_init.o
  69. In file included from ../src/node/node_string.hpp:21:0,
  70. from ../src/node/node_init.hpp:21,
  71. from ../src/node/node_init.cpp:19:
  72. ../src/node/node_types.hpp:52:46: error: ‘NamedPropertyGetterCallback’ in namespace ‘v8’ does not name a type
  73. using StringPropertyGetterCallback = v8::NamedPropertyGetterCallback;
  74. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  75. ../src/node/node_types.hpp:53:46: error: ‘NamedPropertySetterCallback’ in namespace ‘v8’ does not name a type
  76. using StringPropertySetterCallback = v8::NamedPropertySetterCallback;
  77. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  78. ../src/node/node_types.hpp:54:50: error: ‘NamedPropertyEnumeratorCallback’ in namespace ‘v8’ does not name a type
  79. using StringPropertyEnumeratorCallback = v8::NamedPropertyEnumeratorCallback;
  80. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  81. In file included from ../src/node/node_init.hpp:21:0,
  82. from ../src/node/node_init.cpp:19:
  83. ../src/node/node_string.hpp: In constructor ‘realm::js::String<realm::node::Types>::String(const v8::Local<v8::String>&)’:
  84. ../src/node/node_string.hpp:51:32: error: no matching function for call to ‘v8::String::Utf8Length()’
  85. m_str.resize(s->Utf8Length());
  86. ^
  87. In file included from /home/lz/.node-gyp/12.4.0/include/node/node.h:63:0,
  88. from ../../nan/nan.h:54,
  89. from ../src/node/node_types.hpp:28,
  90. from ../src/node/node_string.hpp:21,
  91. from ../src/node/node_init.hpp:21,
  92. from ../src/node/node_init.cpp:19:
  93. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2678:7: note: candidate: int v8::String::Utf8Length(v8::Isolate*) const
  94. int Utf8Length(Isolate* isolate) const;
  95. ^~~~~~~~~~
  96. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2678:7: note: candidate expects 1 argument, 0 provided
  97. In file included from ../src/node/node_init.hpp:21:0,
  98. from ../src/node/node_init.cpp:19:
  99. ../src/node/node_string.hpp:53:51: error: no matching function for call to ‘v8::String::WriteUtf8(char*, std::basic_string<char>::size_type, int, const int&)’
  100. s->WriteUtf8(&m_str[0], m_str.size(), 0, flags);
  101. ^
  102. In file included from /home/lz/.node-gyp/12.4.0/include/node/node.h:63:0,
  103. from ../../nan/nan.h:54,
  104. from ../src/node/node_types.hpp:28,
  105. from ../src/node/node_string.hpp:21,
  106. from ../src/node/node_init.hpp:21,
  107. from ../src/node/node_init.cpp:19:
  108. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2738:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
  109. int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
  110. ^~~~~~~~~
  111. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2738:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
  112. In file included from ../src/node/node_init.hpp:24:0,
  113. from ../src/node/node_init.cpp:19:
  114. ../src/node/node_object.hpp: In lambda function:
  115. ../src/node/node_object.hpp:32:80: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  116. if (std::all_of(key.data(), key.data() + key.size(), [](char c) { return c <= 127; })) {
  117. ~~^~~~~~
  118. ../src/node/node_object.hpp: In static member function ‘static realm::js::Object<T>::ValueType realm::js::Object<T>::get_property(realm::js::Object<T>::ContextType, const ObjectType&, realm::StringData) [with T = realm::node::Types; realm::js::Object<T>::ValueType = v8::Local<v8::Value>; realm::js::Object<T>::ContextType = v8::Isolate*; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>]’:
  119. ../src/node/node_object.hpp:33:57: error: expected type-specifier
  120. node_key = v8::String::NewExternal(isolate, new v8::ExternalOneByteStringResourceImpl(key.data(), key.size()));
  121. ^~
  122. ../src/node/node_object.hpp: In static member function ‘static std::vector<realm::js::String<T> > realm::js::Object<T>::get_property_names(realm::js::Object<T>::ContextType, const ObjectType&) [with T = realm::node::Types; realm::js::Object<T>::ContextType = v8::Isolate*; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>]’:
  123. ../src/node/node_object.hpp:108:49: error: no matching function for call to ‘v8::Value::ToString()’
  124. names.push_back(array->Get(i)->ToString());
  125. ^
  126. In file included from /home/lz/.node-gyp/12.4.0/include/node/node.h:63:0,
  127. from ../../nan/nan.h:54,
  128. from ../src/node/node_types.hpp:28,
  129. from ../src/node/node_string.hpp:21,
  130. from ../src/node/node_init.hpp:21,
  131. from ../src/node/node_init.cpp:19:
  132. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
  133. V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  134. ^~~~~~~~
  135. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
  136. In file included from /home/lz/.node-gyp/12.4.0/include/node/v8-internal.h:14:0,
  137. from /home/lz/.node-gyp/12.4.0/include/node/v8.h:25,
  138. from /home/lz/.node-gyp/12.4.0/include/node/node.h:63,
  139. from ../../nan/nan.h:54,
  140. from ../src/node/node_types.hpp:28,
  141. from ../src/node/node_string.hpp:21,
  142. from ../src/node/node_init.hpp:21,
  143. from ../src/node/node_init.cpp:19:
  144. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
  145. Local<String> ToString(Isolate* isolate) const);
  146. ^
  147. /home/lz/.node-gyp/12.4.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  148. declarator __attribute__((deprecated(message)))
  149. ^~~~~~~~~~
  150. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
  151. Local<String> ToString(Isolate* isolate) const);
  152. ^
  153. /home/lz/.node-gyp/12.4.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  154. declarator __attribute__((deprecated(message)))
  155. ^~~~~~~~~~
  156. In file included from ../src/node/node_init.hpp:25:0,
  157. from ../src/node/node_init.cpp:19:
  158. ../src/node/node_function.hpp: In static member function ‘static realm::js::Function<T>::ValueType realm::js::Function<T>::callback(realm::js::Function<T>::ContextType, const FunctionType&, const ObjectType&, size_t, const ValueType*) [with T = realm::node::Types; realm::js::Function<T>::ValueType = v8::Local<v8::Value>; realm::js::Function<T>::ContextType = v8::Isolate*; realm::js::Function<T>::FunctionType = v8::Local<v8::Function>; realm::js::Function<T>::ObjectType = v8::Local<v8::Object>; size_t = long unsigned int]’:
  159. ../src/node/node_function.hpp:41:19: error: ‘class v8::Isolate’ has no member named ‘GetCallingContext’; did you mean ‘GetCurrentContext’?
  160. if (!isolate->GetCallingContext().IsEmpty()) {
  161. ^~~~~~~~~~~~~~~~~
  162. GetCurrentContext
  163. In file included from ../src/node/node_init.hpp:26:0,
  164. from ../src/node/node_init.cpp:19:
  165. ../src/node/node_value.hpp: In static member function ‘static realm::js::String<T> realm::js::Value<T>::to_string(realm::js::Value<T>::ContextType, const ValueType&) [with T = realm::node::Types; realm::js::Value<T>::ContextType = v8::Isolate*; realm::js::Value<T>::ValueType = v8::Local<v8::Value>]’:
  166. ../src/node/node_value.hpp:152:28: error: no matching function for call to ‘v8::Value::ToString()’
  167. return value->ToString();
  168. ^
  169. In file included from /home/lz/.node-gyp/12.4.0/include/node/node.h:63:0,
  170. from ../../nan/nan.h:54,
  171. from ../src/node/node_types.hpp:28,
  172. from ../src/node/node_string.hpp:21,
  173. from ../src/node/node_init.hpp:21,
  174. from ../src/node/node_init.cpp:19:
  175. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
  176. V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  177. ^~~~~~~~
  178. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided
  179. In file included from /home/lz/.node-gyp/12.4.0/include/node/v8-internal.h:14:0,
  180. from /home/lz/.node-gyp/12.4.0/include/node/v8.h:25,
  181. from /home/lz/.node-gyp/12.4.0/include/node/node.h:63,
  182. from ../../nan/nan.h:54,
  183. from ../src/node/node_types.hpp:28,
  184. from ../src/node/node_string.hpp:21,
  185. from ../src/node/node_init.hpp:21,
  186. from ../src/node/node_init.cpp:19:
  187. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2544:35: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
  188. Local<String> ToString(Isolate* isolate) const);
  189. ^
  190. /home/lz/.node-gyp/12.4.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  191. declarator __attribute__((deprecated(message)))
  192. ^~~~~~~~~~
  193. /home/lz/.node-gyp/12.4.0/include/node/v8.h:2544:35: note: candidate expects 1 argument, 0 provided
  194. Local<String> ToString(Isolate* isolate) const);
  195. ^
  196. /home/lz/.node-gyp/12.4.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  197. declarator __attribute__((deprecated(message)))
  198. ^~~~~~~~~~
  199. In file included from ../src/node/node_init.hpp:29:0,
  200. from ../src/node/node_init.cpp:19:
  201. ../src/node/node_class.hpp: In static member function ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template()’:
  202. ../src/node/node_class.hpp:191:23: error: ‘class v8::ObjectTemplate’ has no member named ‘SetNamedPropertyHandler’; did you mean ‘SetIndexedPropertyHandler’?
  203. instance_tpl->SetNamedPropertyHandler(string_accessor.getter ? string_accessor.getter : get_nonexistent_property, set_property, 0, 0, string_accessor.enumerator);
  204. ^~~~~~~~~~~~~~~~~~~~~~~
  205. SetIndexedPropertyHandler
  206. In file included from ../src/node/node_class.hpp:23:0,
  207. from ../src/node/node_init.hpp:29,
  208. from ../src/node/node_init.cpp:19:
  209. ../src/js_class.hpp: In instantiation of ‘struct realm::js::StringPropertyType<realm::node::Types>’:
  210. ../src/node/node_class.hpp:368:34: required from here
  211. ../src/js_class.hpp:92:46: error: no type named ‘StringPropertyGetterCallback’ in ‘struct realm::node::Types’
  212. typename T::StringPropertyGetterCallback getter;
  213. ^~~~~~
  214. ../src/js_class.hpp:93:46: error: no type named ‘StringPropertySetterCallback’ in ‘struct realm::node::Types’
  215. typename T::StringPropertySetterCallback setter;
  216. ^~~~~~
  217. ../src/js_class.hpp:94:50: error: no type named ‘StringPropertyEnumeratorCallback’ in ‘struct realm::node::Types’
  218. typename T::StringPropertyEnumeratorCallback enumerator;
  219. ^~~~~~~~~~
  220. In file included from ../src/node/node_init.hpp:29:0,
  221. from ../src/node/node_init.cpp:19:
  222. ../src/node/node_class.hpp: In instantiation of ‘realm::js::RealmObjectClass<realm::node::Types> realm::node::ObjectWrap<realm::js::RealmObjectClass<realm::node::Types> >::s_class’:
  223. ../src/node/node_class.hpp:137:31: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::RealmObjectClass<realm::node::Types>]’
  224. ../src/js_realm.hpp:442:99: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  225. ../src/node/node_init.cpp:30:72: required from here
  226. ../src/node/node_class.hpp:128:11: error: too many initializers for ‘const realm::js::StringPropertyType<realm::node::Types>’
  227. ClassType ObjectWrap<ClassType>::s_class;
  228. ^~~~~~~~~~~~~~~~~~~~~
  229. In file included from ../src/js_list.hpp:23:0,
  230. from ../src/js_object_accessor.hpp:21,
  231. from ../src/node/node_init.hpp:32,
  232. from ../src/node/node_init.cpp:19:
  233. ../src/js_realm_object.hpp:54:8: error: too many initializers for ‘const realm::js::StringPropertyType<realm::node::Types>’
  234. struct RealmObjectClass : ClassDefinition<T, realm::js::RealmObject<T>> {
  235. ^~~~~~~~~~~~~~~~
  236. In file included from ../src/node/node_init.hpp:29:0,
  237. from ../src/node/node_init.cpp:19:
  238. ../src/node/node_class.hpp:128:11: note: synthesized method ‘constexpr realm::js::RealmObjectClass<realm::node::Types>::RealmObjectClass()’ first required here
  239. ClassType ObjectWrap<ClassType>::s_class;
  240. ^~~~~~~~~~~~~~~~~~~~~
  241. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::RealmClass<realm::node::Types>]’:
  242. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  243. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  244. ../src/js_realm.hpp:438:86: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  245. ../src/node/node_init.cpp:30:72: required from here
  246. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  247. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  248. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  249. GetterType
  250. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::CollectionClass<realm::node::Types>]’:
  251. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::CollectionClass<realm::node::Types>]’
  252. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::CollectionClass<realm::node::Types>]’
  253. ../src/js_realm.hpp:439:96: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  254. ../src/node/node_init.cpp:30:72: required from here
  255. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  256. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  257. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  258. GetterType
  259. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::ListClass<realm::node::Types>]’:
  260. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::ListClass<realm::node::Types>]’
  261. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::ListClass<realm::node::Types>]’
  262. ../src/js_realm.hpp:440:84: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  263. ../src/node/node_init.cpp:30:72: required from here
  264. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  265. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  266. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  267. GetterType
  268. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::ResultsClass<realm::node::Types>]’:
  269. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::ResultsClass<realm::node::Types>]’
  270. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::ResultsClass<realm::node::Types>]’
  271. ../src/js_realm.hpp:441:90: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  272. ../src/node/node_init.cpp:30:72: required from here
  273. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  274. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  275. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  276. GetterType
  277. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::RealmObjectClass<realm::node::Types>]’:
  278. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::RealmObjectClass<realm::node::Types>]’
  279. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::RealmObjectClass<realm::node::Types>]’
  280. ../src/js_realm.hpp:442:99: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  281. ../src/node/node_init.cpp:30:72: required from here
  282. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  283. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  284. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  285. GetterType
  286. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::SyncClass<realm::node::Types>]’:
  287. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::SyncClass<realm::node::Types>]’
  288. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::SyncClass<realm::node::Types>]’
  289. ../src/js_sync.hpp:991:84: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  290. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  291. ../src/node/node_init.cpp:30:72: required from here
  292. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  293. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  294. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  295. GetterType
  296. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::UserClass<realm::node::Types>]’:
  297. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::UserClass<realm::node::Types>]’
  298. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::UserClass<realm::node::Types>]’
  299. ../src/js_sync.hpp:994:104: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  300. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  301. ../src/node/node_init.cpp:30:72: required from here
  302. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  303. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  304. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  305. GetterType
  306. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::SessionClass<realm::node::Types>]’:
  307. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::SessionClass<realm::node::Types>]’
  308. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::SessionClass<realm::node::Types>]’
  309. ../src/js_sync.hpp:995:110: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  310. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  311. ../src/node/node_init.cpp:30:72: required from here
  312. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  313. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  314. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  315. GetterType
  316. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::AdapterClass<realm::node::Types>]’:
  317. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::AdapterClass<realm::node::Types>]’
  318. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::AdapterClass<realm::node::Types>]’
  319. ../src/js_sync.hpp:997:110: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  320. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  321. ../src/node/node_init.cpp:30:72: required from here
  322. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  323. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  324. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  325. GetterType
  326. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::ObservableClass<realm::node::Types>]’:
  327. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::ObservableClass<realm::node::Types>]’
  328. ../src/node/node_class.hpp:168:90: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  329. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  330. ../src/node/node_class.hpp:134:55: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  331. ../src/js_realm.hpp:438:86: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  332. ../src/node/node_init.cpp:30:72: required from here
  333. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  334. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  335. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  336. GetterType
  337. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::AsyncOpenTaskClass<realm::node::Types>]’:
  338. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::AsyncOpenTaskClass<realm::node::Types>]’
  339. ../src/node/node_class.hpp:148:55: required from ‘static v8::Local<v8::Object> realm::node::ObjectWrap<ClassType>::create_instance(v8::Isolate*, realm::node::ObjectWrap<ClassType>::Internal*) [with ClassType = realm::js::AsyncOpenTaskClass<realm::node::Types>; realm::node::ObjectWrap<ClassType>::Internal = std::shared_ptr<realm::AsyncOpenTask>]’
  340. ../src/node/node_object.hpp:146:56: required from ‘static realm::js::Object<T>::ObjectType realm::js::Object<T>::create_instance(realm::js::Object<T>::ContextType, typename ClassType::Internal*) [with ClassType = realm::js::AsyncOpenTaskClass<realm::node::Types>; T = realm::node::Types; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>; realm::js::Object<T>::ContextType = v8::Isolate*; typename ClassType::Internal = std::shared_ptr<realm::AsyncOpenTask>]’
  341. ../src/js_types.hpp:356:58: required from ‘typename T::Object realm::js::create_object(typename T::Context, typename ClassType::Internal*) [with T = realm::node::Types; ClassType = realm::js::AsyncOpenTaskClass<realm::node::Types>; typename T::Object = v8::Local<v8::Object>; typename T::Context = v8::Isolate*; typename ClassType::Internal = std::shared_ptr<realm::AsyncOpenTask>]’
  342. ../src/js_realm.hpp:935:61: required from ‘static void realm::js::RealmClass<T>::async_open_realm(realm::js::RealmClass<T>::ContextType, realm::js::RealmClass<T>::ObjectType, realm::js::RealmClass<T>::Arguments&, realm::js::RealmClass<T>::ReturnValue&) [with T = realm::node::Types; realm::js::RealmClass<T>::ContextType = v8::Isolate*; realm::js::RealmClass<T>::ObjectType = v8::Local<v8::Object>; realm::js::RealmClass<T>::Arguments = realm::js::Arguments<realm::node::Types>; realm::js::RealmClass<T>::ReturnValue = realm::js::ReturnValue<realm::node::Types>]’
  343. ../src/js_realm.hpp:296:24: required from ‘realm::js::RealmClass<realm::node::Types> realm::node::ObjectWrap<realm::js::RealmClass<realm::node::Types> >::s_class’
  344. ../src/node/node_class.hpp:137:31: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::RealmClass<realm::node::Types>]’
  345. ../src/js_realm.hpp:438:86: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  346. ../src/node/node_init.cpp:30:72: required from here
  347. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  348. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  349. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  350. GetterType
  351. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::SubscriptionClass<realm::node::Types>]’:
  352. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::SubscriptionClass<realm::node::Types>]’
  353. ../src/node/node_class.hpp:148:55: required from ‘static v8::Local<v8::Object> realm::node::ObjectWrap<ClassType>::create_instance(v8::Isolate*, realm::node::ObjectWrap<ClassType>::Internal*) [with ClassType = realm::js::SubscriptionClass<realm::node::Types>; realm::node::ObjectWrap<ClassType>::Internal = realm::js::Subscription<realm::node::Types>]’
  354. ../src/node/node_object.hpp:146:56: required from ‘static realm::js::Object<T>::ObjectType realm::js::Object<T>::create_instance(realm::js::Object<T>::ContextType, typename ClassType::Internal*) [with ClassType = realm::js::SubscriptionClass<realm::node::Types>; T = realm::node::Types; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>; realm::js::Object<T>::ContextType = v8::Isolate*; typename ClassType::Internal = realm::js::Subscription<realm::node::Types>]’
  355. ../src/js_types.hpp:356:58: required from ‘typename T::Object realm::js::create_object(typename T::Context, typename ClassType::Internal*) [with T = realm::node::Types; ClassType = realm::js::SubscriptionClass<realm::node::Types>; typename T::Object = v8::Local<v8::Object>; typename T::Context = v8::Isolate*; typename ClassType::Internal = realm::js::Subscription<realm::node::Types>]’
  356. ../src/js_sync.hpp:844:50: required from ‘static typename T::Object realm::js::SubscriptionClass<T>::create_instance(realm::js::SubscriptionClass<T>::ContextType, realm::partial_sync::Subscription, realm::util::Optional<std::basic_string<char> >) [with T = realm::node::Types; typename T::Object = v8::Local<v8::Object>; realm::js::SubscriptionClass<T>::ContextType = v8::Isolate*]’
  357. ../src/js_results.hpp:388:59: required from ‘static void realm::js::ResultsClass< <template-parameter-1-1> >::subscribe(realm::js::ResultsClass< <template-parameter-1-1> >::ContextType, realm::js::ResultsClass< <template-parameter-1-1> >::ObjectType, realm::js::ResultsClass< <template-parameter-1-1> >::Arguments&, realm::js::ResultsClass< <template-parameter-1-1> >::ReturnValue&) [with T = realm::node::Types; realm::js::ResultsClass< <template-parameter-1-1> >::ContextType = v8::Isolate*; realm::js::ResultsClass< <template-parameter-1-1> >::ObjectType = v8::Local<v8::Object>; realm::js::ResultsClass< <template-parameter-1-1> >::Arguments = realm::js::Arguments<realm::node::Types>; realm::js::ResultsClass< <template-parameter-1-1> >::ReturnValue = realm::js::ReturnValue<realm::node::Types>]’
  358. ../src/js_results.hpp:123:23: required from ‘realm::js::ResultsClass<realm::node::Types> realm::node::ObjectWrap<realm::js::ResultsClass<realm::node::Types> >::s_class’
  359. ../src/node/node_class.hpp:137:31: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::ResultsClass<realm::node::Types>]’
  360. ../src/js_realm.hpp:441:90: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  361. ../src/node/node_init.cpp:30:72: required from here
  362. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  363. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  364. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  365. GetterType
  366. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::GlobalNotifierClass<realm::node::Types>]’:
  367. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::GlobalNotifierClass<realm::node::Types>]’
  368. ../src/node/node_class.hpp:148:55: required from ‘static v8::Local<v8::Object> realm::node::ObjectWrap<ClassType>::create_instance(v8::Isolate*, realm::node::ObjectWrap<ClassType>::Internal*) [with ClassType = realm::js::GlobalNotifierClass<realm::node::Types>; realm::node::ObjectWrap<ClassType>::Internal = realm::GlobalNotifier]’
  369. ../src/node/node_object.hpp:146:56: required from ‘static realm::js::Object<T>::ObjectType realm::js::Object<T>::create_instance(realm::js::Object<T>::ContextType, typename ClassType::Internal*) [with ClassType = realm::js::GlobalNotifierClass<realm::node::Types>; T = realm::node::Types; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>; realm::js::Object<T>::ContextType = v8::Isolate*; typename ClassType::Internal = realm::GlobalNotifier]’
  370. ../src/js_types.hpp:356:58: required from ‘typename T::Object realm::js::create_object(typename T::Context, typename ClassType::Internal*) [with T = realm::node::Types; ClassType = realm::js::GlobalNotifierClass<realm::node::Types>; typename T::Object = v8::Local<v8::Object>; typename T::Context = v8::Isolate*; typename ClassType::Internal = realm::GlobalNotifier]’
  371. ../src/js_sync.hpp:1322:62: required from ‘static void realm::js::SyncClass<T>::create_global_notifier(realm::js::SyncClass<T>::ContextType, realm::js::SyncClass<T>::ObjectType, realm::js::SyncClass<T>::Arguments&, realm::js::SyncClass<T>::ReturnValue&) [with T = realm::node::Types; realm::js::SyncClass<T>::ContextType = v8::Isolate*; realm::js::SyncClass<T>::ObjectType = v8::Local<v8::Object>; realm::js::SyncClass<T>::Arguments = realm::js::Arguments<realm::node::Types>; realm::js::SyncClass<T>::ReturnValue = realm::js::ReturnValue<realm::node::Types>]’
  372. ../src/js_sync.hpp:982:29: required from ‘realm::js::SyncClass<realm::node::Types> realm::node::ObjectWrap<realm::js::SyncClass<realm::node::Types> >::s_class’
  373. ../src/node/node_class.hpp:137:31: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::SyncClass<realm::node::Types>]’
  374. ../src/js_sync.hpp:991:84: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  375. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  376. ../src/node/node_init.cpp:30:72: required from here
  377. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  378. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  379. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  380. GetterType
  381. ../src/node/node_class.hpp: In instantiation of ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::create_template() [with ClassType = realm::js::ChangeObject<realm::node::Types>]’:
  382. ../src/node/node_class.hpp:49:81: required from ‘static v8::Local<v8::FunctionTemplate> realm::node::ObjectWrap<ClassType>::get_template() [with ClassType = realm::js::ChangeObject<realm::node::Types>]’
  383. ../src/node/node_class.hpp:148:55: required from ‘static v8::Local<v8::Object> realm::node::ObjectWrap<ClassType>::create_instance(v8::Isolate*, realm::node::ObjectWrap<ClassType>::Internal*) [with ClassType = realm::js::ChangeObject<realm::node::Types>; realm::node::ObjectWrap<ClassType>::Internal = realm::GlobalNotifier::ChangeNotification]’
  384. ../src/node/node_object.hpp:146:56: required from ‘static realm::js::Object<T>::ObjectType realm::js::Object<T>::create_instance(realm::js::Object<T>::ContextType, typename ClassType::Internal*) [with ClassType = realm::js::ChangeObject<realm::node::Types>; T = realm::node::Types; realm::js::Object<T>::ObjectType = v8::Local<v8::Object>; realm::js::Object<T>::ContextType = v8::Isolate*; typename ClassType::Internal = realm::GlobalNotifier::ChangeNotification]’
  385. ../src/js_types.hpp:356:58: required from ‘typename T::Object realm::js::create_object(typename T::Context, typename ClassType::Internal*) [with T = realm::node::Types; ClassType = realm::js::ChangeObject<realm::node::Types>; typename T::Object = v8::Local<v8::Object>; typename T::Context = v8::Isolate*; typename ClassType::Internal = realm::GlobalNotifier::ChangeNotification]’
  386. ../src/js_sync.hpp:1389:55: required from ‘static void realm::js::SyncClass<T>::deserialize_change_set(realm::js::SyncClass<T>::ContextType, realm::js::SyncClass<T>::ObjectType, realm::js::SyncClass<T>::Arguments&, realm::js::SyncClass<T>::ReturnValue&) [with T = realm::node::Types; realm::js::SyncClass<T>::ContextType = v8::Isolate*; realm::js::SyncClass<T>::ObjectType = v8::Local<v8::Object>; realm::js::SyncClass<T>::Arguments = realm::js::Arguments<realm::node::Types>; realm::js::SyncClass<T>::ReturnValue = realm::js::ReturnValue<realm::node::Types>]’
  387. ../src/js_sync.hpp:984:35: required from ‘realm::js::SyncClass<realm::node::Types> realm::node::ObjectWrap<realm::js::SyncClass<realm::node::Types> >::s_class’
  388. ../src/node/node_class.hpp:137:31: required from ‘static v8::Local<v8::Function> realm::node::ObjectWrap<ClassType>::create_constructor(v8::Isolate*) [with ClassType = realm::js::SyncClass<realm::node::Types>]’
  389. ../src/js_sync.hpp:991:84: required from ‘static typename T::Function realm::js::SyncClass<T>::create_constructor(realm::js::SyncClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::SyncClass<T>::ContextType = v8::Isolate*]’
  390. ../src/js_realm.hpp:451:69: required from ‘static typename T::Function realm::js::RealmClass<T>::create_constructor(realm::js::RealmClass<T>::ContextType) [with T = realm::node::Types; typename T::Function = v8::Local<v8::Function>; realm::js::RealmClass<T>::ContextType = v8::Isolate*]’
  391. ../src/node/node_init.cpp:30:72: required from here
  392. ../src/node/node_class.hpp:188:33: error: ‘const struct realm::js::StringPropertyType<realm::node::Types>’ has no member named ‘getter’; did you mean ‘GetterType’?
  393. if (s_class.string_accessor.getter || s_class.index_accessor.getter || s_class.index_accessor.setter) {
  394. ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  395. GetterType
  396. realm.target.mk:139: recipe for target 'Release/obj.target/realm/src/node/node_init.o' failed
  397. make: *** [Release/obj.target/realm/src/node/node_init.o] Error 1
  398. make: Leaving directory '/home/lz/node_modules/realm/build'
  399. gyp ERR! build error
  400. gyp ERR! stack Error: `make` failed with exit code: 2
  401. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
  402. gyp ERR! stack at ChildProcess.emit (events.js:200:13)
  403. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  404. gyp ERR! System Linux 4.15.0-54-generic
  405. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/lz/node_modules/realm/compiled/node-v72_linux_x64/realm.node" "--module_name=realm" "--module_path=/home/lz/node_modules/realm/compiled/node-v72_linux_x64" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
  406. gyp ERR! cwd /home/lz/node_modules/realm
  407. gyp ERR! node -v v12.4.0
  408. gyp ERR! node-gyp -v v3.8.0
  409. gyp ERR! not ok
  410. node-pre-gyp ERR! build error
  411. node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/lz/node_modules/realm/compiled/node-v72_linux_x64/realm.node --module_name=realm --module_path=/home/lz/node_modules/realm/compiled/node-v72_linux_x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  412. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/lz/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  413. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:200:13)
  414. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
  415. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
  416. node-pre-gyp ERR! System Linux 4.15.0-54-generic
  417. node-pre-gyp ERR! command "/usr/bin/node" "/home/lz/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  418. node-pre-gyp ERR! cwd /home/lz/node_modules/realm
  419. node-pre-gyp ERR! node -v v12.4.0
  420. node-pre-gyp ERR! node-pre-gyp -v v0.11.0
  421. node-pre-gyp ERR! not ok
  422. Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/lz/node_modules/realm/compiled/node-v72_linux_x64/realm.node --module_name=realm --module_path=/home/lz/node_modules/realm/compiled/node-v72_linux_x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
  423. npm WARN enoent ENOENT: no such file or directory, open '/home/lz/package.json'
  424. npm WARN lz No description
  425. npm WARN lz No repository field.
  426. npm WARN lz No README data
  427. npm WARN lz No license field.
  428.  
  429. npm ERR! code ELIFECYCLE
  430. npm ERR! errno 1
  431. npm ERR! realm@2.29.1 install: `node-pre-gyp install --fallback-to-build`
  432. npm ERR! Exit status 1
  433. npm ERR!
  434. npm ERR! Failed at the realm@2.29.1 install script.
  435. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  436.  
  437. npm ERR! A complete log of this run can be found in:
  438. npm ERR! /home/lz/.npm/_logs/2019-07-22T23_51_57_850Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement