{"action":"closed","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-console/issues/88","repository_url":"https://api.github.com/repos/aws-amplify/amplify-console","labels_url":"https://api.github.com/repos/aws-amplify/amplify-console/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-console/issues/88/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-console/issues/88/events","html_url":"https://github.com/aws-amplify/amplify-console/issues/88","id":486554160,"node_id":"MDU6SXNzdWU0ODY1NTQxNjA=","number":88,"title":"Console broken again (probably related to aws-amplify/cli 2.0.0)","user":{"login":"houmark","id":467330,"node_id":"MDQ6VXNlcjQ2NzMzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/467330?v=4","gravatar_id":"","url":"https://api.github.com/users/houmark","html_url":"https://github.com/houmark","followers_url":"https://api.github.com/users/houmark/followers","following_url":"https://api.github.com/users/houmark/following{/other_user}","gists_url":"https://api.github.com/users/houmark/gists{/gist_id}","starred_url":"https://api.github.com/users/houmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houmark/subscriptions","organizations_url":"https://api.github.com/users/houmark/orgs","repos_url":"https://api.github.com/users/houmark/repos","events_url":"https://api.github.com/users/houmark/events{/privacy}","received_events_url":"https://api.github.com/users/houmark/received_events","type":"User","site_admin":false},"labels":[{"id":1499590130,"node_id":"MDU6TGFiZWwxNDk5NTkwMTMw","url":"https://api.github.com/repos/aws-amplify/amplify-console/labels/backend","name":"backend","color":"a407c4","default":false},{"id":1406873100,"node_id":"MDU6TGFiZWwxNDA2ODczMTAw","url":"https://api.github.com/repos/aws-amplify/amplify-console/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-08-28T18:59:06Z","updated_at":"2019-09-18T01:36:38Z","closed_at":"2019-09-18T01:36:38Z","author_association":"NONE","body":"**Describe the bug**\r\nSo once again my dev deployment broke in the Console.\r\n\r\nLast time my Console deployments broke, it was suggested that I use the \"Live package updates\" and set Amplify CLI to `latest`. It's been like that since.\r\n\r\nLate last night Amplify CLI released version 2.0.0. I'm not sure, but I believe that's the reason for my deployment issues in my `dev` environment.\r\n\r\nThe error I'm getting is:\r\n```\r\n                                 # Importing Amplify environment: dev (amplify env import)\r\n2019-08-28T07:47:44.284Z [INFO]: Successfully added environment from your project\r\n2019-08-28T07:47:44.336Z [INFO]: # Initializing existing Amplify environment: dev (amplify init)\r\n2019-08-28T07:47:47.905Z [INFO]: Note: It is recommended to run this command from the root of your app directory\r\n2019-08-28T07:47:48.800Z [WARNING]: - Initializing your environment: dev\r\n2019-08-28T07:47:49.325Z [WARNING]: ✔ Initialized provider successfully.\r\n2019-08-28T07:47:50.535Z [INFO]: Could not read cloudformation template at path: /codebuild/output/src398206400/src/my-amplify/amplify/backend/api/myapi/build/cloudformation-template.json\r\n2019-08-28T07:47:50.591Z [WARNING]: - Updating resources in the cloud. This may take a few minutes...\r\n2019-08-28T07:47:50.982Z [INFO]: Throttling: Rate exceeded\r\n                                 at Request.extractError (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/protocol/query.js:50:29)\r\n                                 at Request.callListeners (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:683:14)\r\n                                 at Request.transition (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)\r\n                                 at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n                                 at /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:685:12)\r\n                                 at Request.callListeners (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:683:14)\r\n                                 at Request.transition (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)\r\n                                 at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n                                 at /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)\r\n2019-08-28T07:47:50.985Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud\r\n2019-08-28T07:47:50.985Z [WARNING]: ✖ There was an error initializing your environment.\r\n2019-08-28T07:47:50.985Z [INFO]: init failed\r\n2019-08-28T07:47:50.987Z [INFO]: Error: Project stack doesn't exist\r\n                                 at Response.cfnModel.describeStacks (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js:248:22)\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:364:18)\r\n                                 at Request.callListeners (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:683:14)\r\n                                 at Request.transition (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)\r\n                                 at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n                                 at /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)\r\n                                 at Request.<anonymous> (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:685:12)\r\n                                 at Request.callListeners (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\r\n                                 at Request.emit (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:683:14)\r\n                                 at Request.transition (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)\r\n                                 at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n                                 at /root/.nvm/versions/node/v10.16.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n2019-08-28T07:47:51.033Z [ERROR]: !!! Build failed\r\n2019-08-28T07:47:51.034Z [ERROR]: !!! Non-Zero Exit Code detected\r\n2019-08-28T07:47:51.034Z [INFO]: # Starting environment caching...\r\n2019-08-28T07:47:51.034Z [INFO]: # Uploading environment cache artifact...\r\n2019-08-28T07:47:51.129Z [INFO]: # Environment caching completed\r\nTerminating logging...\r\n```\r\n\r\nMy `prod` environment is deploying without issues and seems to have no problems, but as the \"Live package updates\" feature is global, it's also using Amplify CLI 2.0.0 when deploying.\r\n\r\nI could do either:\r\n\r\n1) Force 1.12.0 for both dev and prod, but I'm afraid of side effects or issues when rolling dev back even though it seems to have failed before doing anything. And I am running CLI 2.0.0 in my terminal now also (did not push in the CLI since upgrading). But I can't stay on 1.12.0 forever, so this is merely a workaround.\r\n\r\n2) Push from the CLI using 2.0.0 and retry the Console deployment. Should I then `amplify env pull --restore` before?\r\n\r\nI don't understand why this keeps happening. Calling Amplify production stable is a stretch to me considering the amount of issues I've hit only in the past week or two. Unfortunately, I am using it in production, so I'm gonna have to hang around and work through this.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nAutomatic or manual deployment using the Amplify Console.\r\n\r\n**Expected behavior**\r\nThat it works.\r\n\r\n"}}
{"actor":{"display_login":"swaminator"}}