{"action":"created","issue":{"url":"https://api.github.com/repos/flowtype/flow-bin/issues/45","repository_url":"https://api.github.com/repos/flowtype/flow-bin","labels_url":"https://api.github.com/repos/flowtype/flow-bin/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/flowtype/flow-bin/issues/45/comments","events_url":"https://api.github.com/repos/flowtype/flow-bin/issues/45/events","html_url":"https://github.com/flowtype/flow-bin/issues/45","id":172591143,"number":45,"title":"Error: Cannot find module './' after upgrading to flow 0.31.0","user":{"login":"irvinebroque","id":1221592,"avatar_url":"https://avatars.githubusercontent.com/u/1221592?v=3","gravatar_id":"","url":"https://api.github.com/users/irvinebroque","html_url":"https://github.com/irvinebroque","followers_url":"https://api.github.com/users/irvinebroque/followers","following_url":"https://api.github.com/users/irvinebroque/following{/other_user}","gists_url":"https://api.github.com/users/irvinebroque/gists{/gist_id}","starred_url":"https://api.github.com/users/irvinebroque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irvinebroque/subscriptions","organizations_url":"https://api.github.com/users/irvinebroque/orgs","repos_url":"https://api.github.com/users/irvinebroque/repos","events_url":"https://api.github.com/users/irvinebroque/events{/privacy}","received_events_url":"https://api.github.com/users/irvinebroque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T01:16:19Z","updated_at":"2016-08-23T01:22:24Z","closed_at":null,"body":"After upgrading to flow 0.31.0 (`npm install -g flow-bin`), running any flow command throws the following error:\r\n\r\n```\r\n➜  flow version\r\nmodule.js:457\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module './'\r\n    at Function.Module._resolveFilename (module.js:455:15)\r\n    at Function.Module._load (module.js:403:25)\r\n    at Module.require (module.js:483:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/brendan/.nvm/versions/node/v6.4.0/lib/node_modules/flow-bin/cli.js:14:11)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n```\r\n\r\nhttps://github.com/flowtype/flow-bin/blob/master/cli.js#L14\r\n\r\n`index.js` doesn't exist in the directory above:\r\n\r\n```\r\n➜  cd /Users/brendan/.nvm/versions/node/v6.4.0/lib/node_modules/flow-bin\r\n➜  ls\r\ncli.js       lib          license      node_modules package.json readme.md    vendor\r\n```"},"comment":{"url":"https://api.github.com/repos/flowtype/flow-bin/issues/comments/241600057","html_url":"https://github.com/flowtype/flow-bin/issues/45#issuecomment-241600057","issue_url":"https://api.github.com/repos/flowtype/flow-bin/issues/45","id":241600057,"user":{"login":"jeffmo","id":498293,"avatar_url":"https://avatars.githubusercontent.com/u/498293?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffmo","html_url":"https://github.com/jeffmo","followers_url":"https://api.github.com/users/jeffmo/followers","following_url":"https://api.github.com/users/jeffmo/following{/other_user}","gists_url":"https://api.github.com/users/jeffmo/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffmo/subscriptions","organizations_url":"https://api.github.com/users/jeffmo/orgs","repos_url":"https://api.github.com/users/jeffmo/repos","events_url":"https://api.github.com/users/jeffmo/events{/privacy}","received_events_url":"https://api.github.com/users/jeffmo/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T01:22:24Z","updated_at":"2016-08-23T01:22:24Z","body":"Yea, it's also in the directory I just ran `npm publish` from for 0.31... I'm pretty confused"}}
{"actor":{"display_login":"jeffmo"}}