Advertisement
Guest User

Untitled

a guest
Sep 14th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.79 KB | None | 0 0
  1. Last login: Mon Sep 14 18:13:37 on ttys000
  2. Konstantins-MBP:~ konstantin$ npm install -g mean-cli
  3. /
  4. > mean-cli@0.10.14 preinstall /usr/local/lib/node_modules/mean-cli
  5. > node ./scripts/preinstall
  6.  
  7. npm WARN deprecated json-file-plus@2.0.0: Before v3.0.0, errors in fs.writeFile would not be propagated
  8.  
  9. > mean-health@0.1.7 postinstall /usr/local/lib/node_modules/mean-cli/node_modules/mean-health
  10. > node ./postinstall.js
  11.  
  12.  
  13. > kerberos@0.0.12 install /usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
  14. > (node-gyp rebuild 2> builderror.log) || (exit 0)
  15.  
  16. npm WARN installMany nopt was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  17. npm WARN installMany npmlog was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  18. npm WARN installMany request was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  19. npm WARN installMany semver was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  20. npm WARN installMany tar was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  21. npm WARN installMany tar-pack was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  22. npm WARN installMany mkdirp was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  23. npm WARN installMany rc was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  24. npm WARN installMany rimraf was bundled with node-pre-gyp@0.6.4, but bundled package wasn't found in unpacked tree
  25. \
  26. > bson-ext@0.1.12 install /usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext
  27. > (node-pre-gyp install --fallback-to-build) || (node-gyp rebuild 2> builderror.log) || (exit 0)
  28.  
  29. CXX(target) Release/obj.target/bson/ext/bson.o
  30. In file included from ../ext/bson.cc:36:
  31. In file included from ../ext/bson.h:17:
  32. ../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
  33. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
  34. ^
  35. ../node_modules/nan/nan.h:256:25: note: previous definition is here
  36. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
  37. ^
  38. ../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace
  39. 'node'
  40. , node::smalloc::FreeCallback callback
  41. ~~~~~~^
  42. ../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
  43. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  44. ^~~~~~~~~~~~~~~~~
  45. /Users/konstantin/.node-gyp/4.0.0/include/node/node_buffer.h:31:40: note:
  46. candidate function not viable: no known conversion from 'uint32_t'
  47. (aka 'unsigned int') to 'enum encoding' for 3rd argument
  48. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  49. ^
  50. /Users/konstantin/.node-gyp/4.0.0/include/node/node_buffer.h:43:40: note:
  51. candidate function not viable: 2nd argument ('const char *') would lose
  52. const qualifier
  53. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  54. ^
  55. /Users/konstantin/.node-gyp/4.0.0/include/node/node_buffer.h:28:40: note:
  56. candidate function not viable: requires 2 arguments, but 3 were provided
  57. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
  58. ^
  59. /Users/konstantin/.node-gyp/4.0.0/include/node/node_buffer.h:36:40: note:
  60. candidate function not viable: requires 5 arguments, but 3 were provided
  61. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  62. ^
  63. In file included from ../ext/bson.cc:36:
  64. In file included from ../ext/bson.h:17:
  65. ../node_modules/nan/nan.h:676:12: error: no viable conversion from
  66. 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
  67. return node::Buffer::New(v8::Isolate::GetCurrent(), size);
  68. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:210:7: note:
  70. candidate constructor (the implicit copy constructor) not viable: no known
  71. conversion from 'v8::MaybeLocal<v8::Object>' to 'const
  72. v8::Local<v8::Object> &' for 1st argument
  73. class Local {
  74. ^
  75. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:210:7: note:
  76. candidate constructor (the implicit move constructor) not viable: no known
  77. conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&'
  78. for 1st argument
  79. class Local {
  80. ^
  81. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:214:13: note:
  82. candidate template ignored: could not match 'Local' against 'MaybeLocal'
  83. V8_INLINE Local(Local<S> that)
  84. ^
  85. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:326:13: note:
  86. candidate template ignored: could not match 'S *' against
  87. 'v8::MaybeLocal<v8::Object>'
  88. V8_INLINE Local(S* that)
  89. ^
  90. In file included from ../ext/bson.cc:36:
  91. In file included from ../ext/bson.h:17:
  92. ../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace
  93. 'node::Buffer'
  94. return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
  95. ~~~~~~~~~~~~~~^
  96. In file included from ../ext/bson.cc:14:
  97. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:221:5: error:
  98. assigning to 'v8::Primitive *volatile' from incompatible type
  99. 'v8::Value *'
  100. TYPE_CHECK(T, S);
  101. ^~~~~~~~~~~~~~~~
  102. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:180:37: note:
  103. expanded from macro 'TYPE_CHECK'
  104. *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
  105. ^ ~~~~~~~~~~~~~~~~~~
  106. ../node_modules/nan/nan.h:414:12: note: in instantiation of function template
  107. specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
  108. return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
  109. ^
  110. ../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
  111. # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
  112. ^
  113. In file included from ../ext/bson.cc:14:
  114. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:221:5: error:
  115. assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
  116. TYPE_CHECK(T, S);
  117. ^~~~~~~~~~~~~~~~
  118. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:180:37: note:
  119. expanded from macro 'TYPE_CHECK'
  120. *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
  121. ^ ~~~~~~~~~~~~~~~~~~
  122. ../node_modules/nan/nan.h:424:12: note: in instantiation of function template
  123. specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
  124. return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
  125. ^
  126. ../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
  127. # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
  128. ^
  129. In file included from ../ext/bson.cc:14:
  130. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:221:5: error:
  131. assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
  132. TYPE_CHECK(T, S);
  133. ^~~~~~~~~~~~~~~~
  134. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:180:37: note:
  135. expanded from macro 'TYPE_CHECK'
  136. *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
  137. ^ ~~~~~~~~~~~~~~~~~~
  138. ../node_modules/nan/nan.h:1514:12: note: in instantiation of function template
  139. specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
  140. return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
  141. ^
  142. ../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
  143. # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
  144. ^
  145. In file included from ../ext/bson.cc:14:
  146. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:221:5: error:
  147. assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
  148. TYPE_CHECK(T, S);
  149. ^~~~~~~~~~~~~~~~
  150. /Users/konstantin/.node-gyp/4.0.0/include/node/v8.h:180:37: note:
  151. expanded from macro 'TYPE_CHECK'
  152. *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
  153. ^ ~~~~~~~~~~~~~~~~~~
  154. ../node_modules/nan/nan.h:1632:12: note: in instantiation of function template
  155. specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
  156. return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
  157. ^
  158. ../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
  159. # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
  160. ^
  161. 9 errors generated.
  162. make: *** [Release/obj.target/bson/ext/bson.o] Error 1
  163. gyp ERR! build error
  164. gyp ERR! stack Error: `make` failed with exit code: 2
  165. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:270:23)
  166. gyp ERR! stack at emitTwo (events.js:87:13)
  167. gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  168. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  169. gyp ERR! System Darwin 14.5.0
  170. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release/bson.node" "--module_name=bson" "--module_path=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release"
  171. gyp ERR! cwd /usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext
  172. gyp ERR! node -v v4.0.0
  173. gyp ERR! node-gyp -v v3.0.3
  174. gyp ERR! not ok
  175. node-pre-gyp ERR! build error
  176. node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release/bson.node --module_name=bson --module_path=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release' (1)
  177. node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  178. node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
  179. node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  180. node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:817:16)
  181. node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
  182. node-pre-gyp ERR! System Darwin 14.5.0
  183. node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  184. node-pre-gyp ERR! cwd /usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext
  185. node-pre-gyp ERR! node -v v4.0.0
  186. node-pre-gyp ERR! node-pre-gyp -v v0.6.4
  187. node-pre-gyp ERR! not ok
  188. Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release/bson.node --module_name=bson --module_path=/usr/local/lib/node_modules/mean-cli/node_modules/mongoose/node_modules/bson/node_modules/bson-ext/build/Release' (1)
  189. /usr/local/bin/mean -> /usr/local/lib/node_modules/mean-cli/bin/mean
  190. /usr/local/bin/mean-authorize -> /usr/local/lib/node_modules/mean-cli/bin/mean-authorize
  191. /usr/local/bin/mean-whoami -> /usr/local/lib/node_modules/mean-cli/bin/mean-whoami
  192. /usr/local/bin/mean-init -> /usr/local/lib/node_modules/mean-cli/bin/mean-init
  193. /usr/local/bin/mean-login -> /usr/local/lib/node_modules/mean-cli/bin/mean-login
  194. /usr/local/bin/mean-addKey -> /usr/local/lib/node_modules/mean-cli/bin/mean-addKey
  195. /usr/local/bin/mean-publish -> /usr/local/lib/node_modules/mean-cli/bin/mean-publish
  196. /usr/local/bin/mean-search -> /usr/local/lib/node_modules/mean-cli/bin/mean-search
  197. /usr/local/bin/mean-logs -> /usr/local/lib/node_modules/mean-cli/bin/mean-logs
  198. /usr/local/bin/mean-register -> /usr/local/lib/node_modules/mean-cli/bin/mean-register
  199. /usr/local/bin/mean-deploy -> /usr/local/lib/node_modules/mean-cli/bin/mean-deploy
  200. /usr/local/bin/mean-uninstall -> /usr/local/lib/node_modules/mean-cli/bin/mean-uninstall
  201. /usr/local/bin/mean-install -> /usr/local/lib/node_modules/mean-cli/bin/mean-install
  202. /usr/local/bin/mean-package -> /usr/local/lib/node_modules/mean-cli/bin/mean-package
  203. /usr/local/bin/mean-logout -> /usr/local/lib/node_modules/mean-cli/bin/mean-logout
  204. /usr/local/bin/mean-status -> /usr/local/lib/node_modules/mean-cli/bin/mean-status
  205. /usr/local/bin/mean-list -> /usr/local/lib/node_modules/mean-cli/bin/mean-list
  206. /usr/local/bin/mean-disable -> /usr/local/lib/node_modules/mean-cli/bin/mean-disable
  207. /usr/local/bin/mean-user -> /usr/local/lib/node_modules/mean-cli/bin/mean-user
  208. /usr/local/bin/mean-docs -> /usr/local/lib/node_modules/mean-cli/bin/mean-docs
  209. /usr/local/bin/mean-postinstall -> /usr/local/lib/node_modules/mean-cli/bin/mean-postinstall
  210. /usr/local/bin/mean-preinstall -> /usr/local/lib/node_modules/mean-cli/bin/mean-preinstall
  211. /usr/local/bin/mean-enable -> /usr/local/lib/node_modules/mean-cli/bin/mean-enable
  212. mean-cli@0.10.14 /usr/local/lib/node_modules/mean-cli
  213. ├── opener@1.4.1
  214. ├── async-series@0.0.1
  215. ├── progress@1.1.8
  216. ├── crypto@0.0.3
  217. ├── shelljs@0.3.0
  218. ├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
  219. ├── commander@2.8.1 (graceful-readlink@1.0.1)
  220. ├── lodash@2.4.2
  221. ├── mean-health@0.1.7
  222. ├── json-file-plus@2.0.0 (is@2.0.2, node.extend@1.1.5, promiseback@2.0.1)
  223. ├── prompt@0.2.14 (revalidator@0.1.8, pkginfo@0.3.0, read@1.0.7, winston@0.8.3, utile@0.2.1)
  224. ├── request@2.61.0 (aws-sign2@0.5.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.4, oauth-sign@0.8.0, tunnel-agent@0.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, node-uuid@1.4.3, qs@4.0.0, form-data@1.0.0-rc3, combined-stream@1.0.5, mime-types@2.1.6, bl@1.0.0, http-signature@0.11.0, tough-cookie@2.0.0, hawk@3.1.0, har-validator@1.8.0)
  225. ├── inquirer@0.8.5 (figures@1.3.5, ansi-regex@1.1.1, cli-width@1.0.1, through@2.3.8, readline2@0.1.1, chalk@1.1.1, lodash@3.10.1, rx@2.5.3)
  226. ├── bower@1.5.2 (is-root@1.0.0, junk@1.0.2, stringify-object@1.0.1, user-home@1.1.1, chmodr@0.1.0, abbrev@1.0.7, archy@1.0.0, opn@1.0.2, bower-logger@0.2.2, bower-endpoint-parser@0.2.2, graceful-fs@3.0.8, lockfile@1.0.1, lru-cache@2.7.0, nopt@3.0.4, retry@0.6.1, tmp@0.0.24, chalk@1.1.1, q@1.4.1, request-progress@0.3.1, promptly@0.2.0, semver@2.3.2, shell-quote@1.4.3, p-throttler@0.1.1, bower-json@0.4.0, fstream@1.0.8, mkdirp@0.5.0, which@1.1.2, insight@0.5.3, tar-fs@1.8.1, glob@4.5.3, fstream-ignore@1.0.2, rimraf@2.4.3, decompress-zip@0.1.0, update-notifier@0.3.2, github@0.2.4, bower-registry-client@0.3.0, request@2.53.0, cardinal@0.4.4, deep-sort-object@0.1.1, mout@0.11.0, bower-config@0.6.1, configstore@0.3.2, inquirer@0.8.0, handlebars@2.0.0)
  227. ├── npm@2.14.3
  228. └── mongoose@4.0.8 (regexp-clone@0.0.1, sliced@0.0.5, muri@1.0.0, hooks-fixed@1.0.2, mpromise@0.5.4, kareem@1.0.1, mpath@0.1.1, async@0.9.0, ms@0.1.0, mquery@1.6.1, mongodb@2.0.34, bson@0.3.2)
  229. Konstantins-MBP:~ konstantin$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement