{"action":"opened","issue":{"url":"https://api.github.com/repos/clubhouse/project-analytics/issues/1","repository_url":"https://api.github.com/repos/clubhouse/project-analytics","labels_url":"https://api.github.com/repos/clubhouse/project-analytics/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/clubhouse/project-analytics/issues/1/comments","events_url":"https://api.github.com/repos/clubhouse/project-analytics/issues/1/events","html_url":"https://github.com/clubhouse/project-analytics/issues/1","id":245120540,"number":1,"title":"Missing `data` Directory on Fresh Clone.","user":{"login":"zrc210","id":6516660,"avatar_url":"https://avatars3.githubusercontent.com/u/6516660?v=4","gravatar_id":"","url":"https://api.github.com/users/zrc210","html_url":"https://github.com/zrc210","followers_url":"https://api.github.com/users/zrc210/followers","following_url":"https://api.github.com/users/zrc210/following{/other_user}","gists_url":"https://api.github.com/users/zrc210/gists{/gist_id}","starred_url":"https://api.github.com/users/zrc210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zrc210/subscriptions","organizations_url":"https://api.github.com/users/zrc210/orgs","repos_url":"https://api.github.com/users/zrc210/repos","events_url":"https://api.github.com/users/zrc210/events{/privacy}","received_events_url":"https://api.github.com/users/zrc210/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-24T15:35:39Z","updated_at":"2017-07-24T15:35:39Z","closed_at":null,"body":"This is a super minor issue, but for the less technically inclined, it can introduce unnecessary barriers.\r\n\r\nOn a fresh clone, the `data` directory does not exist.\r\n\r\nExecuting `node fetch.js all` results in the following top-level exception:\r\n\r\n```\r\nFetching projects...\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nError: ENOENT: no such file or directory, open 'data/projects.js'\r\n    at Object.fs.openSync (fs.js:582:18)\r\n    at Object.fs.writeFileSync (fs.js:1301:33)\r\n    at saveProjectsToFile (/.../project-analytics/fetch.js:210:6)\r\n    at Request._callback (/.../project-analytics/fetch.js:254:5)\r\n    at Request.self.callback (/.../project-analytics/node_modules/request/request.js:188:22)\r\n    at emitTwo (events.js:106:13)\r\n    at Request.emit (events.js:192:7)\r\n    at Request.<anonymous> (/.../project-analytics/node_modules/request/request.js:1171:10)\r\n    at emitOne (events.js:96:13)\r\n    at Request.emit (events.js:189:7)\r\n```\r\n\r\nThe `README.md` should be updated to include the step to create the directory. Or better yet, the repository should include the empty directory, with a `.gitignore`."}}
{"actor":{"display_login":"zrc210"}}