Created
September 8, 2015 17:26
-
-
Save tjwebb/2e01d91fce5899eb0f7b to your computer and use it in GitHub Desktop.
socket.io install failure in node 4.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> bufferutil@1.1.0 install /home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil | |
> node-gyp rebuild | |
make: Entering directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build' | |
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o | |
In file included from ../src/bufferutil.cc:16:0: | |
../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/bufferutil.cc:10:0: | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’ | |
In file included from ../src/bufferutil.cc:16:0: | |
../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); | |
^ | |
bufferutil.target.mk:92: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed | |
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 | |
make: Leaving directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270: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-26-generic | |
gyp ERR! command "/usr/local/bin/node" "/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil | |
gyp ERR! node -v v4.0.0-rc.5 | |
gyp ERR! node-gyp -v v3.0.1 | |
gyp ERR! not ok | |
npm WARN engine mime-types@2.1.6: wanted: {"node":">= 0.6"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine negotiator@0.5.3: wanted: {"node":">= 0.6"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine mime-db@1.12.0: wanted: {"node":">= 0.6"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine mime-db@1.18.0: wanted: {"node":">= 0.6"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine accepts@1.0.7: wanted: {"node":">= 0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine mime-types@1.0.2: wanted: {"node":">= 0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine negotiator@0.4.7: wanted: {"node":"*"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
> utf-8-validate@1.1.0 install /home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate | |
> node-gyp rebuild | |
make: Entering directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build' | |
CXX(target) Release/obj.target/validation/src/validation.o | |
In file included from ../src/validation.cc:15:0: | |
../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/validation.cc:10:0: | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’ | |
In file included from ../src/validation.cc:15:0: | |
../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); | |
^ | |
validation.target.mk:92: recipe for target 'Release/obj.target/validation/src/validation.o' failed | |
make: *** [Release/obj.target/validation/src/validation.o] Error 1 | |
make: Leaving directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270: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-26-generic | |
gyp ERR! command "/usr/local/bin/node" "/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/tjwebb/workspace/balderdashy/sails/node_modules/sails-hook-sockets/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate | |
gyp ERR! node -v v4.0.0-rc.5 | |
gyp ERR! node-gyp -v v3.0.1 | |
gyp ERR! not ok | |
npm WARN optional dep failed, continuing bufferutil@1.1.0 | |
npm WARN engine source-map@0.1.43: wanted: {"node":">=0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine uglify-js@2.3.6: wanted: {"node":">=0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine uglify-js@2.3.6: wanted: {"node":">=0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine source-map@0.1.43: wanted: {"node":">=0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine debug@0.7.4: wanted: {"node":"*"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
> utf-8-validate@1.1.0 install /home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate | |
> node-gyp rebuild | |
make: Entering directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build' | |
CXX(target) Release/obj.target/validation/src/validation.o | |
In file included from ../src/validation.cc:15:0: | |
../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/validation.cc:10:0: | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’ | |
In file included from ../src/validation.cc:15:0: | |
../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); | |
^ | |
validation.target.mk:92: recipe for target 'Release/obj.target/validation/src/validation.o' failed | |
make: *** [Release/obj.target/validation/src/validation.o] Error 1 | |
make: Leaving directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270: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-26-generic | |
command "/usr/local/bin/node" "/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate | |
gyp ERR! node -v v4.0.0-rc.5 | |
gyp ERR! node-gyp -v v3.0.1 | |
gyp ERR! not ok | |
npm WARN optional dep failed, continuing utf-8-validate@1.1.0 | |
npm WARN engine wordwrap@0.0.3: wanted: {"node":">=0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine utils-merge@1.0.0: wanted: {"node":">= 0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine send@0.8.5: wanted: {"node":">= 0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine amdefine@1.0.0: wanted: {"node":">=0.4.2"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine amdefine@1.0.0: wanted: {"node":">=0.4.2"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
> bufferutil@1.1.0 install /home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil | |
> node-gyp rebuild | |
make: Entering directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build' | |
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o | |
In file included from ../src/bufferutil.cc:16:0: | |
../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/bufferutil.cc:10:0: | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/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, | |
^ | |
/home/tjwebb/.node-gyp/4.0.0-rc.5/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’ | |
In file included from ../src/bufferutil.cc:16:0: | |
../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); | |
^ | |
bufferutil.target.mk:92: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed | |
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 | |
make: Leaving directory '/home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270: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-26-generic | |
gyp ERR! command "/usr/local/bin/node" "/usr/local/n/versions/node/4.0.0-rc5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/tjwebb/workspace/balderdashy/sails/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil | |
gyp ERR! node -v v4.0.0-rc.5 | |
gyp ERR! node-gyp -v v3.0.1 | |
gyp ERR! not ok | |
npm WARN optional dep failed, continuing utf-8-validate@1.1.0 | |
npm WARN engine wordwrap@0.0.3: wanted: {"node":">=0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine range-parser@1.0.2: wanted: {"node":">= 0.6"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN optional dep failed, continuing bufferutil@1.1.0 | |
npm WARN engine graceful-fs@3.0.8: wanted: {"node":">=0.4.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine image-size@0.3.5: wanted: {"node":">=0.10.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine source-map@0.4.4: wanted: {"node":">=0.8.0"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) | |
npm WARN engine amdefine@1.0.0: wanted: {"node":">=0.4.2"} (current: {"node":"4.0.0-rc.5","npm":"2.14.2"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you figure this out?