{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/86","repository_url":"https://api.github.com/repos/Shopify/shopify-node-app","labels_url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/86/comments","events_url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/86/events","html_url":"https://github.com/Shopify/shopify-node-app/issues/86","id":287583666,"number":86,"title":"Deploy to Heroku gets me Application Error","user":{"login":"demomohawk","id":17303202,"avatar_url":"https://avatars1.githubusercontent.com/u/17303202?v=4","gravatar_id":"","url":"https://api.github.com/users/demomohawk","html_url":"https://github.com/demomohawk","followers_url":"https://api.github.com/users/demomohawk/followers","following_url":"https://api.github.com/users/demomohawk/following{/other_user}","gists_url":"https://api.github.com/users/demomohawk/gists{/gist_id}","starred_url":"https://api.github.com/users/demomohawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demomohawk/subscriptions","organizations_url":"https://api.github.com/users/demomohawk/orgs","repos_url":"https://api.github.com/users/demomohawk/repos","events_url":"https://api.github.com/users/demomohawk/events{/privacy}","received_events_url":"https://api.github.com/users/demomohawk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-10T21:29:37Z","updated_at":"2018-03-24T15:14:47Z","closed_at":null,"author_association":"NONE","body":"How can i deploy to Heroku successfully?\r\n\r\nI got the app on my localhost and exposed it with Ngrok. I was able to successfully install it on my development store.\r\n\r\nI can't seem to get it running on Heroku though. I followed the steps with heroku create - heroku push etc. as they state in their node.js documentation but I get an Application Error. I also have the Procfile to yarn run start.\r\n\r\n\r\n\r\n    `Starting process with command `yarn run start`\r\n    2018-01-10T21:08:19.364964+00:00 app[web.1]: $ node ./bin/www\r\n    2018-01-10T21:08:19.250726+00:00 app[web.1]: yarn run v1.3.2\r\n    2018-01-10T21:08:19.845487+00:00 app[web.1]:     ^\r\n    2018-01-10T21:08:19.845492+00:00 app[web.1]:     at Module.require (module.js:604:17)\r\n    2018-01-10T21:08:19.845466+00:00 app[web.1]: module.js:557\r\n    2018-01-10T21:08:19.845486+00:00 app[web.1]:     throw err;\r\n    2018-01-10T21:08:19.845489+00:00 app[web.1]: Error: Cannot find module 'webpack-dev-middleware'\r\n    2018-01-10T21:08:19.845491+00:00 app[web.1]:     at Function.Module._load (module.js:482:25)\r\n    2018-01-10T21:08:19.845493+00:00 app[web.1]:     at Object.<anonymous> (/app/server/index.js:12:27)\r\n    2018-01-10T21:08:19.845496+00:00 app[web.1]:     at Module.load (module.js:573:32)\r\n    2018-01-10T21:08:19.845488+00:00 app[web.1]:\r\n    2018-01-10T21:08:19.845490+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:555:15)\r\n    2018-01-10T21:08:19.845495+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:671:10)\r\n    2018-01-10T21:08:19.852436+00:00 app[web.1]: error Command failed with exit code 1.\r\n    2018-01-10T21:08:19.845494+00:00 app[web.1]:     at Module._compile (module.js:660:30)\r\n    2018-01-10T21:08:19.845492+00:00 app[web.1]:     at require (internal/module.js:11:18)\r\n    2018-01-10T21:08:19.845497+00:00 app[web.1]:     at tryModuleLoad (module.js:513:12)\r\n    2018-01-10T21:08:19.845497+00:00 app[web.1]:     at Function.Module._load (module.js:505:3)\r\n    2018-01-10T21:08:19.852636+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`\r\n\r\n    2018-01-10T21:36:20.535856+00:00 heroku[web.1]: Starting process with command `yarn run start`\r\n```\r\n2018-01-10T21:36:23.638998+00:00 app[web.1]: yarn run v1.3.2\r\n2018-01-10T21:36:23.765594+00:00 app[web.1]: $ node ./bin/www\r\n2018-01-10T21:36:24.562249+00:00 heroku[web.1]: Process exited with status 1\r\n2018-01-10T21:36:24.463060+00:00 app[web.1]:     throw err;\r\n2018-01-10T21:36:24.463065+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:555:15)\r\n2018-01-10T21:36:24.463070+00:00 app[web.1]:     at Module._compile (module.js:660:30)\r\n2018-01-10T21:36:24.463068+00:00 app[web.1]:     at require (internal/module.js:11:18)\r\n2018-01-10T21:36:24.463066+00:00 app[web.1]:     at Function.Module._load (module.js:482:25)\r\n2018-01-10T21:36:24.463061+00:00 app[web.1]:     ^\r\n2018-01-10T21:36:24.463074+00:00 app[web.1]:     at Function.Module._load (module.js:505:3)\r\n2018-01-10T21:36:24.463071+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:671:10)\r\n2018-01-10T21:36:24.463072+00:00 app[web.1]:     at Module.load (module.js:573:32)\r\n2018-01-10T21:36:24.473038+00:00 app[web.1]: error Command failed with exit code 1.\r\n2018-01-10T21:36:24.463047+00:00 app[web.1]: module.js:557\r\n2018-01-10T21:36:24.463069+00:00 app[web.1]:     at Object.<anonymous> (/app/server/index.js:12:27)\r\n2018-01-10T21:36:24.463062+00:00 app[web.1]:\r\n2018-01-10T21:36:24.463073+00:00 app[web.1]:     at tryModuleLoad (module.js:513:12)\r\n2018-01-10T21:36:24.463067+00:00 app[web.1]:     at Module.require (module.js:604:17)\r\n2018-01-10T21:36:24.463063+00:00 app[web.1]: Error: Cannot find module 'webpack-dev-middleware'\r\n2018-01-10T21:36:24.473283+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/comments/375896569","html_url":"https://github.com/Shopify/shopify-node-app/issues/86#issuecomment-375896569","issue_url":"https://api.github.com/repos/Shopify/shopify-node-app/issues/86","id":375896569,"user":{"login":"tinnguyenz","id":667815,"avatar_url":"https://avatars1.githubusercontent.com/u/667815?v=4","gravatar_id":"","url":"https://api.github.com/users/tinnguyenz","html_url":"https://github.com/tinnguyenz","followers_url":"https://api.github.com/users/tinnguyenz/followers","following_url":"https://api.github.com/users/tinnguyenz/following{/other_user}","gists_url":"https://api.github.com/users/tinnguyenz/gists{/gist_id}","starred_url":"https://api.github.com/users/tinnguyenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinnguyenz/subscriptions","organizations_url":"https://api.github.com/users/tinnguyenz/orgs","repos_url":"https://api.github.com/users/tinnguyenz/repos","events_url":"https://api.github.com/users/tinnguyenz/events{/privacy}","received_events_url":"https://api.github.com/users/tinnguyenz/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T15:14:47Z","updated_at":"2018-03-24T15:14:47Z","author_association":"NONE","body":"@rohanraj93 I believe you just posted deployment log, the log we're looking for is Application Log, found in https://dashboard.heroku.com/apps/<<your_app_name>>/logs"}}
{"actor":{"display_login":"tinnguyenz"}}