{"action":"created","issue":{"url":"https://api.github.com/repos/phuesler/ain/issues/37","labels_url":"https://api.github.com/repos/phuesler/ain/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/phuesler/ain/issues/37/comments","events_url":"https://api.github.com/repos/phuesler/ain/issues/37/events","html_url":"https://github.com/phuesler/ain/issues/37","id":105262645,"number":37,"title":"Fails to install with io.js 3.2.0","user":{"login":"nodesocket","id":523312,"avatar_url":"https://avatars.githubusercontent.com/u/523312?v=3","gravatar_id":"","url":"https://api.github.com/users/nodesocket","html_url":"https://github.com/nodesocket","followers_url":"https://api.github.com/users/nodesocket/followers","following_url":"https://api.github.com/users/nodesocket/following{/other_user}","gists_url":"https://api.github.com/users/nodesocket/gists{/gist_id}","starred_url":"https://api.github.com/users/nodesocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodesocket/subscriptions","organizations_url":"https://api.github.com/users/nodesocket/orgs","repos_url":"https://api.github.com/users/nodesocket/repos","events_url":"https://api.github.com/users/nodesocket/events{/privacy}","received_events_url":"https://api.github.com/users/nodesocket/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-07T20:01:54Z","updated_at":"2015-10-01T21:19:58Z","closed_at":"2015-10-01T08:13:53Z","body":"````\r\n➜  daily_closes git:(master) npm install --save ain2\r\nnpm WARN package.json daily_closes@0.4.7 No repository field.\r\nnpm WARN package.json daily_closes@0.4.7 No license field.\r\n|\r\n> unix-dgram@0.1.1 install /Users/justin/Sites/macd/jobs/daily_closes/node_modules/ain2/node_modules/unix-dgram\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:335:68: error: too many arguments to function call, expected at most 2, have 4\r\n    return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);\r\n           ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:4450:3: note: 'New' declared here\r\n  static Local<Signature> New(\r\n  ^\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:417:3: error: redefinition of 'NanNew'\r\n  NanNew<v8::StringObject, v8::Handle<v8::String> >(\r\n  ^\r\n../node_modules/nan/nan.h:410:3: note: previous definition is here\r\n  NanNew<v8::StringObject, v8::Local<v8::String> >(\r\n  ^\r\n../node_modules/nan/nan.h:435:36: error: redefinition of 'NanNew'\r\n  NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:429:36: note: previous definition is here\r\n  NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:447:36: error: redefinition of 'NanNew'\r\n  NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:441:36: note: previous definition is here\r\n  NAN_INLINE v8::Local<v8::RegExp> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:616:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?\r\n      v8::String::ExternalAsciiStringResource *resource) {\r\n      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                  ExternalStringResource\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:2157:19: note: 'ExternalStringResource' declared here\r\n  class V8_EXPORT ExternalStringResource\r\n                  ^\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:615:36: error: redefinition of 'NanNew'\r\n  NAN_INLINE v8::Local<v8::String> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:610:36: note: previous definition is here\r\n  NAN_INLINE v8::Local<v8::String> NanNew(\r\n                                   ^\r\n../node_modules/nan/nan.h:630:27: error: redefinition of '_NanEscapeScopeHelper'\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:625:27: note: previous definition is here\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:646:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:651:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent())));\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:656:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:661:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent())));\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:878:13: error: no member named 'smalloc' in namespace 'node'\r\n    , node::smalloc::FreeCallback callback\r\n      ~~~~~~^\r\n../node_modules/nan/nan.h:889:12: error: no matching function for call to 'New'\r\n    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n           ^~~~~~~~~~~~~~~~~\r\n/Users/justin/.node-gyp/3.2.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t'\r\n      (aka 'unsigned int') to 'enum encoding' for 3rd argument\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const\r\n      qualifier\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);\r\n                                       ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:893:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'\r\n    return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from\r\n      'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from\r\n      'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'\r\n  V8_INLINE Local(Local<S> that)\r\n            ^\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:327:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'\r\n  V8_INLINE Local(S* that)\r\n            ^\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:900:26: error: no member named 'Use' in namespace 'node::Buffer'\r\n    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n           ~~~~~~~~~~~~~~^\r\n../node_modules/nan/nan.h:1680:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Function]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:1767:12: error: no matching function for call to '_NanEscapeScopeHelper'\r\n    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:634:43: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))\r\n                                          ^~~~~~~~~~~~~~~~~~~~~\r\n../node_modules/nan/nan.h:630:27: note: candidate template ignored: substitution failure [with T = v8::Object]\r\n  NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {\r\n                          ^\r\n../node_modules/nan/nan.h:1973:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?\r\n  if (str->IsExternalAscii()) {\r\n           ^~~~~~~~~~~~~~~\r\n           IsExternal\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:2121:8: note: 'IsExternal' declared here\r\n  bool IsExternal() const;\r\n       ^\r\nIn file included from ../src/unix_dgram.cc:5:\r\n../node_modules/nan/nan.h:1974:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?\r\n    const v8::String::ExternalAsciiStringResource* ext;\r\n          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n                      ExternalStringResource\r\n/Users/justin/.node-gyp/3.2.0/include/node/v8.h:2157:19: note: 'ExternalStringResource' declared here\r\n  class V8_EXPORT ExternalStringResource\r\n                  ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\nmake: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269: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 Darwin 15.0.0\r\ngyp ERR! command \"/usr/local/bin/iojs\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/justin/Sites/macd/jobs/daily_closes/node_modules/ain2/node_modules/unix-dgram\r\ngyp ERR! node -v v3.2.0\r\ngyp ERR! node-gyp -v v2.0.2\r\ngyp ERR! not ok\r\nnpm WARN optional dep failed, continuing unix-dgram@0.1.1\r\nain2@1.5.2 node_modules/ain2\r\n````"},"comment":{"url":"https://api.github.com/repos/phuesler/ain/issues/comments/144853682","html_url":"https://github.com/phuesler/ain/issues/37#issuecomment-144853682","issue_url":"https://api.github.com/repos/phuesler/ain/issues/37","id":144853682,"user":{"login":"nodesocket","id":523312,"avatar_url":"https://avatars.githubusercontent.com/u/523312?v=3","gravatar_id":"","url":"https://api.github.com/users/nodesocket","html_url":"https://github.com/nodesocket","followers_url":"https://api.github.com/users/nodesocket/followers","following_url":"https://api.github.com/users/nodesocket/following{/other_user}","gists_url":"https://api.github.com/users/nodesocket/gists{/gist_id}","starred_url":"https://api.github.com/users/nodesocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodesocket/subscriptions","organizations_url":"https://api.github.com/users/nodesocket/orgs","repos_url":"https://api.github.com/users/nodesocket/repos","events_url":"https://api.github.com/users/nodesocket/events{/privacy}","received_events_url":"https://api.github.com/users/nodesocket/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T21:19:58Z","updated_at":"2015-10-01T21:19:58Z","body":"@badunk works great. Thanks so much!"}}