Guest User


a guest
Jan 2nd, 2016
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. Bringing base dependencies up to date...
  2. Error: Command failed: /usr/bin/env npm i --production
  3. In file included from ../src/decoder/decoder.h:13:0,
  4. from ../src/decoder/init.cpp:1:
  5. ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
  6. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
  7. ^
  8. ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
  9. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
  10. ^
  11. ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
  12. , node::smalloc::FreeCallback callback
  13. ^
  14. ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
  15. , node::smalloc::FreeCallback callback
  16. ^
  17. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
  18. ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
  19. v8::Isolate::GetCurrent(), data, length, callback, hint);
  20. ^
  21. ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
  22. v8::Isolate::GetCurrent(), data, length, callback, hint);
  23. ^
  24. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
  25. ../node_modules/nan/nan.h:672:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
  26. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  27. ^
  28. ../node_modules/nan/nan.h:672:67: note: candidates are:
  29. In file included from ../src/decoder/decoder.h:12:0,
  30. from ../src/decoder/init.cpp:1:
  31. /root/.node-gyp/5.3.0/src/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
  32. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  33. ^
  34. /root/.node-gyp/5.3.0/src/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
  35. /root/.node-gyp/5.3.0/src/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
  36. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  37. ^
  38. /root/.node-gyp/5.3.0/src/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
  39. In file included from ../src/decoder/decoder.h:13:0,
  40. from ../src/decoder/init.cpp:1:
  41. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
  42. ../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
  43. return node::Buffer::New(v8::Isolate::GetCurrent(), size);
  44. ^
  45. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
  46. ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
  47. return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
  48. ^
  49. make: *** [Release/] Error 1
  50. gyp ERR! build error
  51. gyp ERR! stack Error: `make` failed with exit code: 2
  52. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
  53. gyp ERR! stack at emitTwo (events.js:87:13)
  54. gyp ERR! stack at ChildProcess.emit (events.js:172:7)
  55. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
  56. gyp ERR! System Linux 3.19.0-15-generic
  57. gyp ERR! command "/usr/bin/nodejs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  58. gyp ERR! cwd /home/nodebb/node_modules/lwip
  59. gyp ERR! node -v v5.3.0
  60. gyp ERR! node-gyp -v v1.0.3
  61. gyp ERR! not ok
  63. npm ERR! Linux 3.19.0-15-generic
  64. npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "i" "--production"
  65. npm ERR! node v5.3.0
  66. npm ERR! npm v2.10.1
  67. npm ERR! code ELIFECYCLE
  68. npm ERR! lwip@0.0.7 install: `node-gyp rebuild`
  69. npm ERR! Exit status 1
  70. npm ERR!
  71. npm ERR! Failed at the lwip@0.0.7 install script 'node-gyp rebuild'.
  72. npm ERR! This is most likely a problem with the lwip package,
  73. npm ERR! not with npm itself.
  74. npm ERR! Tell the author that this fails on your system:
  75. npm ERR! node-gyp rebuild
  76. npm ERR! You can get their info via:
  77. npm ERR! npm owner ls lwip
  78. npm ERR! There is likely additional logging output above.
  80. npm ERR! Please include the following file with any support request:
  81. npm ERR! /home/nodebb/npm-debug.log
RAW Paste Data