Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Bringing base dependencies up to date...
- Error: Command failed: /usr/bin/env npm i --production
- In file included from ../src/decoder/decoder.h:13:0,
- from ../src/decoder/init.cpp:1:
- ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
- NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
- ^
- ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
- NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
- ^
- ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
- ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
- v8::Isolate::GetCurrent(), data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
- v8::Isolate::GetCurrent(), data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
- ../node_modules/nan/nan.h:672:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
- return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
- ^
- ../node_modules/nan/nan.h:672:67: note: candidates are:
- In file included from ../src/decoder/decoder.h:12:0,
- from ../src/decoder/init.cpp:1:
- /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>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /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’
- /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>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /root/.node-gyp/5.3.0/src/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
- In file included from ../src/decoder/decoder.h:13:0,
- from ../src/decoder/init.cpp:1:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
- ../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>’
- return node::Buffer::New(v8::Isolate::GetCurrent(), size);
- ^
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
- ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
- return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
- ^
- make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
- gyp ERR! stack at emitTwo (events.js:87:13)
- gyp ERR! stack at ChildProcess.emit (events.js:172:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
- gyp ERR! System Linux 3.19.0-15-generic
- gyp ERR! command "/usr/bin/nodejs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /home/nodebb/node_modules/lwip
- gyp ERR! node -v v5.3.0
- gyp ERR! node-gyp -v v1.0.3
- gyp ERR! not ok
- npm ERR! Linux 3.19.0-15-generic
- npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "i" "--production"
- npm ERR! node v5.3.0
- npm ERR! npm v2.10.1
- npm ERR! code ELIFECYCLE
- npm ERR! lwip@0.0.7 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the lwip@0.0.7 install script 'node-gyp rebuild'.
- npm ERR! This is most likely a problem with the lwip package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! node-gyp rebuild
- npm ERR! You can get their info via:
- npm ERR! npm owner ls lwip
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /home/nodebb/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement