{"action":"created","issue":{"url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/45","labels_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/45/comments","events_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/45/events","html_url":"https://github.com/danielgtaylor/atom-api-blueprint-preview/issues/45","id":116983178,"number":45,"title":"Fails to install in Atom 1.2.1","user":{"login":"phw","id":29852,"avatar_url":"https://avatars.githubusercontent.com/u/29852?v=3","gravatar_id":"","url":"https://api.github.com/users/phw","html_url":"https://github.com/phw","followers_url":"https://api.github.com/users/phw/followers","following_url":"https://api.github.com/users/phw/following{/other_user}","gists_url":"https://api.github.com/users/phw/gists{/gist_id}","starred_url":"https://api.github.com/users/phw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phw/subscriptions","organizations_url":"https://api.github.com/users/phw/orgs","repos_url":"https://api.github.com/users/phw/repos","events_url":"https://api.github.com/users/phw/events{/privacy}","received_events_url":"https://api.github.com/users/phw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-11-15T09:38:00Z","updated_at":"2015-12-23T02:11:43Z","closed_at":null,"body":"Installing in Atom 1.2.1 fails for me with the following error output:\r\n\r\n```\r\n> runas@2.0.0 install /tmp/apm-install-dir-1151015-9033-1mgp2qd/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas\r\n> node-gyp rebuild\r\n\r\nmake: Verzeichnis „/tmp/apm-install-dir-1151015-9033-1mgp2qd/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas/build“ wird betreten\r\n  CXX(target) Release/obj.target/runas/src/main.o\r\nrunas.target.mk:90: die Regel für Ziel „Release/obj.target/runas/src/main.o“ scheiterte\r\nmake: Verzeichnis „/tmp/apm-install-dir-1151015-9033-1mgp2qd/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas/build“ wird verlassen\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:0:\r\n../../nan/nan.h:260:25: Fehler: Redefinition von »template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)«\r\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\r\n                         ^\r\n../../nan/nan.h:255:25: Anmerkung: »template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)« wurde bereits hier deklariert\r\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\r\n                         ^\r\n../../nan/nan.h:660:13: Fehler: »node::smalloc« wurde nicht deklariert\r\n     , node::smalloc::FreeCallback callback\r\n             ^\r\n../../nan/nan.h:660:35: Fehler: expected »,« or »...« before »callback«\r\n     , node::smalloc::FreeCallback callback\r\n                                   ^\r\n../../nan/nan.h: In Funktion »v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)«:\r\n../../nan/nan.h:664:50: Fehler: »callback« wurde in diesem Gültigkeitsbereich nicht definiert\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                  ^\r\n../../nan/nan.h:664:60: Fehler: »hint« wurde in diesem Gültigkeitsbereich nicht definiert\r\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\r\n                                                            ^\r\n../../nan/nan.h: In Funktion »v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)«:\r\n../../nan/nan.h:671:67: Fehler: keine passende Funktion für Aufruf von »New(v8::Isolate*, const char*&, uint32_t&)«\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n                                                                   ^\r\nIn file included from ../../nan/nan.h:25:0,\r\n                 from ../src/main.cc:1:\r\n/home/phw/.atom/.node-gyp/.node-gyp/0.34.0/src/node_buffer.h:41:40: Anmerkung: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <nahe Übereinstimmung>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/phw/.atom/.node-gyp/.node-gyp/0.34.0/src/node_buffer.h:41:40: Anmerkung:   Umwandlung von Argument 3 wäre unzulässig:\r\nIn file included from ../src/main.cc:1:0:\r\n../../nan/nan.h:671:67: Fehler: ungültige Umwandlung von »uint32_t {aka unsigned int}« in »node::encoding« [-fpermissive]\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n                                                                   ^\r\nIn file included from ../../nan/nan.h:25:0,\r\n                 from ../src/main.cc:1:\r\n/home/phw/.atom/.node-gyp/.node-gyp/0.34.0/src/node_buffer.h:53:40: Anmerkung: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <nahe Übereinstimmung>\r\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\r\n                                        ^\r\n/home/phw/.atom/.node-gyp/.node-gyp/0.34.0/src/node_buffer.h:53:40: Anmerkung:   Umwandlung von Argument 2 wäre unzulässig:\r\nIn file included from ../src/main.cc:1:0:\r\n../../nan/nan.h:671:67: Fehler: ungültige Umwandlung von »const char*« in »char*« [-fpermissive]\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\r\n                                                                   ^\r\n../../nan/nan.h: In Funktion »v8::Local<v8::Object> NanNewBufferHandle(uint32_t)«:\r\n../../nan/nan.h:675:29: Fehler: »node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))« konnte nicht von »v8::MaybeLocal<v8::Object>« nach »v8::Local<v8::Object>« umgewandelt werden\r\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\r\n                             ^\r\n../../nan/nan.h: In Funktion »v8::Local<v8::Object> NanBufferUse(char*, uint32_t)«:\r\n../../nan/nan.h:682:12: Fehler: »Use« ist kein Element von »node::Buffer«\r\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\r\n            ^\r\nmake: *** [Release/obj.target/runas/src/main.o] Fehler 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/share/atom/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\ngyp ERR! System Linux 4.2.5-1-ARCH\r\ngyp ERR! command \"node\" \"/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /tmp/apm-install-dir-1151015-9033-1mgp2qd/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! Linux 4.2.5-1-ARCH\r\nnpm ERR! argv \"/usr/share/atom/resources/app/apm/bin/node\" \"/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/home/phw/.atom/.apm/.apmrc\" \"--userconfig\" \"/home/phw/.atom/.apmrc\" \"install\" \"/tmp/d-1151015-9033-5njyvj/package.tgz\" \"--target=0.34.0\" \"--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!     /tmp/apm-install-dir-1151015-9033-1mgp2qd/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/comments/166785488","html_url":"https://github.com/danielgtaylor/atom-api-blueprint-preview/issues/45#issuecomment-166785488","issue_url":"https://api.github.com/repos/danielgtaylor/atom-api-blueprint-preview/issues/45","id":166785488,"user":{"login":"blizzardzheng","id":11224451,"avatar_url":"https://avatars.githubusercontent.com/u/11224451?v=3","gravatar_id":"","url":"https://api.github.com/users/blizzardzheng","html_url":"https://github.com/blizzardzheng","followers_url":"https://api.github.com/users/blizzardzheng/followers","following_url":"https://api.github.com/users/blizzardzheng/following{/other_user}","gists_url":"https://api.github.com/users/blizzardzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/blizzardzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blizzardzheng/subscriptions","organizations_url":"https://api.github.com/users/blizzardzheng/orgs","repos_url":"https://api.github.com/users/blizzardzheng/repos","events_url":"https://api.github.com/users/blizzardzheng/events{/privacy}","received_events_url":"https://api.github.com/users/blizzardzheng/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T02:11:43Z","updated_at":"2015-12-23T02:11:43Z","body":"any solution for this issue ？"}}