{"action":"created","issue":{"url":"https://api.github.com/repos/Gravebot/Gravebot/issues/142","repository_url":"https://api.github.com/repos/Gravebot/Gravebot","labels_url":"https://api.github.com/repos/Gravebot/Gravebot/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/Gravebot/Gravebot/issues/142/comments","events_url":"https://api.github.com/repos/Gravebot/Gravebot/issues/142/events","html_url":"https://github.com/Gravebot/Gravebot/issues/142","id":135565550,"number":142,"title":"Error: Cannot find module './dist'","user":{"login":"PhunStyle","id":6770468,"avatar_url":"https://avatars.githubusercontent.com/u/6770468?v=3","gravatar_id":"","url":"https://api.github.com/users/PhunStyle","html_url":"https://github.com/PhunStyle","followers_url":"https://api.github.com/users/PhunStyle/followers","following_url":"https://api.github.com/users/PhunStyle/following{/other_user}","gists_url":"https://api.github.com/users/PhunStyle/gists{/gist_id}","starred_url":"https://api.github.com/users/PhunStyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhunStyle/subscriptions","organizations_url":"https://api.github.com/users/PhunStyle/orgs","repos_url":"https://api.github.com/users/PhunStyle/repos","events_url":"https://api.github.com/users/PhunStyle/events{/privacy}","received_events_url":"https://api.github.com/users/PhunStyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T22:29:32Z","updated_at":"2016-02-22T22:41:15Z","closed_at":null,"body":"Since what i assume is commit 023529c66a0fe13fac9d3a876a182e1819d76a42 running the bot throws this:\r\n```\r\nmodule.js:327\r\n    throw err;\r\n    ^\r\nError: Cannot find module './dist'\r\n```\r\nThis was a fresh download from your bot, running node 4.2.4 and npm 2.14.12.\r\n\r\nI don't really know what the change was meant to do, but I temporarily fixed it by reverting it back to what the old index.js file was. This works for me:\r\n```\r\nconst chalk = require('chalk');\r\nconst moment = require('moment');\r\nconsole.log(chalk.cyan(`[${moment().format('YYYY-MM-DD HH:mm:ss')}] Booting...`));\r\n\r\n  require('babel-register');\r\n  require('./src/');\r\n```"},"comment":{"url":"https://api.github.com/repos/Gravebot/Gravebot/issues/comments/187421079","html_url":"https://github.com/Gravebot/Gravebot/issues/142#issuecomment-187421079","issue_url":"https://api.github.com/repos/Gravebot/Gravebot/issues/142","id":187421079,"user":{"login":"xnaas","id":8271327,"avatar_url":"https://avatars.githubusercontent.com/u/8271327?v=3","gravatar_id":"","url":"https://api.github.com/users/xnaas","html_url":"https://github.com/xnaas","followers_url":"https://api.github.com/users/xnaas/followers","following_url":"https://api.github.com/users/xnaas/following{/other_user}","gists_url":"https://api.github.com/users/xnaas/gists{/gist_id}","starred_url":"https://api.github.com/users/xnaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xnaas/subscriptions","organizations_url":"https://api.github.com/users/xnaas/orgs","repos_url":"https://api.github.com/users/xnaas/repos","events_url":"https://api.github.com/users/xnaas/events{/privacy}","received_events_url":"https://api.github.com/users/xnaas/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T22:41:15Z","updated_at":"2016-02-22T22:41:15Z","body":"After you run `npm install`, sometimes (all times for me), it never runs the postinstall stuff. Run `npm run build` after `npm install`. That does it for me every time."}}