{"action":"created","issue":{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/5","repository_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis","labels_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/5/comments","events_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/5/events","html_url":"https://github.com/deepstreamIO/deepstream.io-cache-redis/issues/5","id":128387280,"number":5,"title":"Error when try to install ","user":{"login":"hopewise","id":1061157,"avatar_url":"https://avatars.githubusercontent.com/u/1061157?v=3","gravatar_id":"","url":"https://api.github.com/users/hopewise","html_url":"https://github.com/hopewise","followers_url":"https://api.github.com/users/hopewise/followers","following_url":"https://api.github.com/users/hopewise/following{/other_user}","gists_url":"https://api.github.com/users/hopewise/gists{/gist_id}","starred_url":"https://api.github.com/users/hopewise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hopewise/subscriptions","organizations_url":"https://api.github.com/users/hopewise/orgs","repos_url":"https://api.github.com/users/hopewise/repos","events_url":"https://api.github.com/users/hopewise/events{/privacy}","received_events_url":"https://api.github.com/users/hopewise/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-24T10:43:45Z","updated_at":"2016-02-15T20:06:55Z","closed_at":null,"body":"I tried to install it after installing redis server, but I got this error: ( I am on ubuntu 14.04 )\r\n\r\n```\r\n$ npm install deepstream.io-cache-redis\r\n-\r\n> hiredis@0.1.17 install /home/samir/node_modules/deepstream.io-cache-redis/node_modules/hiredis\r\n> node-gyp rebuild\r\n\r\nmake: Entering directory `/home/samir/node_modules/deepstream.io-cache-redis/node_modules/hiredis/build'\r\n  CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o\r\n  CC(target) Release/obj.target/hiredis/deps/hiredis/net.o\r\n  CC(target) Release/obj.target/hiredis/deps/hiredis/sds.o\r\n  CC(target) Release/obj.target/hiredis/deps/hiredis/async.o\r\n  AR(target) Release/obj.target/deps/hiredis.a\r\n  COPY Release/hiredis.a\r\n  CXX(target) Release/obj.target/hiredis/src/hiredis.o\r\nIn file included from ../src/reader.h:4:0,\r\n                 from ../src/hiredis.cc:3:\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Signature> NanNew(v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)’:\r\n../node_modules/nan/nan.h:335:78: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>&, int&, v8::Handle<v8::FunctionTemplate>*&)’\r\n     return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);\r\n                                                                              ^\r\n../node_modules/nan/nan.h:335:78: note: candidate is:\r\nIn file included from ../src/hiredis.cc:1:0:\r\n/home/samir/.node-gyp/4.2.6/include/node/v8.h:4675:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)\r\n   static Local<Signature> New(\r\n                           ^\r\n/home/samir/.node-gyp/4.2.6/include/node/v8.h:4675:27: note:   candidate expects 2 arguments, 4 provided\r\nIn file included from ../src/reader.h:4:0,\r\n                 from ../src/hiredis.cc:3:\r\n../node_modules/nan/nan.h: At global scope:\r\n../node_modules/nan/nan.h:417:3: error: redefinition of ‘v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]’\r\n   NanNew<v8::StringObject, v8::Handle<v8::String> >(\r\n   ^\r\n../node_modules/nan/nan.h:410:3: error: ‘v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]’ previously declared here\r\n   NanNew<v8::StringObject, v8::Local<v8::String> >(\r\n   ^\r\n../node_modules/nan/nan.h:435:36: error: redefinition of ‘template<class T> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)’\r\n   NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                    ^\r\n../node_modules/nan/nan.h:429:36: error: ‘template<class T> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)’ previously declared here\r\n   NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                    ^\r\n../node_modules/nan/nan.h:447:36: error: redefinition of ‘template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)’\r\n   NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                    ^\r\n../node_modules/nan/nan.h:441:36: error: ‘template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)’ previously declared here\r\n   NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                    ^\r\n../node_modules/nan/nan.h:616:19: error: ‘NanNew’ declared as an ‘inline’ variable\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n                   ^\r\n../node_modules/nan/nan.h:616:19: warning: ‘always_inline’ attribute ignored [-Wattributes]\r\n../node_modules/nan/nan.h:616:19: error: ‘v8::Local<v8::String> NanNew’ redeclared as different kind of symbol\r\n../node_modules/nan/nan.h:610:36: error: previous declaration of ‘v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)’\r\n   NAN_INLINE v8::Local<v8::String> NanNew(\r\n                                    ^\r\n../node_modules/nan/nan.h:616:7: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n       ^\r\n../node_modules/nan/nan.h:616:48: error: ‘resource’ was not declared in this scope\r\n       v8::String::ExternalAsciiStringResource *resource) {\r\n                                                ^\r\n../node_modules/nan/nan.h:630:27: error: redefinition of ‘template<class T> v8::Local<T> _NanEscapeScopeHelper(v8::Local<T>)’\r\n   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                           ^\r\n../node_modules/nan/nan.h:625:27: error: ‘template<class T> v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T>)’ previously declared here\r\n   NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {\r\n                           ^\r\n../node_modules/nan/nan.h:878:13: error: ‘node::smalloc’ has not been declared\r\n     , node::smalloc::FreeCallback callback\r\n             ^\r\n../node_modules/nan/nan.h:878:35: error: expected ‘,’ or ‘...’ before ‘callback’\r\n     , node::smalloc::FreeCallback callback\r\n                                   ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:\r\n../node_modules/nan/nan.h:882:50: error: ‘callback’ was not declared in this scope\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                  ^\r\n../node_modules/nan/nan.h:882:60: error: ‘hint’ was not declared in this scope\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                            ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:\r\n../node_modules/nan/nan.h:889:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n                                                                   ^\r\n../node_modules/nan/nan.h:889:67: note: candidates are:\r\nIn file included from ../node_modules/nan/nan.h:172:0,\r\n                 from ../src/reader.h:4,\r\n                 from ../src/hiredis.cc:3:\r\n/home/samir/.node-gyp/4.2.6/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>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/samir/.node-gyp/4.2.6/include/node/node_buffer.h:31:40: note:   no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’\r\n/home/samir/.node-gyp/4.2.6/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/samir/.node-gyp/4.2.6/include/node/node_buffer.h:43:40: note:   no known conversion for argument 2 from ‘const char*’ to ‘char*’\r\nIn file included from ../src/reader.h:4:0,\r\n                 from ../src/hiredis.cc:3:\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:\r\n../node_modules/nan/nan.h:893:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n                                                             ^\r\n../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:\r\n../node_modules/nan/nan.h:900:12: error: ‘Use’ is not a member of ‘node::Buffer’\r\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n            ^\r\n../node_modules/nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’:\r\n../node_modules/nan/nan.h:1973:12: error: ‘class v8::String’ has no member named ‘IsExternalAscii’\r\n   if (str->IsExternalAscii()) {\r\n            ^\r\n../node_modules/nan/nan.h:1974:11: error: ‘ExternalAsciiStringResource’ in ‘class v8::String’ does not name a type\r\n     const v8::String::ExternalAsciiStringResource* ext;\r\n           ^\r\n../node_modules/nan/nan.h:1975:5: error: ‘ext’ was not declared in this scope\r\n     ext = str->GetExternalAsciiStringResource();\r\n     ^\r\n../node_modules/nan/nan.h:1975:16: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’\r\n     ext = str->GetExternalAsciiStringResource();\r\n                ^\r\nmake: *** [Release/obj.target/hiredis/src/hiredis.o] Error 1\r\nmake: Leaving directory `/home/samir/node_modules/deepstream.io-cache-redis/node_modules/hiredis/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 3.13.0-76-generic\r\ngyp ERR! command \"/usr/bin/nodejs\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/samir/node_modules/deepstream.io-cache-redis/node_modules/hiredis\r\ngyp ERR! node -v v4.2.6\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\nnpm WARN optional dep failed, continuing hiredis@0.1.17\r\ndeepstream.io-cache-redis@0.2.5 ../../node_modules/deepstream.io-cache-redis\r\n└── redis@0.12.1\r\nsamir@samir-OptiPlex-7020:~/Documents/deepstream$ npm install deepstream.io-storage-rethinkdb\r\ndeepstream.io-storage-rethinkdb@0.1.0 ../../node_modules/deepstream.io-storage-rethinkdb\r\n└── rethinkdb@2.0.0 (bluebird@2.10.2)\r\n```"},"comment":{"url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/comments/184367933","html_url":"https://github.com/deepstreamIO/deepstream.io-cache-redis/issues/5#issuecomment-184367933","issue_url":"https://api.github.com/repos/deepstreamIO/deepstream.io-cache-redis/issues/5","id":184367933,"user":{"login":"yasserf","id":2734923,"avatar_url":"https://avatars.githubusercontent.com/u/2734923?v=3","gravatar_id":"","url":"https://api.github.com/users/yasserf","html_url":"https://github.com/yasserf","followers_url":"https://api.github.com/users/yasserf/followers","following_url":"https://api.github.com/users/yasserf/following{/other_user}","gists_url":"https://api.github.com/users/yasserf/gists{/gist_id}","starred_url":"https://api.github.com/users/yasserf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasserf/subscriptions","organizations_url":"https://api.github.com/users/yasserf/orgs","repos_url":"https://api.github.com/users/yasserf/repos","events_url":"https://api.github.com/users/yasserf/events{/privacy}","received_events_url":"https://api.github.com/users/yasserf/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T20:06:55Z","updated_at":"2016-02-15T20:06:55Z","body":"Cool, merge the dependency update and things seem good. Thanks for the help peep"}}