{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/api-workbench/issues/4","labels_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/4/comments","events_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/4/events","html_url":"https://github.com/mulesoft/api-workbench/issues/4","id":114784140,"number":4,"title":"Installing api-workbench through Atom fails","user":{"login":"sichvoge","id":498114,"avatar_url":"https://avatars.githubusercontent.com/u/498114?v=3","gravatar_id":"","url":"https://api.github.com/users/sichvoge","html_url":"https://github.com/sichvoge","followers_url":"https://api.github.com/users/sichvoge/followers","following_url":"https://api.github.com/users/sichvoge/following{/other_user}","gists_url":"https://api.github.com/users/sichvoge/gists{/gist_id}","starred_url":"https://api.github.com/users/sichvoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sichvoge/subscriptions","organizations_url":"https://api.github.com/users/sichvoge/orgs","repos_url":"https://api.github.com/users/sichvoge/repos","events_url":"https://api.github.com/users/sichvoge/events{/privacy}","received_events_url":"https://api.github.com/users/sichvoge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mulesoft/api-workbench/labels/Atom","name":"Atom","color":"5319e7"},{"url":"https://api.github.com/repos/mulesoft/api-workbench/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mulesoft/api-workbench/labels/priority:critical","name":"priority:critical","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T10:23:58Z","updated_at":"2015-11-03T10:24:57Z","closed_at":null,"body":"I tried to install the workbench package through the atom and got the following error:\r\n\r\n```\r\n> spawn-sync@1.0.14 postinstall /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/spawn-sync\r\n> node postinstall\r\n​\r\nInstalling native dependencies (this may take up to a minute)\r\n​\r\n> runas@3.1.1 install /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/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\n> oniguruma@5.1.2 install /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma\r\n> node-gyp rebuild\r\n​\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regcomp.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regenc.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regerror.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regexec.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regext.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/reggnu.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regparse.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regposerr.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regposix.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regsyntax.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regtrav.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/regversion.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/st.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/ascii.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/big5.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/cp1251.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_jp.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_kr.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/euc_tw.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/gb18030.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_1.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_2.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_3.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_4.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_5.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_6.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_7.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_8.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_9.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_10.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_11.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_13.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_14.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_15.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/iso8859_16.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/koi8_r.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/mktable.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/sjis.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/unicode.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_be.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf16_le.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_be.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf32_le.o\r\n  CC(target) Release/obj.target/oniguruma/deps/onig/enc/utf8.o\r\n  LIBTOOL-STATIC Release/oniguruma.a\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-cache.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-result.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-reg-exp.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-scanner.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-scanner-worker.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-searcher.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/onig-string-context.o\r\n  CXX(target) Release/obj.target/onig_scanner/src/unicode-utils-posix.o\r\n  SOLINK_MODULE(target) Release/onig_scanner.node\r\n​\r\n> thread-sleep@1.0.4 install /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep\r\n> node-pre-gyp install --fallback-to-build\r\n​\r\nUnsupported target version: 0.30.7\r\n​\r\n> fsevents@1.0.2 install /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents\r\n> node-pre-gyp install --fallback-to-build\r\n​\r\nUnsupported target version: 0.30.7\r\n​\r\nnpm WARN peerDependencies The peer dependency webpack@^1.4.2 included from string-replace-webpack-plugin will no\r\nnpm WARN peerDependencies longer be automatically installed to fulfill the peerDependency \r\nnpm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.\r\nIn file included from ../src/main.cc:1:\r\nIn file included from ../../nan/nan.h:194:\r\n../../nan/nan_maybe_43_inl.h:9:2: error: unterminated conditional directive\r\n#ifndef NAN_MAYBE_43_INL_H_\r\n ^\r\n../../nan/nan_maybe_43_inl.h:137:15: error: no member named 'Ge' in 'v8::Object'\r\n  return obj->Ge\r\n         ~~~  ^\r\nIn file included from ../src/main.cc:1:\r\n../../nan/nan.h:200:10: fatal error: 'nan_new.h' file not found\r\n#include \"nan_new.h\"  // NOLINT(build/include)\r\n         ^\r\n3 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\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/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/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\nnode-pre-gyp ERR! install error \r\nnode-pre-gyp ERR! stack Error: Unsupported target version: 0.30.7\r\nnode-pre-gyp ERR! stack     at get_runtime_abi (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/lib/util/versioning.js:140:23)\r\nnode-pre-gyp ERR! stack     at Object.module.exports.evaluate (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/lib/util/versioning.js:249:19)\r\nnode-pre-gyp ERR! stack     at install (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/lib/install.js:138:31)\r\nnode-pre-gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/lib/node-pre-gyp.js:48:37)\r\nnode-pre-gyp ERR! stack     at run (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/bin/node-pre-gyp:79:30)\r\n​\r\nnode-pre-gyp ERR! stack     at Object.<anonymous> (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/node-pre-gyp/bin/node-pre-gyp:131:1)\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:456:26)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)\r\nnode-pre-gyp ERR! stack     at Module.load (module.js:356:32)\r\nnode-pre-gyp ERR! stack     at Function.Module._load (module.js:312:12)\r\nnode-pre-gyp ERR! System Darwin 15.0.0\r\nnode-pre-gyp ERR! command \"node\" \"/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/try-thread-sleep/node_modules/thread-sleep\r\nnode-pre-gyp ERR! node -v v0.10.40\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.9\r\nnode-pre-gyp ERR! not ok \r\nnode-pre-gyp ERR! install error \r\nnode-pre-gyp ERR! stack Error: Unsupported target version: 0.30.7\r\nnode-pre-gyp ERR! stack     at get_runtime_abi (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:156:23)\r\nnode-pre-gyp ERR! stack     at Object.module.exports.evaluate (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/versioning.js:265:19)\r\nnode-pre-gyp ERR! stack     at install (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/lib/install.js:138:31)\r\nnode-pre-gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/lib/node-pre-gyp.js:48:37)\r\nnode-pre-gyp ERR! stack     at run (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:79:30)\r\nnode-pre-gyp ERR! stack     at Object.<anonymous> (/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp:131:1)\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:456:26)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:474:10)\r\nnode-pre-gyp ERR! stack     at Module.load (module.js:356:32)\r\nnode-pre-gyp ERR! stack     at Function.Module._load (module.js:312:12)\r\nnode-pre-gyp ERR! System Darwin 15.0.0\r\nnode-pre-gyp ERR! command \"node\" \"/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/node_modules/api-workbench/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents\r\nnode-pre-gyp ERR! node -v v0.10.40\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.12\r\nnode-pre-gyp ERR! not ok \r\nnpm WARN optional dep failed, continuing thread-sleep@1.0.4\r\nnpm WARN optional dep failed, continuing fsevents@1.0.2\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/aldo.bucchi/.atom/.apm/.apmrc\" \"--userconfig\" \"/Users/aldo.bucchi/.atom/.apmrc\" \"install\" \"/private/var/folders/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/d-115103-96924-15tqn3i/package.tgz\" \"--target=0.30.7\" \"--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@3.1.1 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the runas@3.1.1 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/5k/2_8rmntd6sd9sg5yk9wmz0jc0000gp/T/apm-install-dir-115103-96924-1m1u9t8/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/mulesoft/api-workbench/issues/comments/153308869","html_url":"https://github.com/mulesoft/api-workbench/issues/4#issuecomment-153308869","issue_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/4","id":153308869,"user":{"login":"aldonline","id":154884,"avatar_url":"https://avatars.githubusercontent.com/u/154884?v=3","gravatar_id":"","url":"https://api.github.com/users/aldonline","html_url":"https://github.com/aldonline","followers_url":"https://api.github.com/users/aldonline/followers","following_url":"https://api.github.com/users/aldonline/following{/other_user}","gists_url":"https://api.github.com/users/aldonline/gists{/gist_id}","starred_url":"https://api.github.com/users/aldonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldonline/subscriptions","organizations_url":"https://api.github.com/users/aldonline/orgs","repos_url":"https://api.github.com/users/aldonline/repos","events_url":"https://api.github.com/users/aldonline/events{/privacy}","received_events_url":"https://api.github.com/users/aldonline/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T10:24:57Z","updated_at":"2015-11-03T10:24:57Z","body":"Did you try to `apm rebuild-module-cache`?"}}