{"action":"created","issue":{"url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/49","labels_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/49/comments","events_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/49/events","html_url":"https://github.com/danielgtaylor/atom-api-blueprint-preview/issues/49","id":121525696,"number":49,"title":"Fails to install on Atom 1.3.0 on Mac OSX 10.11.1","user":{"login":"dijitalmunky","id":9633271,"avatar_url":"https://avatars.githubusercontent.com/u/9633271?v=3","gravatar_id":"","url":"https://api.github.com/users/dijitalmunky","html_url":"https://github.com/dijitalmunky","followers_url":"https://api.github.com/users/dijitalmunky/followers","following_url":"https://api.github.com/users/dijitalmunky/following{/other_user}","gists_url":"https://api.github.com/users/dijitalmunky/gists{/gist_id}","starred_url":"https://api.github.com/users/dijitalmunky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dijitalmunky/subscriptions","organizations_url":"https://api.github.com/users/dijitalmunky/orgs","repos_url":"https://api.github.com/users/dijitalmunky/repos","events_url":"https://api.github.com/users/dijitalmunky/events{/privacy}","received_events_url":"https://api.github.com/users/dijitalmunky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-10T16:30:41Z","updated_at":"2016-01-05T18:52:35Z","closed_at":null,"body":"When installing through the UI in Atom, the following error occurs:\r\n\r\n```\r\n\r\n> runas@2.0.0 install /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas\r\n> node-gyp rebuild\r\n\r\n  CXX(target) Release/obj.target/runas/src/main.o\r\n\r\nnpm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'\r\nnpm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'\r\nIn file included from ../src/main.cc:1:\r\n../../nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'\r\nNAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\r\n                        ^\r\n../../nan/nan.h:255:25: note: previous definition is here\r\nNAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\r\n                        ^\r\n../../nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'\r\n    , node::smalloc::FreeCallback callback\r\n      ~~~~~~^\r\n../../nan/nan.h:671: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/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:41:40: note: candidate function not viable: no known conversion from 'uint32_t' (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/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:53:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier\r\nNODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                       ^\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:38: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/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:46: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/main.cc:1:\r\n../../nan/nan.h:675: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/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument\r\nclass Local {\r\n      ^\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/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/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:326: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/main.cc:1:\r\n../../nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'\r\n    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n           ~~~~~~~~~~~~~~^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../../nan/nan.h:24:\r\nIn file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../../nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));\r\n           ^\r\n../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../../nan/nan.h:24:\r\nIn file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../../nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));\r\n           ^\r\n../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../../nan/nan.h:24:\r\nIn file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../../nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)\r\n           ^\r\n../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                             ^\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../../nan/nan.h:24:\r\nIn file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'\r\n    TYPE_CHECK(T, S);\r\n    ^~~~~~~~~~~~~~~~\r\n/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'\r\n    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \\\r\n                                    ^ ~~~~~~~~~~~~~~~~~~\r\n../../nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here\r\n    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());\r\n           ^\r\n../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'\r\n# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))\r\n                             ^\r\n9 errors generated.\r\nmake: *** [Release/obj.target/runas/src/main.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 (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n\r\ngyp ERR! System Darwin 15.0.0\r\ngyp ERR! command \"node\" \"/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas\r\ngyp ERR! node -v v0.10.40\r\ngyp ERR! node-gyp -v v2.0.2\r\ngyp ERR! not ok \r\nnpm ERR! Darwin 15.0.0\r\nnpm ERR! argv \"/Applications/Atom.app/Contents/Resources/app/apm/bin/node\" \"/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/Users/chrisroe-Anow/.atom/.apm/.apmrc\" \"--userconfig\" \"/Users/chrisroe-Anow/.atom/.apmrc\" \"install\" \"/private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/d-1151110-24060-wxzb4d/package.tgz\" \"--target=0.34.3\" \"--arch=x64\"\r\nnpm ERR! node v0.10.40\r\nnpm ERR! npm  v2.13.3\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! runas@2.0.0 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the runas@2.0.0 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the runas package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls runas\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/comments/169095510","html_url":"https://github.com/danielgtaylor/atom-api-blueprint-preview/issues/49#issuecomment-169095510","issue_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/49","id":169095510,"user":{"login":"spieker","id":306968,"avatar_url":"https://avatars.githubusercontent.com/u/306968?v=3","gravatar_id":"","url":"https://api.github.com/users/spieker","html_url":"https://github.com/spieker","followers_url":"https://api.github.com/users/spieker/followers","following_url":"https://api.github.com/users/spieker/following{/other_user}","gists_url":"https://api.github.com/users/spieker/gists{/gist_id}","starred_url":"https://api.github.com/users/spieker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spieker/subscriptions","organizations_url":"https://api.github.com/users/spieker/orgs","repos_url":"https://api.github.com/users/spieker/repos","events_url":"https://api.github.com/users/spieker/events{/privacy}","received_events_url":"https://api.github.com/users/spieker/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T18:52:34Z","updated_at":"2016-01-05T18:52:34Z","body":"+1"}}