Open guruprasad211 opened 8 years ago
Hi @guruprasad211, node v5 is not tested or supported right now. Check out the requirements here: https://github.com/uber/ringpop-node#requirements
There are PRs open to add Node v4 support (see #290, #295) but I don't think anyone's taken a look at Node v5 yet.
HI dansimu, Thanks for your quick response, in our project we are using 10 different node servers using node v5, can u please let me know when it can be supported for node v5
We have no plans to support Node v5 right now, but pull requests are welcome provided they maintain backwards-compatibility 😊
Hi, i am installing ringpop in linux and i am getting below error, node version v5.0.0
starting i am getting this error after some installation i am getting another error as shown at end
In file included from ../src/bindings.cc:4:0: ../../nan/nan.h:324:27: error: redefinition of ‘template v8::Local Nan::imp::NanEnsureHandleOrPersistent(const v8::Local&)’
NAN_INLINE v8::Local NanEnsureHandleOrPersistent(const v8::Local &val) {
^
../../nan/nan.h:319:17: error: ‘template v8::Handle Nan::imp::NanEnsureHandleOrPersistent(v8::Handle&)’ previously declared here
v8::Handle NanEnsureHandleOrPersistent(const v8::Handle &val) {
^
../../nan/nan.h:344:27: error: redefinition of ‘template v8::Local Nan::imp::NanEnsureLocal(v8::Handle&)’
NAN_INLINE v8::Local NanEnsureLocal(const v8::Handle &val) {
^
../../nan/nan.h:334:27: error: ‘template v8::Local Nan::imp::NanEnsureLocal(const v8::Local&)’ previously declared here
NANINLINE v8::Local NanEnsureLocal(const v8::Local &val) {
^
../../nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../../nan/nan.h:757:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../../nan/nan.h: In function ‘v8::Localv8::Object NanNewBufferHandle(char , sizet, int)’:
../../nan/nan.h:761:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../../nan/nan.h:761:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../../nan/nan.h: In function ‘v8::Localv8::Object NanNewBufferHandle(const char, uint32t)’:
../../nan/nan.h:768:67: error: call of overloaded ‘New(v8::Isolate, const char_&, uint32_t&)’ is ambiguous
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../../nan/nan.h:768:67: note: candidates are:
In file included from ../../nan/nan.h:25:0,
from ../src/bindings.cc:4:
/root/.node-gyp/5.0.0/include/node/nodebuffer.h:31:40: note: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate, v8::Localv8::String, node::encoding)
NODEEXTERN v8::MaybeLocalv8::Object New(v8::Isolate isolate,
^
/root/.node-gyp/5.0.0/include/node/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.0.0/include/node/nodebuffer.h:43:40: note: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate, char_, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/5.0.0/include/node/nodebuffer.h:43:40: note: no known conversion for argument 2 from ‘const char’ to ‘char_’
In file included from ../src/bindings.cc:4:0:
../../nan/nan.h: In function ‘v8::Localv8::Object NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:772:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((sizet)size))’ from ‘v8::MaybeLocalv8::Object’ to ‘v8::Localv8::Object’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../../nan/nan.h: In function ‘v8::Localv8::Object NanBufferUse(char, uint32t)’:
../../nan/nan.h:779:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
make: ** [Release/obj.target/farmhash/src/bindings.o] Error 1
make: Leaving directory
/home/nowconfer/NowConfer-1.0.1.0/node_modules/ringpop/node_modules/farmhash/build' 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: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.10.0-123.el7.x86_64 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nowconfer/NowConfer-1.0.1.0/node_modules/ringpop/node_modules/farmhash gyp ERR! node -v v5.0.0 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not okPlease help in solving this issues, thanks in advance
npm ERR! Linux 3.10.0-123.el7.x86_64 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ringpop" "-save" npm ERR! node v5.0.0 npm ERR! npm v3.5.0 npm ERR! code ELIFECYCLE
npm ERR! farmhash@0.2.2 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the farmhash@0.2.2 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the farmhash 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 farmhash npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /home/nowconfer/NowConfer-1.0.1.0/npm-debug.log