daydr3am3r

npm install mongojs errors

May 8th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 22.46 KB | None | 0 0
  1. Last login: Mon May  8 04:52:41 on ttys000
  2. Bogdans-MBP:~ bogdangheorghe$ ls
  3. Applications        Documents       Library         Movies          Online Storage      Public          VirtualBox VMs      node_modules
  4. Desktop         Downloads       MongoDB_3.4.4       Music           Pictures        Stacks          Workspace       node_modules.zip
  5. Bogdans-MBP:~ bogdangheorghe$ cd Workspace/S
  6. Screenshots/ Servers/    
  7. Bogdans-MBP:~ bogdangheorghe$ cd Workspace/Servers/RCPHelper_Server/RCPHelper_Server/
  8. Bogdans-MBP:RCPHelper_Server bogdangheorghe$ ls
  9. RCPHelper_Scripts.txt   astrazeneca_server.js   htmlparser      jsondb          mondb           node_modules.zip
  10. adipopa_server.js   backup_res      htmlparserdemo      merck.json      mondb_bak       rcpdemo.json
  11. astrazeneca.json    database.json       htmlparsermerck     merck_server.js     node_modules        res
  12. Bogdans-MBP:RCPHelper_Server bogdangheorghe$ npm uninstall mongojs
  13. - nan@1.5.1 node_modules/_mongojs/node_modules/mongodb/node_modules/bson/node_modules/nan
  14. - bson@0.2.18 node_modules/_mongojs/node_modules/mongodb/node_modules/bson
  15. - kerberos@0.0.4 node_modules/_mongojs/node_modules/mongodb/node_modules/kerberos
  16. - core-util-is@1.0.1 node_modules/_mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/core-util-is
  17. - inherits@2.0.1 node_modules/_mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/inherits
  18. - isarray@0.0.1 node_modules/_mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/isarray
  19. - string_decoder@0.10.31 node_modules/_mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/string_decoder
  20. - readable-stream@1.0.33 node_modules/_mongojs/node_modules/mongodb/node_modules/readable-stream
  21. - core-util-is@1.0.1 node_modules/_mongojs/node_modules/readable-stream/node_modules/core-util-is
  22. - inherits@2.0.1 node_modules/_mongojs/node_modules/readable-stream/node_modules/inherits
  23. - isarray@0.0.1 node_modules/_mongojs/node_modules/readable-stream/node_modules/isarray
  24. - string_decoder@0.10.31 node_modules/_mongojs/node_modules/readable-stream/node_modules/string_decoder
  25. - mongodb@1.4.19 node_modules/_mongojs/node_modules/mongodb
  26. - readable-stream@1.1.13 node_modules/_mongojs/node_modules/readable-stream
  27. - thunky@0.1.0 node_modules/_mongojs/node_modules/thunky
  28. npm WARN enoent ENOENT: no such file or directory, open '/Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/package.json'
  29. npm WARN RCPHelper_Server No description
  30. npm WARN RCPHelper_Server No repository field.
  31. npm WARN RCPHelper_Server No README data
  32. npm WARN RCPHelper_Server No license field.
  33. Bogdans-MBP:RCPHelper_Server bogdangheorghe$ npm uninstall mongojs
  34. - nan@1.5.1 node_modules/mongojs/node_modules/mongodb/node_modules/bson/node_modules/nan
  35. - bson@0.2.18 node_modules/mongojs/node_modules/mongodb/node_modules/bson
  36. - kerberos@0.0.4 node_modules/mongojs/node_modules/mongodb/node_modules/kerberos
  37. - core-util-is@1.0.1 node_modules/mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/core-util-is
  38. - inherits@2.0.1 node_modules/mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/inherits
  39. - isarray@0.0.1 node_modules/mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/isarray
  40. - string_decoder@0.10.31 node_modules/mongojs/node_modules/mongodb/node_modules/readable-stream/node_modules/string_decoder
  41. - readable-stream@1.0.33 node_modules/mongojs/node_modules/mongodb/node_modules/readable-stream
  42. - core-util-is@1.0.1 node_modules/mongojs/node_modules/readable-stream/node_modules/core-util-is
  43. - inherits@2.0.1 node_modules/mongojs/node_modules/readable-stream/node_modules/inherits
  44. - isarray@0.0.1 node_modules/mongojs/node_modules/readable-stream/node_modules/isarray
  45. - string_decoder@0.10.31 node_modules/mongojs/node_modules/readable-stream/node_modules/string_decoder
  46. - mongodb@1.4.19 node_modules/mongojs/node_modules/mongodb
  47. - readable-stream@1.1.13 node_modules/mongojs/node_modules/readable-stream
  48. - thunky@0.1.0 node_modules/mongojs/node_modules/thunky
  49. - mongojs@0.18.1 node_modules/mongojs
  50. npm WARN enoent ENOENT: no such file or directory, open '/Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/package.json'
  51. npm WARN RCPHelper_Server No description
  52. npm WARN RCPHelper_Server No repository field.
  53. npm WARN RCPHelper_Server No README data
  54. npm WARN RCPHelper_Server No license field.
  55. Bogdans-MBP:RCPHelper_Server bogdangheorghe$ npm install --save mongojs
  56. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
  57.  
  58. > java@0.4.2 install /Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/node_modules/java
  59. > node-gyp rebuild
  60.  
  61.   CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o
  62. In file included from ../src/java.cpp:2:
  63. In file included from ../src/java.h:9:
  64. ../../nan/nan.h:342:68: error: too many arguments to function call, expected at most 2, have 4
  65.     return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
  66.            ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
  67. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:4833:3: note: 'New' declared here
  68.   static Local<Signature> New(
  69.   ^
  70. In file included from ../src/java.cpp:2:
  71. In file included from ../src/java.h:9:
  72. ../../nan/nan.h:397:32: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
  73.     return v8::ScriptCompiler::CompileUnbound(
  74.                                ^
  75. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
  76.                        Local<UnboundScript> CompileUnbound(
  77.                                             ^
  78. In file included from ../src/java.cpp:2:
  79. In file included from ../src/java.h:9:
  80. ../../nan/nan.h:406:32: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
  81.     return v8::ScriptCompiler::CompileUnbound(
  82.                                ^
  83. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
  84.                        Local<UnboundScript> CompileUnbound(
  85.                                             ^
  86. In file included from ../src/java.cpp:2:
  87. In file included from ../src/java.h:9:
  88. ../../nan/nan.h:412:31: warning: 'New' is deprecated [-Wdeprecated-declarations]
  89.     return v8::BooleanObject::New(value).As<v8::BooleanObject>();
  90.                               ^
  91. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:4008:56: note: 'New' has been explicitly marked deprecated here
  92.   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
  93.                                                        ^
  94. In file included from ../src/java.cpp:2:
  95. In file included from ../src/java.h:9:
  96. ../../nan/nan.h:424:3: error: redefinition of 'NanNew'
  97.   NanNew<v8::StringObject, v8::Handle<v8::String> >(
  98.   ^
  99. ../../nan/nan.h:417:3: note: previous definition is here
  100.   NanNew<v8::StringObject, v8::Local<v8::String> >(
  101.   ^
  102. ../../nan/nan.h:442:36: error: redefinition of 'NanNew'
  103.   NAN_INLINE v8::Local<v8::RegExp> NanNew(
  104.                                    ^
  105. ../../nan/nan.h:436:36: note: previous definition is here
  106.   NAN_INLINE v8::Local<v8::RegExp> NanNew(
  107.                                    ^
  108. ../../nan/nan.h:454:36: error: redefinition of 'NanNew'
  109.   NAN_INLINE v8::Local<v8::RegExp> NanNew(
  110.                                    ^
  111. ../../nan/nan.h:448:36: note: previous definition is here
  112.   NAN_INLINE v8::Local<v8::RegExp> NanNew(
  113.                                    ^
  114. ../../nan/nan.h:462:42: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
  115.         v8::Isolate::GetCurrent(), val)->ToUint32();
  116.                                          ^
  117. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here
  118. Local<Uint32> Value::ToUint32() const {
  119.                      ^
  120. In file included from ../src/java.cpp:2:
  121. In file included from ../src/java.h:9:
  122. ../../nan/nan.h:468:42: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
  123.         v8::Isolate::GetCurrent(), val)->ToUint32();
  124.                                          ^
  125. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here
  126. Local<Uint32> Value::ToUint32() const {
  127.                      ^
  128. In file included from ../src/java.cpp:2:
  129. In file included from ../src/java.h:9:
  130. ../../nan/nan.h:473:60: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
  131.     return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32();
  132.                                                            ^
  133. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:8202:21: note: 'ToInt32' has been explicitly marked deprecated here
  134. Local<Int32> Value::ToInt32() const {
  135.                     ^
  136. In file included from ../src/java.cpp:2:
  137. In file included from ../src/java.h:9:
  138. ../../nan/nan.h:478:60: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
  139.     return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32();
  140.                                                            ^
  141. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:8202:21: note: 'ToInt32' has been explicitly marked deprecated here
  142. Local<Int32> Value::ToInt32() const {
  143.                     ^
  144. In file included from ../src/java.cpp:2:
  145. In file included from ../src/java.h:9:
  146. ../../nan/nan.h:518:24: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
  147.     return v8::String::NewFromOneByte(
  148.                        ^
  149. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
  150.       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  151.                     ^
  152. In file included from ../src/java.cpp:2:
  153. In file included from ../src/java.h:9:
  154. ../../nan/nan.h:529:24: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
  155.     return v8::String::NewFromOneByte(
  156.                        ^
  157. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
  158.       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  159.                     ^
  160. In file included from ../src/java.cpp:2:
  161. In file included from ../src/java.h:9:
  162. ../../nan/nan.h:538:24: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
  163.     return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg);
  164.                        ^
  165. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
  166.       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  167.                     ^
  168. In file included from ../src/java.cpp:2:
  169. In file included from ../src/java.h:9:
  170. ../../nan/nan.h:544:24: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
  171.     return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg);
  172.                        ^
  173. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
  174.       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  175.                     ^
  176. In file included from ../src/java.cpp:2:
  177. In file included from ../src/java.h:9:
  178. ../../nan/nan.h:619:24: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
  179.     return v8::String::NewExternal(v8::Isolate::GetCurrent(), resource);
  180.                        ^
  181. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2372:38: note: 'NewExternal' has been explicitly marked deprecated here
  182.                        Local<String> NewExternal(
  183.                                      ^
  184. In file included from ../src/java.cpp:2:
  185. In file included from ../src/java.h:9:
  186. ../../nan/nan.h:623:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
  187.       v8::String::ExternalAsciiStringResource *resource) {
  188.       ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  189.                   ExternalStringResource
  190. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2241:19: note: 'ExternalStringResource' declared here
  191.   class V8_EXPORT ExternalStringResource
  192.                   ^
  193. In file included from ../src/java.cpp:2:
  194. In file included from ../src/java.h:9:
  195. ../../nan/nan.h:622:36: error: redefinition of 'NanNew'
  196.   NAN_INLINE v8::Local<v8::String> NanNew(
  197.                                    ^
  198. ../../nan/nan.h:617:36: note: previous definition is here
  199.   NAN_INLINE v8::Local<v8::String> NanNew(
  200.                                    ^
  201. ../../nan/nan.h:624:24: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
  202.     return v8::String::NewExternal(v8::Isolate::GetCurrent(), resource);
  203.                        ^
  204. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:2372:38: note: 'NewExternal' has been explicitly marked deprecated here
  205.                        Local<String> NewExternal(
  206.                                      ^
  207. In file included from ../src/java.cpp:2:
  208. In file included from ../src/java.h:9:
  209. ../../nan/nan.h:637:27: error: redefinition of '_NanEscapeScopeHelper'
  210.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
  211.                           ^
  212. ../../nan/nan.h:632:27: note: previous definition is here
  213.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {
  214.                           ^
  215. ../../nan/nan.h:653:12: error: no matching function for call to '_NanEscapeScopeHelper'
  216.     return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
  217.            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218. ../../nan/nan.h:641:43: note: expanded from macro 'NanEscapeScope'
  219. # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
  220.                                           ^~~~~~~~~~~~~~~~~~~~~
  221. ../../nan/nan.h:637:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
  222.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
  223.                           ^
  224. ../../nan/nan.h:658:12: error: no matching function for call to '_NanEscapeScopeHelper'
  225.     return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent())));
  226.            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  227. ../../nan/nan.h:641:43: note: expanded from macro 'NanEscapeScope'
  228. # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
  229.                                           ^~~~~~~~~~~~~~~~~~~~~
  230. ../../nan/nan.h:637:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
  231.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
  232.                           ^
  233. ../../nan/nan.h:663:12: error: no matching function for call to '_NanEscapeScopeHelper'
  234.     return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
  235.            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  236. ../../nan/nan.h:641:43: note: expanded from macro 'NanEscapeScope'
  237. # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
  238.                                           ^~~~~~~~~~~~~~~~~~~~~
  239. ../../nan/nan.h:637:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
  240.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
  241.                           ^
  242. ../../nan/nan.h:668:12: error: no matching function for call to '_NanEscapeScopeHelper'
  243.     return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent())));
  244.            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  245. ../../nan/nan.h:641:43: note: expanded from macro 'NanEscapeScope'
  246. # define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
  247.                                           ^~~~~~~~~~~~~~~~~~~~~
  248. ../../nan/nan.h:637:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
  249.   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
  250.                           ^
  251. ../../nan/nan.h:701:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
  252.       v8::Isolate::GCEpilogueCallback callback
  253.       ~~~~~~~~~~~~~^
  254. ../../nan/nan.h:707:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
  255.       v8::Isolate::GCEpilogueCallback callback) {
  256.       ~~~~~~~~~~~~~^
  257. ../../nan/nan.h:712:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
  258.       v8::Isolate::GCPrologueCallback callback
  259.       ~~~~~~~~~~~~~^
  260. ../../nan/nan.h:718:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
  261.       v8::Isolate::GCPrologueCallback callback) {
  262.       ~~~~~~~~~~~~~^
  263. ../../nan/nan.h:889:13: error: no member named 'smalloc' in namespace 'node'
  264.     , node::smalloc::FreeCallback callback
  265.       ~~~~~~^
  266. ../../nan/nan.h:900:12: error: no matching function for call to 'New'
  267.     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  268.            ^~~~~~~~~~~~~~~~~
  269. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
  270. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  271.                                        ^
  272. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/node_buffer.h:34:40: note: candidate function not viable: no known conversion from 'const char *' to 'v8::Local<v8::String>' for 2nd argument
  273. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  274.                                        ^
  275. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
  276. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
  277.                                        ^
  278. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
  279. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  280.                                        ^
  281. In file included from ../src/java.cpp:2:
  282. In file included from ../src/java.h:9:
  283. ../../nan/nan.h:904:12: error: no viable conversion from returned value of type 'v8::MaybeLocal<v8::Object>' to function return type 'v8::Local<v8::Object>'
  284.     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
  285.            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  286. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:218:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
  287.       'const v8::Local<v8::Object> &' for 1st argument
  288. class Local {
  289.       ^
  290. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:218:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
  291.       'v8::Local<v8::Object> &&' for 1st argument
  292. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  293.   V8_INLINE Local(Local<S> that)
  294.             ^
  295. In file included from ../src/java.cpp:2:
  296. In file included from ../src/java.h:9:
  297. ../../nan/nan.h:911:26: error: no member named 'Use' in namespace 'node::Buffer'
  298.     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
  299.            ~~~~~~~~~~~~~~^
  300. ../../nan/nan.h:938:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
  301.     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  302.                                ^
  303. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
  304.       Local<Script> Compile(Isolate* isolate, Source* source,
  305.                     ^
  306. In file included from ../src/java.cpp:2:
  307. In file included from ../src/java.h:9:
  308. ../../nan/nan.h:945:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
  309.     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  310.                                ^
  311. /Users/bogdangheorghe/.node-gyp/6.10.3/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
  312.       Local<Script> Compile(Isolate* isolate, Source* source,
  313.                     ^
  314. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  315. 15 warnings and 20 errors generated.
  316. make: *** [Release/obj.target/nodejavabridge_bindings/src/java.o] Error 1
  317. gyp ERR! build error
  318. gyp ERR! stack Error: `make` failed with exit code: 2
  319. gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
  320. gyp ERR! stack     at emitTwo (events.js:106:13)
  321. gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
  322. gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
  323. gyp ERR! System Darwin 16.5.0
  324. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  325. gyp ERR! cwd /Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/node_modules/java
  326. gyp ERR! node -v v6.10.3
  327. gyp ERR! node-gyp -v v3.4.0
  328. gyp ERR! not ok
  329. npm WARN saveError ENOENT: no such file or directory, open '/Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/package.json'
  330. /Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server
  331. └─┬ mongojs@2.4.0
  332.   ├── each-series@1.0.0
  333.   ├─┬ mongodb@2.2.26
  334.   │ ├── es6-promise@3.2.1
  335.   │ ├─┬ mongodb-core@2.1.10
  336.   │ │ ├── bson@1.0.4
  337.   │ │ └─┬ require_optional@1.0.0
  338.   │ │   ├── resolve-from@2.0.0
  339.   │ │   └── semver@5.3.0
  340.   │ └── readable-stream@2.2.7
  341.   ├─┬ once@1.4.0
  342.   │ └── wrappy@1.0.2
  343.   ├── parse-mongo-url@1.1.1
  344.   ├─┬ readable-stream@2.2.9
  345.   │ ├── buffer-shims@1.0.0
  346.   │ ├── core-util-is@1.0.2
  347.   │ ├── inherits@2.0.3
  348.   │ ├── isarray@1.0.0
  349.   │ ├── process-nextick-args@1.0.7
  350.   │ ├── string_decoder@1.0.0
  351.   │ └── util-deprecate@1.0.2
  352.   ├── thunky@0.1.0
  353.   ├── to-mongodb-core@2.0.0
  354.   └── xtend@4.0.1
  355.  
  356. npm WARN enoent ENOENT: no such file or directory, open '/Users/bogdangheorghe/Workspace/Servers/RCPHelper_Server/RCPHelper_Server/package.json'
  357. npm WARN RCPHelper_Server No description
  358. npm WARN RCPHelper_Server No repository field.
  359. npm WARN RCPHelper_Server No README data
  360. npm WARN RCPHelper_Server No license field.
  361. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: java@0.4.2 (node_modules/java):
  362. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: java@0.4.2 install: `node-gyp rebuild`
  363. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  364. Bogdans-MBP:RCPHelper_Server bogdangheorghe$
Add Comment
Please, Sign In to add comment