{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/api-workbench/issues/28","labels_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/28/comments","events_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/28/events","html_url":"https://github.com/mulesoft/api-workbench/issues/28","id":114965522,"number":28,"title":"Error during api-workbench installation on Ubuntu","user":{"login":"eguider","id":3514896,"avatar_url":"https://avatars.githubusercontent.com/u/3514896?v=3","gravatar_id":"","url":"https://api.github.com/users/eguider","html_url":"https://github.com/eguider","followers_url":"https://api.github.com/users/eguider/followers","following_url":"https://api.github.com/users/eguider/following{/other_user}","gists_url":"https://api.github.com/users/eguider/gists{/gist_id}","starred_url":"https://api.github.com/users/eguider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguider/subscriptions","organizations_url":"https://api.github.com/users/eguider/orgs","repos_url":"https://api.github.com/users/eguider/repos","events_url":"https://api.github.com/users/eguider/events{/privacy}","received_events_url":"https://api.github.com/users/eguider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T04:10:32Z","updated_at":"2015-11-04T04:20:43Z","closed_at":null,"body":"I got the following error when installing workbench:\r\n\r\n```\r\nsudo apm install api-workbench\r\nInstalling api-workbench to /home/tboukhcha/.atom/packages ✗\r\n\r\n> spawn-sync@1.0.14 postinstall /tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/spawn-sync\r\n> node postinstall\r\n\r\n\r\n> runas@3.1.1 install /tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/pathwatcher/node_modules/runas\r\n> node-gyp rebuild\r\n\r\n\r\n> oniguruma@5.1.2 install /tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma\r\n> node-gyp rebuild\r\n\r\n\r\n\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module '/tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/spawn-sync/postinstall'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:935:3\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: EACCES, mkdir '/tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/pathwatcher/node_modules/runas/build'\r\ngyp ERR! System Linux 3.13.0-66-generic\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-115103-5956-ck4r1p/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\ngyp ERR! configure error \r\ngyp ERR! stack Error: EACCES, mkdir '/tmp/apm-install-dir-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma/build'\r\ngyp ERR! System Linux 3.13.0-66-generic\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-115103-5956-ck4r1p/node_modules/api-workbench/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma\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 3.13.0-66-generic\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/tboukhcha/.atom/.apm/.apmrc\" \"--userconfig\" \"/home/tboukhcha/.atom/.apmrc\" \"install\" \"/tmp/d-115103-5956-1190l7h/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! spawn-sync@1.0.14 postinstall: `node postinstall`\r\nnpm ERR! Exit status 8\r\nnpm ERR! \r\nnpm ERR! Failed at the spawn-sync@1.0.14 postinstall script 'node postinstall'.\r\nnpm ERR! This is most likely a problem with the spawn-sync package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node postinstall\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls spawn-sync\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-115103-5956-ck4r1p/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/mulesoft/api-workbench/issues/comments/153567384","html_url":"https://github.com/mulesoft/api-workbench/issues/28#issuecomment-153567384","issue_url":"https://api.github.com/repos/mulesoft/api-workbench/issues/28","id":153567384,"user":{"login":"eguider","id":3514896,"avatar_url":"https://avatars.githubusercontent.com/u/3514896?v=3","gravatar_id":"","url":"https://api.github.com/users/eguider","html_url":"https://github.com/eguider","followers_url":"https://api.github.com/users/eguider/followers","following_url":"https://api.github.com/users/eguider/following{/other_user}","gists_url":"https://api.github.com/users/eguider/gists{/gist_id}","starred_url":"https://api.github.com/users/eguider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguider/subscriptions","organizations_url":"https://api.github.com/users/eguider/orgs","repos_url":"https://api.github.com/users/eguider/repos","events_url":"https://api.github.com/users/eguider/events{/privacy}","received_events_url":"https://api.github.com/users/eguider/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T04:20:43Z","updated_at":"2015-11-04T04:20:43Z","body":"using the Atom packages installer, I got : \r\n![image](https://cloud.githubusercontent.com/assets/3514896/10929443/73dada8c-8281-11e5-93a8-c9dd72540ac1.png)\r\n"}}