{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2980","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2980/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2980/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2980/events","html_url":"https://github.com/nuxt/nuxt.js/issues/2980","id":303840004,"node_id":"MDU6SXNzdWUzMDM4NDAwMDQ=","number":2980,"title":"Dokku Failing on Async","user":{"login":"stevepop","id":526063,"node_id":"MDQ6VXNlcjUyNjA2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/526063?v=4","gravatar_id":"","url":"https://api.github.com/users/stevepop","html_url":"https://github.com/stevepop","followers_url":"https://api.github.com/users/stevepop/followers","following_url":"https://api.github.com/users/stevepop/following{/other_user}","gists_url":"https://api.github.com/users/stevepop/gists{/gist_id}","starred_url":"https://api.github.com/users/stevepop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevepop/subscriptions","organizations_url":"https://api.github.com/users/stevepop/orgs","repos_url":"https://api.github.com/users/stevepop/repos","events_url":"https://api.github.com/users/stevepop/events{/privacy}","received_events_url":"https://api.github.com/users/stevepop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-09T13:24:53Z","updated_at":"2018-11-01T09:11:35Z","closed_at":"2018-08-09T05:51:09Z","author_association":"NONE","body":"I am deploying my Nuxt App to a DigitalOcean droplet. The Build succeeds but then Dokku fails on deployment while referencing  async ready function. Please see errors below;\r\n```\r\n-----> Build succeeded!\r\n-----> Discovering process types\r\n       Default types for  -> web\r\n-----> Releasing intrinsic-home-website (dokku/intrinsic-home-website:latest)...\r\n-----> Deploying intrinsic-home-website (dokku/intrinsic-home-website:latest)...\r\n-----> Attempting to run scripts.dokku.predeploy from app.json (if defined)\r\n-----> Running 'npm run build' in app container\r\nremote: execution of 'npm run build' failed!\r\n       restoring installation cache...\r\n       > intrinsic-home-website@1.0.0 build /app\r\n       > nuxt build\r\n       /app/node_modules/nuxt/lib/core/module.js:14\r\n-----> Running 'npm run build' in app container\r\nremote: execution of 'npm run build' failed!\r\n       restoring installation cache...\r\n       > intrinsic-home-website@1.0.0 build /app\r\n       > nuxt build\r\n       /app/node_modules/nuxt/lib/core/module.js:14\r\n         async ready() {\r\n               ^^^^^\r\n       SyntaxError: Unexpected identifier\r\n           at createScript (vm.js:56:10)\r\n           at Object.runInThisContext (vm.js:97:10)\r\n           at Module._compile (module.js:549:28)\r\n           at Object.Module._extensions..js (module.js:586:10)\r\n           at Module.load (module.js:494:32)\r\n           at tryModuleLoad (module.js:453:12)\r\n           at Function.Module._load (module.js:445:3)\r\n           at Module.require (module.js:504:17)\r\n           at require (internal/module.js:20:19)\r\n           at Object.<anonymous> (/app/node_modules/nuxt/lib/core/index.js:2:16)\r\n       npm ERR! Linux 4.4.0-112-generic\r\n       npm ERR! argv \"/app/.heroku/node/bin/node\" \"/app/.heroku/node/bin/npm\" \"run\" \"build\"\r\n       npm ERR! node v6.13.1\r\n       npm ERR! npm  v3.10.10\r\n       npm ERR! code ELIFECYCLE\r\n       npm ERR! intrinsic-home-website@1.0.0 build: `nuxt build`\r\n       npm ERR! Exit status 1\r\n       npm ERR!\r\n       npm ERR! Failed at the intrinsic-home-website@1.0.0 build script 'nuxt build'.\r\n       npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n       npm ERR! If you do, this is most likely a problem with the intrinsic-home-website package,\r\n       npm ERR! not with npm itself.\r\n       npm ERR! Tell the author that this fails on your system:\r\n       npm ERR!     nuxt build\r\n       npm ERR! You can get information on how to open an issue for this project with:\r\n       npm ERR!     npm bugs intrinsic-home-website\r\n       npm ERR! Or if that isn't available, you can get their info via:\r\n       npm ERR!     npm owner ls intrinsic-home-website\r\n       npm ERR! There is likely additional logging output above.\r\n       npm ERR! Please include the following file with any support request:\r\n       npm ERR!     /app/npm-debug.log\r\nTo intrinsichomecareservice.com:intrinsic-home-website\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\n```\r\nAny pointers to resolve this?\r\n\r\nThanks\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This question is available on <a href=\"https://nuxtjs.cmty.io\">Nuxt.js</a> community (<a href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2585\">#c2585</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/434979139","html_url":"https://github.com/nuxt/nuxt.js/issues/2980#issuecomment-434979139","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/2980","id":434979139,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDk3OTEzOQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-01T09:11:35Z","updated_at":"2018-11-01T09:11:35Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}