{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2","id":80629760,"html_url":"https://github.com/TestArmada/magellan-cli/pull/2","diff_url":"https://github.com/TestArmada/magellan-cli/pull/2.diff","patch_url":"https://github.com/TestArmada/magellan-cli/pull/2.patch","issue_url":"https://api.github.com/repos/TestArmada/magellan-cli/issues/2","number":2,"state":"open","locked":false,"title":"Fix ENOENT error when installing globally","user":{"login":"karlhorky","id":1935696,"avatar_url":"https://avatars.githubusercontent.com/u/1935696?v=3","gravatar_id":"","url":"https://api.github.com/users/karlhorky","html_url":"https://github.com/karlhorky","followers_url":"https://api.github.com/users/karlhorky/followers","following_url":"https://api.github.com/users/karlhorky/following{/other_user}","gists_url":"https://api.github.com/users/karlhorky/gists{/gist_id}","starred_url":"https://api.github.com/users/karlhorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlhorky/subscriptions","organizations_url":"https://api.github.com/users/karlhorky/orgs","repos_url":"https://api.github.com/users/karlhorky/repos","events_url":"https://api.github.com/users/karlhorky/events{/privacy}","received_events_url":"https://api.github.com/users/karlhorky/received_events","type":"User","site_admin":false},"body":"I am getting this ENOENT error when installing globally:\r\n\r\n```bash\r\n$ npm i -g testarmada-magellan-cli\r\nnpm ERR! Darwin 15.6.0\r\nnpm ERR! argv \"/usr/local/Cellar/node5/5.11.1/bin/node\" \"/usr/local/bin/npm\" \"i\" \"-g\" \"testarmada-magellan-cli\"\r\nnpm ERR! node v5.11.1\r\nnpm ERR! npm  v3.10.5\r\nnpm ERR! path /usr/local/lib/node_modules/testarmada-magellan-cli/bin/magellan\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno -2\r\nnpm ERR! syscall chmod\r\n\r\nnpm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/testarmada-magellan-cli/bin/magellan'\r\nnpm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/testarmada-magellan-cli/bin/magellan'\r\nnpm ERR! enoent This is most likely not a problem with npm itself\r\nnpm ERR! enoent and is related to npm not being able to find a file.\r\nnpm ERR! enoent \r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /usr/local/lib/node_modules/npm-debug.log\r\n```\r\n\r\nI think this is because the `magellan` file in `bin/` is not included in the npm package, correct?","created_at":"2016-08-09T14:24:08Z","updated_at":"2016-08-09T14:24:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2/commits","review_comments_url":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2/comments","review_comment_url":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TestArmada/magellan-cli/issues/2/comments","statuses_url":"https://api.github.com/repos/TestArmada/magellan-cli/statuses/474ae8d673c2e86cb108ce761955e244871a32aa","head":{"label":"karlhorky:fix-enoent-error","ref":"fix-enoent-error","sha":"474ae8d673c2e86cb108ce761955e244871a32aa","user":{"login":"karlhorky","id":1935696,"avatar_url":"https://avatars.githubusercontent.com/u/1935696?v=3","gravatar_id":"","url":"https://api.github.com/users/karlhorky","html_url":"https://github.com/karlhorky","followers_url":"https://api.github.com/users/karlhorky/followers","following_url":"https://api.github.com/users/karlhorky/following{/other_user}","gists_url":"https://api.github.com/users/karlhorky/gists{/gist_id}","starred_url":"https://api.github.com/users/karlhorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlhorky/subscriptions","organizations_url":"https://api.github.com/users/karlhorky/orgs","repos_url":"https://api.github.com/users/karlhorky/repos","events_url":"https://api.github.com/users/karlhorky/events{/privacy}","received_events_url":"https://api.github.com/users/karlhorky/received_events","type":"User","site_admin":false},"repo":{"id":65300513,"name":"magellan-cli","full_name":"karlhorky/magellan-cli","owner":{"login":"karlhorky","id":1935696,"avatar_url":"https://avatars.githubusercontent.com/u/1935696?v=3","gravatar_id":"","url":"https://api.github.com/users/karlhorky","html_url":"https://github.com/karlhorky","followers_url":"https://api.github.com/users/karlhorky/followers","following_url":"https://api.github.com/users/karlhorky/following{/other_user}","gists_url":"https://api.github.com/users/karlhorky/gists{/gist_id}","starred_url":"https://api.github.com/users/karlhorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlhorky/subscriptions","organizations_url":"https://api.github.com/users/karlhorky/orgs","repos_url":"https://api.github.com/users/karlhorky/repos","events_url":"https://api.github.com/users/karlhorky/events{/privacy}","received_events_url":"https://api.github.com/users/karlhorky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karlhorky/magellan-cli","description":"Magellan CLI runner","fork":true,"url":"https://api.github.com/repos/karlhorky/magellan-cli","forks_url":"https://api.github.com/repos/karlhorky/magellan-cli/forks","keys_url":"https://api.github.com/repos/karlhorky/magellan-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karlhorky/magellan-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karlhorky/magellan-cli/teams","hooks_url":"https://api.github.com/repos/karlhorky/magellan-cli/hooks","issue_events_url":"https://api.github.com/repos/karlhorky/magellan-cli/issues/events{/number}","events_url":"https://api.github.com/repos/karlhorky/magellan-cli/events","assignees_url":"https://api.github.com/repos/karlhorky/magellan-cli/assignees{/user}","branches_url":"https://api.github.com/repos/karlhorky/magellan-cli/branches{/branch}","tags_url":"https://api.github.com/repos/karlhorky/magellan-cli/tags","blobs_url":"https://api.github.com/repos/karlhorky/magellan-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karlhorky/magellan-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karlhorky/magellan-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/karlhorky/magellan-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karlhorky/magellan-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/karlhorky/magellan-cli/languages","stargazers_url":"https://api.github.com/repos/karlhorky/magellan-cli/stargazers","contributors_url":"https://api.github.com/repos/karlhorky/magellan-cli/contributors","subscribers_url":"https://api.github.com/repos/karlhorky/magellan-cli/subscribers","subscription_url":"https://api.github.com/repos/karlhorky/magellan-cli/subscription","commits_url":"https://api.github.com/repos/karlhorky/magellan-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/karlhorky/magellan-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/karlhorky/magellan-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/karlhorky/magellan-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/karlhorky/magellan-cli/contents/{+path}","compare_url":"https://api.github.com/repos/karlhorky/magellan-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karlhorky/magellan-cli/merges","archive_url":"https://api.github.com/repos/karlhorky/magellan-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karlhorky/magellan-cli/downloads","issues_url":"https://api.github.com/repos/karlhorky/magellan-cli/issues{/number}","pulls_url":"https://api.github.com/repos/karlhorky/magellan-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/karlhorky/magellan-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/karlhorky/magellan-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karlhorky/magellan-cli/labels{/name}","releases_url":"https://api.github.com/repos/karlhorky/magellan-cli/releases{/id}","deployments_url":"https://api.github.com/repos/karlhorky/magellan-cli/deployments","created_at":"2016-08-09T14:14:10Z","updated_at":"2016-08-09T14:14:11Z","pushed_at":"2016-08-09T14:22:54Z","git_url":"git://github.com/karlhorky/magellan-cli.git","ssh_url":"git@github.com:karlhorky/magellan-cli.git","clone_url":"https://github.com/karlhorky/magellan-cli.git","svn_url":"https://github.com/karlhorky/magellan-cli","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TestArmada:master","ref":"master","sha":"eb08f52ebec137e330079f9c751f16c55e72ffc1","user":{"login":"TestArmada","id":13106639,"avatar_url":"https://avatars.githubusercontent.com/u/13106639?v=3","gravatar_id":"","url":"https://api.github.com/users/TestArmada","html_url":"https://github.com/TestArmada","followers_url":"https://api.github.com/users/TestArmada/followers","following_url":"https://api.github.com/users/TestArmada/following{/other_user}","gists_url":"https://api.github.com/users/TestArmada/gists{/gist_id}","starred_url":"https://api.github.com/users/TestArmada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TestArmada/subscriptions","organizations_url":"https://api.github.com/users/TestArmada/orgs","repos_url":"https://api.github.com/users/TestArmada/repos","events_url":"https://api.github.com/users/TestArmada/events{/privacy}","received_events_url":"https://api.github.com/users/TestArmada/received_events","type":"Organization","site_admin":false},"repo":{"id":43918165,"name":"magellan-cli","full_name":"TestArmada/magellan-cli","owner":{"login":"TestArmada","id":13106639,"avatar_url":"https://avatars.githubusercontent.com/u/13106639?v=3","gravatar_id":"","url":"https://api.github.com/users/TestArmada","html_url":"https://github.com/TestArmada","followers_url":"https://api.github.com/users/TestArmada/followers","following_url":"https://api.github.com/users/TestArmada/following{/other_user}","gists_url":"https://api.github.com/users/TestArmada/gists{/gist_id}","starred_url":"https://api.github.com/users/TestArmada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TestArmada/subscriptions","organizations_url":"https://api.github.com/users/TestArmada/orgs","repos_url":"https://api.github.com/users/TestArmada/repos","events_url":"https://api.github.com/users/TestArmada/events{/privacy}","received_events_url":"https://api.github.com/users/TestArmada/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TestArmada/magellan-cli","description":"Magellan CLI runner","fork":false,"url":"https://api.github.com/repos/TestArmada/magellan-cli","forks_url":"https://api.github.com/repos/TestArmada/magellan-cli/forks","keys_url":"https://api.github.com/repos/TestArmada/magellan-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TestArmada/magellan-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TestArmada/magellan-cli/teams","hooks_url":"https://api.github.com/repos/TestArmada/magellan-cli/hooks","issue_events_url":"https://api.github.com/repos/TestArmada/magellan-cli/issues/events{/number}","events_url":"https://api.github.com/repos/TestArmada/magellan-cli/events","assignees_url":"https://api.github.com/repos/TestArmada/magellan-cli/assignees{/user}","branches_url":"https://api.github.com/repos/TestArmada/magellan-cli/branches{/branch}","tags_url":"https://api.github.com/repos/TestArmada/magellan-cli/tags","blobs_url":"https://api.github.com/repos/TestArmada/magellan-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TestArmada/magellan-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TestArmada/magellan-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/TestArmada/magellan-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TestArmada/magellan-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/TestArmada/magellan-cli/languages","stargazers_url":"https://api.github.com/repos/TestArmada/magellan-cli/stargazers","contributors_url":"https://api.github.com/repos/TestArmada/magellan-cli/contributors","subscribers_url":"https://api.github.com/repos/TestArmada/magellan-cli/subscribers","subscription_url":"https://api.github.com/repos/TestArmada/magellan-cli/subscription","commits_url":"https://api.github.com/repos/TestArmada/magellan-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/TestArmada/magellan-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/TestArmada/magellan-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/TestArmada/magellan-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/TestArmada/magellan-cli/contents/{+path}","compare_url":"https://api.github.com/repos/TestArmada/magellan-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TestArmada/magellan-cli/merges","archive_url":"https://api.github.com/repos/TestArmada/magellan-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TestArmada/magellan-cli/downloads","issues_url":"https://api.github.com/repos/TestArmada/magellan-cli/issues{/number}","pulls_url":"https://api.github.com/repos/TestArmada/magellan-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/TestArmada/magellan-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/TestArmada/magellan-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TestArmada/magellan-cli/labels{/name}","releases_url":"https://api.github.com/repos/TestArmada/magellan-cli/releases{/id}","deployments_url":"https://api.github.com/repos/TestArmada/magellan-cli/deployments","created_at":"2015-10-08T21:51:17Z","updated_at":"2015-10-08T22:25:53Z","pushed_at":"2016-08-09T14:24:08Z","git_url":"git://github.com/TestArmada/magellan-cli.git","ssh_url":"git@github.com:TestArmada/magellan-cli.git","clone_url":"https://github.com/TestArmada/magellan-cli.git","svn_url":"https://github.com/TestArmada/magellan-cli","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2"},"html":{"href":"https://github.com/TestArmada/magellan-cli/pull/2"},"issue":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/issues/2"},"comments":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/TestArmada/magellan-cli/statuses/474ae8d673c2e86cb108ce761955e244871a32aa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"karlhorky"}}