Advertisement
VirtualAdept

Untitled

Jan 15th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.65 KB | None | 0 0
  1. {21:09:50 @ Wed Jan 15}
  2. [drwho @ windbringer matrix-dimension] () $ npm install
  3.  
  4. > node-sass@4.12.0 install /home/drwho/matrix-dimension/node_modules/node-sass
  5. > node scripts/install.js
  6.  
  7. Downloading binary from https://github.com/sass/node-sass/releases/download/v4.12.0/linux-x64-79_binding.node
  8. Cannot download "https://github.com/sass/node-sass/releases/download/v4.12.0/linux-x64-79_binding.node":
  9.  
  10. HTTP error 404 Not Found
  11.  
  12. Hint: If github.com is not accessible in your location
  13. try setting a proxy via HTTP_PROXY, e.g.
  14.  
  15. export HTTP_PROXY=http://example.com:1234
  16.  
  17. or configure npm proxy via
  18.  
  19. npm config set proxy http://example.com:8080
  20.  
  21. > sharp@0.21.3 install /home/drwho/matrix-dimension/node_modules/sharp
  22. > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
  23.  
  24. info sharp Using cached /home/drwho/.npm/_libvips/libvips-8.7.0-linux-x64.tar.gz
  25. prebuild-install WARN install No prebuilt binaries found (target=13.5.0 runtime=node arch=x64 libc= platform=linux)
  26. make: Entering directory '/home/drwho/matrix-dimension/node_modules/sharp/build'
  27. TOUCH Release/obj.target/libvips-cpp.stamp
  28. CXX(target) Release/obj.target/sharp/src/common.o
  29. In file included from ../src/common.cc:27:
  30. ../src/common.h:78:20: error: ‘Handle’ is not a member of ‘v8’
  31. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  32. | ^~~~~~
  33. ../src/common.h:78:37: error: expected primary-expression before ‘>’ token
  34. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  35. | ^
  36. ../src/common.h:78:39: error: ‘obj’ was not declared in this scope
  37. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  38. | ^~~
  39. ../src/common.h:78:56: error: expected primary-expression before ‘attr’
  40. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  41. | ^~~~
  42. ../src/common.h:78:60: error: expression list treated as compound expression in initializer [-fpermissive]
  43. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  44. | ^
  45. ../src/common.h:79:29: error: ‘Handle’ is not a member of ‘v8’
  46. 79 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
  47. | ^~~~~~
  48. ../src/common.h:79:46: error: expected primary-expression before ‘>’ token
  49. 79 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
  50. | ^
  51. ../src/common.h:79:48: error: ‘obj’ was not declared in this scope
  52. 79 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
  53. | ^~~
  54. ../src/common.h:79:65: error: expected primary-expression before ‘attr’
  55. 79 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
  56. | ^~~~
  57. ../src/common.h:80:38: error: ‘Handle’ is not a member of ‘v8’
  58. 80 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
  59. | ^~~~~~
  60. ../src/common.h:80:55: error: expected primary-expression before ‘>’ token
  61. 80 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
  62. | ^
  63. ../src/common.h:80:57: error: ‘obj’ was not declared in this scope
  64. 80 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
  65. | ^~~
  66. ../src/common.h:80:74: error: expected primary-expression before ‘attr’
  67. 80 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
  68. | ^~~~
  69. ../src/common.h:81:48: error: ‘Handle’ is not a member of ‘v8’
  70. 81 | template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  71. | ^~~~~~
  72. ../src/common.h:81:65: error: expected primary-expression before ‘>’ token
  73. 81 | template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  74. | ^
  75. ../src/common.h:81:67: error: ‘obj’ was not declared in this scope
  76. 81 | template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  77. | ^~~
  78.  
  79. ../src/common.h:81:84: error: expected primary-expression before ‘attr’
  80. 81 | T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  81. | ^~~~
  82.  
  83. ../src/common.h:81:37: warning: variable templates only available with ‘-std=c++14’ or ‘-std=gnu++14’
  84. 81 | template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  85. | ^~~~~~
  86. ../src/common.h:81:89: error: expected ‘;’ before ‘{’ token
  87. 81 | 8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) {
  88. | ^~
  89. | ;
  90. ../src/common.h:84:37: error: ‘Handle’ is not a member of ‘v8’
  91. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  92. | ^~~~~~
  93. ../src/common.h:84:54: error: expected primary-expression before ‘>’ token
  94. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  95. | ^
  96. ../src/common.h:84:56: error: ‘obj’ was not declared in this scope
  97. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  98. | ^~~
  99. ../src/common.h:84:73: error: expected primary-expression before ‘attr’
  100. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  101. | ^~~~
  102. ../src/common.h:84:26: warning: variable templates only available with ‘-std=c++14’ or ‘-std=gnu++14’
  103. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  104. | ^~~~~~
  105. ../src/common.h:84:78: error: expected ‘;’ before ‘{’ token
  106. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  107. | ^~
  108. | ;
  109. ../src/common.h:87:37: error: ‘Handle’ is not a member of ‘v8’
  110. 87 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) {
  111. | ^~~~~~
  112. ../src/common.h:87:54: error: expected primary-expression before ‘>’ token
  113. 87 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) {
  114. | ^
  115. ../src/common.h:87:56: error: ‘obj’ was not declared in this scope
  116. 87 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) {
  117. | ^~~
  118. ../src/common.h:87:61: error: expected primary-expression before ‘int’
  119. 87 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) {
  120. | ^~~
  121. ../src/common.h:84:26: warning: variable templates only available with ‘-std=c++14’ or ‘-std=gnu++14’
  122. 84 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, std::string attr) {
  123. | ^~~~~~
  124. ../src/common.h:87:70: error: expected ‘;’ before ‘{’ token
  125. 87 | template<typename T> T AttrTo(v8::Handle<v8::Object> obj, int attr) {
  126. | ^~
  127. | ;
  128. ../src/common.h:93:9: error: ‘Handle’ is not a member of ‘v8’
  129. 93 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  130. | ^~~~~~
  131. ../src/common.h:93:26: error: expected primary-expression before ‘>’ token
  132. 93 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  133. | ^
  134. ../src/common.h:93:28: error: ‘input’ was not declared in this scope
  135. 93 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  136. | ^~~~~
  137. ../src/common.h:93:70: error: expected primary-expression before ‘&’ token
  138. 93 | 8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  139. | ^
  140.  
  141. ../src/common.h:93:71: error: ‘buffersToPersist’ was not declared in this scope
  142. 93 | ::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  143. | ^~~~~~~~~~~~~~~~
  144.  
  145. ../src/common.h:93:87: error: expression list treated as compound expression in initializer [-fpermissive]
  146. 93 | ect> input, std::vector<v8::Local<v8::Object>> &buffersToPersist);
  147. | ^
  148.  
  149. ../src/common.cc:34:8: error: redefinition of ‘bool sharp::HasAttr’
  150. 34 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) {
  151. | ^~~~~~~
  152. In file included from ../src/common.cc:27:
  153. ../src/common.h:78:8: note: ‘bool sharp::HasAttr’ previously defined here
  154. 78 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);
  155. | ^~~~~~~
  156. ../src/common.cc:34:20: error: ‘Handle’ is not a member of ‘v8’
  157. 34 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) {
  158. | ^~~~~~
  159. ../src/common.cc:34:37: error: expected primary-expression before ‘>’ token
  160. 34 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) {
  161. | ^
  162. ../src/common.cc:34:39: error: ‘obj’ was not declared in this scope
  163. 34 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) {
  164. | ^~~
  165. ../src/common.cc:34:56: error: expected primary-expression before ‘attr’
  166. 34 | bool HasAttr(v8::Handle<v8::Object> obj, std::string attr) {
  167. | ^~~~
  168. ../src/common.cc:37:15: error: redefinition of ‘std::string sharp::AttrAsStr’
  169. 37 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) {
  170. | ^~~~~~~~~
  171. In file included from ../src/common.cc:27:
  172. ../src/common.h:79:15: note: ‘std::string sharp::AttrAsStr’ previously declared here
  173. 79 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr);
  174. | ^~~~~~~~~
  175. ../src/common.cc:37:29: error: ‘Handle’ is not a member of ‘v8’
  176. 37 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) {
  177. | ^~~~~~
  178. ../src/common.cc:37:46: error: expected primary-expression before ‘>’ token
  179. 37 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) {
  180. | ^
  181. ../src/common.cc:37:48: error: ‘obj’ was not declared in this scope
  182. 37 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) {
  183. | ^~~
  184. ../src/common.cc:37:65: error: expected primary-expression before ‘attr’
  185. 37 | std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr) {
  186. | ^~~~
  187. ../src/common.cc:40:23: error: redefinition of ‘std::vector<double> sharp::AttrAsRgba’
  188. 40 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) {
  189. | ^~~~~~~~~~
  190. In file included from ../src/common.cc:27:
  191. ../src/common.h:80:23: note: ‘std::vector<double> sharp::AttrAsRgba’ previously declared here
  192. 80 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr);
  193. | ^~~~~~~~~~
  194. ../src/common.cc:40:38: error: ‘Handle’ is not a member of ‘v8’
  195. 40 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) {
  196. | ^~~~~~
  197. ../src/common.cc:40:55: error: expected primary-expression before ‘>’ token
  198. 40 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) {
  199. | ^
  200. ../src/common.cc:40:57: error: ‘obj’ was not declared in this scope
  201. 40 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) {
  202. | ^~~
  203. ../src/common.cc:40:74: error: expected primary-expression before ‘attr’
  204. 40 | std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr) {
  205. | ^~~~
  206. ../src/common.cc:50:20: error: redefinition of ‘sharp::InputDescriptor* sharp::CreateInputDescriptor’
  207. 50 | InputDescriptor* CreateInputDescriptor(
  208. | ^~~~~~~~~~~~~~~~~~~~~
  209. In file included from ../src/common.cc:27:
  210. ../src/common.h:92:20: note: ‘sharp::InputDescriptor* sharp::CreateInputDescriptor’ previously defined here
  211. 92 | InputDescriptor* CreateInputDescriptor(
  212. | ^~~~~~~~~~~~~~~~~~~~~
  213. ../src/common.cc:51:9: error: ‘Handle’ is not a member of ‘v8’
  214. 51 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist
  215. | ^~~~~~
  216. ../src/common.cc:51:26: error: expected primary-expression before ‘>’ token
  217. 51 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist
  218. | ^
  219. ../src/common.cc:51:28: error: ‘input’ was not declared in this scope
  220. 51 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist
  221. | ^~~~~
  222. ../src/common.cc:51:70: error: expected primary-expression before ‘&’ token
  223. 51 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist
  224. | ^
  225.  
  226. ../src/common.cc:51:71: error: ‘buffersToPersist’ was not declared in this scope
  227. 51 | v8::Handle<v8::Object> input, std::vector<v8::Local<v8::Object>> &buffersToPersist
  228. | ^~~~~~~~~~~~~~~~
  229.  
  230. make: *** [sharp.target.mk:132: Release/obj.target/sharp/src/common.o] Error 1
  231. make: Leaving directory '/home/drwho/matrix-dimension/node_modules/sharp/build'
  232. gyp ERR! build error
  233. gyp ERR! stack Error: `make` failed with exit code: 2
  234. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
  235. gyp ERR! stack at ChildProcess.emit (events.js:305:20)
  236. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
  237. gyp ERR! System Linux 5.4.6-arch3-1
  238. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  239. gyp ERR! cwd /home/drwho/matrix-dimension/node_modules/sharp
  240. gyp ERR! node -v v13.5.0
  241. gyp ERR! node-gyp -v v6.0.1
  242. gyp ERR! not ok
  243. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
  244. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  245.  
  246. npm ERR! code ELIFECYCLE
  247. npm ERR! errno 1
  248. npm ERR! sharp@0.21.3 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
  249. npm ERR! Exit status 1
  250. npm ERR!
  251. npm ERR! Failed at the sharp@0.21.3 install script.
  252. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  253.  
  254. npm ERR! A complete log of this run can be found in:
  255. npm ERR! /home/drwho/.npm/_logs/2020-01-16T05_10_16_556Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement