Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Failed to deploy #1596

Closed
raffibag opened this issue Feb 23, 2021 · 7 comments
Closed

App Failed to deploy #1596

raffibag opened this issue Feb 23, 2021 · 7 comments
Labels
archived This issue has been locked. bug Something isn't working deploy

Comments

@raffibag
Copy link

raffibag commented Feb 23, 2021

Describe the bug
When pushing latest git commit, the connected branch's app fails to deploy. There is, however, no detailed explanation. The deploy tab has only two lines in the terminal window:

2021-02-23T00:11:57 [INFO]: Starting Deployment
2021-02-23T00:11:57 [ERROR]: Failed to deploy

I have three branches connected: dev, test, and main. Looking at the main branch (which has not yet been merged with the new dev branch code), the Build tab shows the following processes have completed: "Cloning repository," "Backend," and "Frontend."

The failing deploy (dev branch) only shows "Cloning repository" under the Build tab. I noticed that the last line logged in the failed deploy "Cloning repository" log states:

2021-02-23T00:11:47.092Z [INFO]: # Unable to determine local version for @aws-amplify/cli, assuming 0.0

I can confirm that the Build Settings for the CLI are set to "latest"; and I have the latest CLI installed locally.

To Reproduce
Steps to reproduce the behavior:

  1. Edit front-end code locally;
  2. Commit code to git repo, dev branch;
  3. Push code to dev branch remote;
  4. Triggered build in AWS Amplify Console fails to deploy as itemized above.

Expected behavior
Expect the build to complete without issue.

Desktop (please complete the following information):

  • OS: MacOS Catalina (10.15.7)
  • Browser: Chrome
  • Version: 88.0.4324.182

UPDATE:

I created a new app in the Amplify Console, re-connected the Git repo to the new app and deployed without error, indicating it was not an issue with the repo. Rather, something might have changed between the last deploy - a couple months ago - and the most recent attempt at deploying. Will leave the issue open in case a) others are encountering the same issue; and b) so that the Amplify team can view and fix the issue.

@Athena96
Copy link
Contributor

Hi @raffibag can you please share your appId

@raffibag
Copy link
Author

Sure. It's d2y373ymnncpkf. Thank you.

@BrooksPatton
Copy link

We are also running into this issue. We have a Vue frontend application that is able to pass tests and build successfully. But just like the OP, we are getting

2021-03-11T16:58:29 [INFO]: Starting Deployment
2021-03-11T16:58:29 [ERROR]: Failed to deploy

as the only log in the deploy section. I'm not sure where to begin with debugging this.

@simpian
Copy link

simpian commented Sep 17, 2021

i'm having this issue as well as soon as I added test. Build and test are passing.
Can anyone please check what's going on?

arn:aws:amplify:us-east-2:506294172018:apps/d2nia5b95k9fww

@ghost ghost added bug Something isn't working deploy s2 labels Jan 27, 2023
@ghost ghost removed the s2 label Mar 17, 2023
@calavera
Copy link
Contributor

This behavior is not reproducible anymore. Closing the ticket.

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Feb 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. bug Something isn't working deploy
Projects
None yet
Development

No branches or pull requests

5 participants